Home
last modified time | relevance | path

Searched refs:conn (Results 1 – 25 of 42) sorted by relevance

12

/linux-4.19.296/fs/notify/
Dmark.c112 static __u32 *fsnotify_conn_mask_p(struct fsnotify_mark_connector *conn) in fsnotify_conn_mask_p() argument
114 if (conn->type == FSNOTIFY_OBJ_TYPE_INODE) in fsnotify_conn_mask_p()
115 return &fsnotify_conn_inode(conn)->i_fsnotify_mask; in fsnotify_conn_mask_p()
116 else if (conn->type == FSNOTIFY_OBJ_TYPE_VFSMOUNT) in fsnotify_conn_mask_p()
117 return &fsnotify_conn_mount(conn)->mnt_fsnotify_mask; in fsnotify_conn_mask_p()
121 __u32 fsnotify_conn_mask(struct fsnotify_mark_connector *conn) in fsnotify_conn_mask() argument
123 if (WARN_ON(!fsnotify_valid_obj_type(conn->type))) in fsnotify_conn_mask()
126 return *fsnotify_conn_mask_p(conn); in fsnotify_conn_mask()
129 static void __fsnotify_recalc_mask(struct fsnotify_mark_connector *conn) in __fsnotify_recalc_mask() argument
134 assert_spin_locked(&conn->lock); in __fsnotify_recalc_mask()
[all …]
Dfsnotify.h13 struct fsnotify_mark_connector *conn) in fsnotify_conn_inode() argument
15 return container_of(conn->obj, struct inode, i_fsnotify_marks); in fsnotify_conn_inode()
19 struct fsnotify_mark_connector *conn) in fsnotify_conn_mount() argument
21 return container_of(conn->obj, struct mount, mnt_fsnotify_marks); in fsnotify_conn_mount()
Dfsnotify.c244 struct fsnotify_mark_connector *conn; in fsnotify_first_mark() local
247 conn = srcu_dereference(*connp, &fsnotify_mark_srcu); in fsnotify_first_mark()
248 if (conn) in fsnotify_first_mark()
249 node = srcu_dereference(conn->list.first, &fsnotify_mark_srcu); in fsnotify_first_mark()
/linux-4.19.296/drivers/s390/net/
Dnetiucv.c203 struct iucv_connection *conn; member
214 struct iucv_connection *conn; member
282 static char *netiucv_printuser(struct iucv_connection *conn) in netiucv_printuser() argument
288 if (memcmp(conn->userdata, iucvMagic_ebcdic, 16)) { in netiucv_printuser()
291 memcpy(tmp_uid, netiucv_printname(conn->userid, 8), 8); in netiucv_printuser()
292 memcpy(tmp_udat, conn->userdata, 16); in netiucv_printuser()
298 return netiucv_printname(conn->userid, 8); in netiucv_printuser()
517 struct iucv_connection *conn = path->private; in netiucv_callback_rx() local
520 ev.conn = conn; in netiucv_callback_rx()
522 fsm_event(conn->fsm, CONN_EVENT_RX, &ev); in netiucv_callback_rx()
[all …]
/linux-4.19.296/fs/ocfs2/
Dstack_o2cb.c200 static int o2cb_dlm_lock(struct ocfs2_cluster_connection *conn, in o2cb_dlm_lock() argument
212 status = dlmlock(conn->cc_lockspace, o2dlm_mode, &lksb->lksb_o2dlm, in o2cb_dlm_lock()
220 static int o2cb_dlm_unlock(struct ocfs2_cluster_connection *conn, in o2cb_dlm_unlock() argument
228 status = dlmunlock(conn->cc_lockspace, &lksb->lksb_o2dlm, in o2cb_dlm_unlock()
320 struct ocfs2_cluster_connection *conn = data; in o2dlm_eviction_cb() local
323 node_num, conn->cc_namelen, conn->cc_name); in o2dlm_eviction_cb()
325 conn->cc_recovery_handler(node_num, conn->cc_recovery_data); in o2dlm_eviction_cb()
328 static int o2cb_cluster_connect(struct ocfs2_cluster_connection *conn) in o2cb_cluster_connect() argument
336 BUG_ON(conn == NULL); in o2cb_cluster_connect()
337 BUG_ON(conn->cc_proto == NULL); in o2cb_cluster_connect()
[all …]
Dstack_user.c215 static int ocfs2_live_connection_attach(struct ocfs2_cluster_connection *conn, in ocfs2_live_connection_attach() argument
221 c->oc_conn = conn; in ocfs2_live_connection_attach()
689 static int user_dlm_lock(struct ocfs2_cluster_connection *conn, in user_dlm_lock() argument
702 ret = dlm_lock(conn->cc_lockspace, mode, &lksb->lksb_fsdlm, in user_dlm_lock()
709 static int user_dlm_unlock(struct ocfs2_cluster_connection *conn, in user_dlm_unlock() argument
715 ret = dlm_unlock(conn->cc_lockspace, lksb->lksb_fsdlm.sb_lkid, in user_dlm_unlock()
744 static int user_plock(struct ocfs2_cluster_connection *conn, in user_plock() argument
768 return dlm_posix_get(conn->cc_lockspace, ino, file, fl); in user_plock()
770 return dlm_posix_unlock(conn->cc_lockspace, ino, file, fl); in user_plock()
772 return dlm_posix_lock(conn->cc_lockspace, ino, file, cmd, fl); in user_plock()
[all …]
Dstackglue.h138 int (*connect)(struct ocfs2_cluster_connection *conn);
154 int (*disconnect)(struct ocfs2_cluster_connection *conn);
160 int (*this_node)(struct ocfs2_cluster_connection *conn,
173 int (*dlm_lock)(struct ocfs2_cluster_connection *conn,
189 int (*dlm_unlock)(struct ocfs2_cluster_connection *conn,
216 int (*plock)(struct ocfs2_cluster_connection *conn,
256 struct ocfs2_cluster_connection **conn);
267 struct ocfs2_cluster_connection **conn);
268 int ocfs2_cluster_disconnect(struct ocfs2_cluster_connection *conn,
271 int ocfs2_cluster_this_node(struct ocfs2_cluster_connection *conn,
[all …]
Dstackglue.c241 int ocfs2_dlm_lock(struct ocfs2_cluster_connection *conn, in ocfs2_dlm_lock() argument
249 lksb->lksb_conn = conn; in ocfs2_dlm_lock()
251 BUG_ON(lksb->lksb_conn != conn); in ocfs2_dlm_lock()
252 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags, in ocfs2_dlm_lock()
257 int ocfs2_dlm_unlock(struct ocfs2_cluster_connection *conn, in ocfs2_dlm_unlock() argument
263 return active_stack->sp_ops->dlm_unlock(conn, lksb, flags); in ocfs2_dlm_unlock()
301 int ocfs2_plock(struct ocfs2_cluster_connection *conn, u64 ino, in ocfs2_plock() argument
306 return active_stack->sp_ops->plock(conn, ino, file, cmd, fl); in ocfs2_plock()
320 struct ocfs2_cluster_connection **conn) in ocfs2_cluster_connect() argument
326 BUG_ON(conn == NULL); in ocfs2_cluster_connect()
[all …]
/linux-4.19.296/include/net/bluetooth/
Dhci_core.h520 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status);
521 void (*security_cfm_cb) (struct hci_conn *conn, u8 status);
522 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason);
528 struct hci_conn *conn; member
556 struct hci_conn *conn; member
686 static inline bool hci_conn_ssp_enabled(struct hci_conn *conn) in hci_conn_ssp_enabled() argument
688 struct hci_dev *hdev = conn->hdev; in hci_conn_ssp_enabled()
690 test_bit(HCI_CONN_SSP_ENABLED, &conn->flags); in hci_conn_ssp_enabled()
693 static inline bool hci_conn_sc_enabled(struct hci_conn *conn) in hci_conn_sc_enabled() argument
695 struct hci_dev *hdev = conn->hdev; in hci_conn_sc_enabled()
[all …]
Dl2cap.h494 struct l2cap_conn *conn; member
663 int (*probe) (struct l2cap_conn *conn, struct l2cap_user *user);
664 void (*remove) (struct l2cap_conn *conn, struct l2cap_user *user);
939 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
940 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
948 struct l2cap_conn *l2cap_conn_get(struct l2cap_conn *conn);
949 void l2cap_conn_put(struct l2cap_conn *conn);
951 int l2cap_register_user(struct l2cap_conn *conn, struct l2cap_user *user);
952 void l2cap_unregister_user(struct l2cap_conn *conn, struct l2cap_user *user);
/linux-4.19.296/include/scsi/
Dscsi_transport_iscsi.h101 int (*start_conn) (struct iscsi_cls_conn *conn);
102 void (*stop_conn) (struct iscsi_cls_conn *conn, int flag);
103 void (*destroy_conn) (struct iscsi_cls_conn *conn);
104 int (*set_param) (struct iscsi_cls_conn *conn, enum iscsi_param param,
108 int (*get_conn_param) (struct iscsi_cls_conn *conn,
117 int (*send_pdu) (struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
119 void (*get_stats) (struct iscsi_cls_conn *conn,
130 void (*parse_pdu_itt) (struct iscsi_conn *conn, itt_t itt,
182 extern void iscsi_conn_error_event(struct iscsi_cls_conn *conn,
184 extern void iscsi_conn_login_event(struct iscsi_cls_conn *conn,
[all …]
Dlibiscsi.h131 struct iscsi_conn *conn; /* used connection */ member
437 extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err);
444 extern void iscsi_suspend_tx(struct iscsi_conn *conn);
445 extern void iscsi_suspend_queue(struct iscsi_conn *conn);
446 extern void iscsi_conn_queue_work(struct iscsi_conn *conn);
Dlibiscsi_tcp.h98 extern int iscsi_tcp_recv_skb(struct iscsi_conn *conn, struct sk_buff *skb,
134 extern int iscsi_tcp_set_max_r2t(struct iscsi_conn *conn, char *buf);
/linux-4.19.296/drivers/media/dvb-core/
Ddvbdev.c245 if (dvbdev->adapter->conn) { in dvb_media_device_free()
246 media_device_unregister_entity(dvbdev->adapter->conn); in dvb_media_device_free()
247 kfree(dvbdev->adapter->conn); in dvb_media_device_free()
248 dvbdev->adapter->conn = NULL; in dvb_media_device_free()
639 struct media_entity *entity, *tuner = NULL, *demod = NULL, *conn; in dvb_create_media_graph() local
684 conn = kzalloc(sizeof(*conn), GFP_KERNEL); in dvb_create_media_graph()
685 if (!conn) in dvb_create_media_graph()
687 adap->conn = conn; in dvb_create_media_graph()
693 conn->flags = MEDIA_ENT_FL_CONNECTOR; in dvb_create_media_graph()
694 conn->function = MEDIA_ENT_F_CONN_RF; in dvb_create_media_graph()
[all …]
/linux-4.19.296/fs/ocfs2/dlmfs/
Duserdlm.c304 struct ocfs2_cluster_connection *conn = in user_dlm_unblock_lock() local
349 status = ocfs2_dlm_unlock(conn, &lockres->l_lksb, in user_dlm_unblock_lock()
386 status = ocfs2_dlm_lock(conn, new_level, &lockres->l_lksb, in user_dlm_unblock_lock()
431 struct ocfs2_cluster_connection *conn = in user_dlm_cluster_lock() local
494 status = ocfs2_dlm_lock(conn, level, &lockres->l_lksb, in user_dlm_cluster_lock()
615 struct ocfs2_cluster_connection *conn = in user_dlm_destroy_lock() local
656 status = ocfs2_dlm_unlock(conn, &lockres->l_lksb, DLM_LKF_VALBLK); in user_dlm_destroy_lock()
688 struct ocfs2_cluster_connection *conn; in user_dlm_register() local
693 NULL, &conn); in user_dlm_register()
697 return rc ? ERR_PTR(rc) : conn; in user_dlm_register()
[all …]
Ddlmfs.c474 struct ocfs2_cluster_connection *conn; in dlmfs_mkdir() local
494 conn = user_dlm_register(domain); in dlmfs_mkdir()
495 if (IS_ERR(conn)) { in dlmfs_mkdir()
496 status = PTR_ERR(conn); in dlmfs_mkdir()
501 ip->ip_conn = conn; in dlmfs_mkdir()
/linux-4.19.296/fs/nfsd/
Dnfs4callback.c770 static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn, struct nfsd4_s… in setup_callback_client() argument
780 .address = (struct sockaddr *) &conn->cb_addr, in setup_callback_client()
781 .addrsize = conn->cb_addrlen, in setup_callback_client()
782 .saddress = (struct sockaddr *) &conn->cb_saddr, in setup_callback_client()
796 args.prognumber = conn->cb_prog; in setup_callback_client()
799 clp->cl_cb_ident = conn->cb_ident; in setup_callback_client()
801 if (!conn->cb_xprt) in setup_callback_client()
804 args.bc_xprt = conn->cb_xprt; in setup_callback_client()
806 args.protocol = conn->cb_xprt->xpt_class->xcl_ident | in setup_callback_client()
824 clp->cl_cb_conn.cb_xprt = conn->cb_xprt; in setup_callback_client()
[all …]
/linux-4.19.296/drivers/gpio/
Dgpiolib-acpi.c962 struct acpi_gpio_connection *conn; in acpi_gpio_adr_space_handler() local
969 list_for_each_entry(conn, &achip->conns, node) { in acpi_gpio_adr_space_handler()
970 if (conn->pin == pin) { in acpi_gpio_adr_space_handler()
972 desc = conn->desc; in acpi_gpio_adr_space_handler()
1015 conn = kzalloc(sizeof(*conn), GFP_KERNEL); in acpi_gpio_adr_space_handler()
1016 if (!conn) { in acpi_gpio_adr_space_handler()
1023 conn->pin = pin; in acpi_gpio_adr_space_handler()
1024 conn->desc = desc; in acpi_gpio_adr_space_handler()
1025 list_add_tail(&conn->node, &achip->conns); in acpi_gpio_adr_space_handler()
1062 struct acpi_gpio_connection *conn, *tmp; in acpi_gpiochip_free_regions() local
[all …]
/linux-4.19.296/include/media/
Dcec-notifier.h37 const char *conn);
92 const char *conn) in cec_notifier_get_conn() argument
/linux-4.19.296/drivers/isdn/hardware/mISDN/
Dhfcpci.c100 unsigned char conn; member
281 hc->hw.conn = 0x09; in reset_hfcpci()
283 hc->hw.conn = 0x36; /* set data flow directions */ in reset_hfcpci()
296 Write_hfc(hc, HFCPCI_CONNECT, hc->hw.conn); in reset_hfcpci()
1354 hc->hw.conn &= ~0x18; in mode_hfcpci()
1361 hc->hw.conn &= ~0x03; in mode_hfcpci()
1383 hc->hw.conn &= ~0x18; in mode_hfcpci()
1390 hc->hw.conn &= ~0x03; in mode_hfcpci()
1413 hc->hw.conn &= 0xc7; in mode_hfcpci()
1414 hc->hw.conn |= 0x08; in mode_hfcpci()
[all …]
/linux-4.19.296/include/target/iscsi/
Discsi_target_core.h489 struct iscsi_conn *conn; member
719 struct iscsi_conn *conn; member
910 struct iscsi_conn *conn, in iscsit_thread_check_cpumask() argument
919 if (!conn->conn_tx_reset_cpumask) in iscsit_thread_check_cpumask()
921 conn->conn_tx_reset_cpumask = 0; in iscsit_thread_check_cpumask()
923 if (!conn->conn_rx_reset_cpumask) in iscsit_thread_check_cpumask()
925 conn->conn_rx_reset_cpumask = 0; in iscsit_thread_check_cpumask()
932 set_cpus_allowed_ptr(p, conn->conn_cpumask); in iscsit_thread_check_cpumask()
Discsi_transport.h63 iscsit_check_dataout_hdr(struct iscsi_conn *conn, void *buf,
134 iscsit_find_cmd_from_itt_or_dump(struct iscsi_conn *conn,
/linux-4.19.296/drivers/isdn/hisax/
Dhfc_sx.c404 cs->hw.hfcsx.conn = 0x36; /* set data flow directions */ in reset_hfcsx()
405 Write_hfc(cs, HFCSX_CONNECT, cs->hw.hfcsx.conn); in reset_hfcsx()
636 cs->hw.hfcsx.conn |= 0x10; /* B2-IOM -> B2-ST */ in hfcsx_auxcmd()
642 Write_hfc(cs, HFCSX_CONNECT, cs->hw.hfcsx.conn); in hfcsx_auxcmd()
978 cs->hw.hfcsx.conn = (cs->hw.hfcsx.conn & ~7) | 1; in HFCSX_l1hw()
979 Write_hfc(cs, HFCSX_CONNECT, cs->hw.hfcsx.conn); in HFCSX_l1hw()
984 cs->hw.hfcsx.conn = (cs->hw.hfcsx.conn & ~0x38) | 0x08; in HFCSX_l1hw()
985 Write_hfc(cs, HFCSX_CONNECT, cs->hw.hfcsx.conn); in HFCSX_l1hw()
1087 cs->hw.hfcsx.conn &= ~0x18; in mode_hfcsx()
1091 cs->hw.hfcsx.conn &= ~0x03; in mode_hfcsx()
[all …]
/linux-4.19.296/include/trace/events/
Drxrpc.h563 __field(unsigned int, conn )
570 __entry->conn = conn_debug_id;
577 __entry->conn,
584 TP_PROTO(struct rxrpc_connection *conn, int channel,
587 TP_ARGS(conn, channel, op),
590 __field(unsigned int, conn )
599 __entry->conn = conn->debug_id;
601 __entry->usage = atomic_read(&conn->usage);
603 __entry->cid = conn->proto.cid;
604 __entry->cs = conn->cache_state;
[all …]
/linux-4.19.296/include/linux/
Ddrbd.h270 unsigned conn:5 ; /* 17/32 cstates */ member
290 unsigned conn:5 ; /* 17/32 cstates */

12