/Linux-v6.1/net/smc/ |
D | smc_cdc.c | 30 struct smc_connection *conn = cdcpend->conn; in smc_cdc_tx_handler() local 34 smc = container_of(conn, struct smc_sock, conn); in smc_cdc_tx_handler() 37 diff = smc_curs_diff(cdcpend->conn->sndbuf_desc->len, in smc_cdc_tx_handler() 38 &cdcpend->conn->tx_curs_fin, in smc_cdc_tx_handler() 42 atomic_add(diff, &cdcpend->conn->sndbuf_space); in smc_cdc_tx_handler() 45 smc_curs_copy(&conn->tx_curs_fin, &cdcpend->cursor, conn); in smc_cdc_tx_handler() 46 smc_curs_copy(&conn->local_tx_ctrl_fin, &cdcpend->p_cursor, in smc_cdc_tx_handler() 47 conn); in smc_cdc_tx_handler() 48 conn->tx_cdc_seq_fin = cdcpend->ctrl_seq; in smc_cdc_tx_handler() 51 if (atomic_dec_and_test(&conn->cdc_pend_tx_wr)) { in smc_cdc_tx_handler() [all …]
|
D | smc_tx.c | 48 if (atomic_read(&smc->conn.sndbuf_space) && sock) { in smc_tx_write_space() 50 SMC_STAT_RMB_TX_FULL(smc, !smc->conn.lnk); in smc_tx_write_space() 80 struct smc_connection *conn = &smc->conn; in smc_tx_wait() local 92 conn->killed || in smc_tx_wait() 93 conn->local_tx_ctrl.conn_state_flags.peer_done_writing) { in smc_tx_wait() 97 if (smc_cdc_rxed_any_close(conn)) { in smc_tx_wait() 112 if (atomic_read(&conn->sndbuf_space) && !conn->urg_tx_pend) in smc_tx_wait() 118 smc_cdc_rxed_any_close(conn) || in smc_tx_wait() 119 (atomic_read(&conn->sndbuf_space) && in smc_tx_wait() 120 !conn->urg_tx_pend), in smc_tx_wait() [all …]
|
D | smc_rx.c | 49 * @conn connection to update 58 struct smc_connection *conn = &smc->conn; in smc_rx_update_consumer() local 63 smc_curs_add(conn->rmb_desc->len, &cons, len); in smc_rx_update_consumer() 66 if (conn->urg_state == SMC_URG_VALID || conn->urg_rx_skip_pend) { in smc_rx_update_consumer() 67 diff = smc_curs_comp(conn->rmb_desc->len, &cons, in smc_rx_update_consumer() 68 &conn->urg_curs); in smc_rx_update_consumer() 73 conn->urg_state = SMC_URG_READ; in smc_rx_update_consumer() 79 smc_curs_add(conn->rmb_desc->len, &cons, 1); in smc_rx_update_consumer() 80 conn->urg_rx_skip_pend = false; in smc_rx_update_consumer() 83 conn->urg_state = SMC_URG_READ; in smc_rx_update_consumer() [all …]
|
D | smc_diag.c | 92 else if (smc_conn_lgr_valid(&smc->conn) && smc->conn.lgr->is_smcd) in __smc_diag_dump() 106 smc->conn.alert_token_local) { in __smc_diag_dump() 107 struct smc_connection *conn = &smc->conn; in __smc_diag_dump() local 109 .token = conn->alert_token_local, in __smc_diag_dump() 110 .sndbuf_size = conn->sndbuf_desc ? in __smc_diag_dump() 111 conn->sndbuf_desc->len : 0, in __smc_diag_dump() 112 .rmbe_size = conn->rmb_desc ? conn->rmb_desc->len : 0, in __smc_diag_dump() 113 .peer_rmbe_size = conn->peer_rmbe_size, in __smc_diag_dump() 115 .rx_prod.wrap = conn->local_rx_ctrl.prod.wrap, in __smc_diag_dump() 116 .rx_prod.count = conn->local_rx_ctrl.prod.count, in __smc_diag_dump() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | conn.c | 40 #include "fpga/conn.h" 48 static int mlx5_fpga_conn_map_buf(struct mlx5_fpga_conn *conn, in mlx5_fpga_conn_map_buf() argument 57 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_map_buf() 62 mlx5_fpga_warn(conn->fdev, "DMA error on sg 0: %d\n", err); in mlx5_fpga_conn_map_buf() 74 mlx5_fpga_warn(conn->fdev, "DMA error on sg 1: %d\n", err); in mlx5_fpga_conn_map_buf() 84 static void mlx5_fpga_conn_unmap_buf(struct mlx5_fpga_conn *conn, in mlx5_fpga_conn_unmap_buf() argument 89 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_unmap_buf() 99 static int mlx5_fpga_conn_post_recv(struct mlx5_fpga_conn *conn, in mlx5_fpga_conn_post_recv() argument 106 err = mlx5_fpga_conn_map_buf(conn, buf); in mlx5_fpga_conn_post_recv() 110 if (unlikely(conn->qp.rq.pc - conn->qp.rq.cc >= conn->qp.rq.size)) { in mlx5_fpga_conn_post_recv() [all …]
|
/Linux-v6.1/net/bluetooth/ |
D | hci_conn.c | 48 struct hci_conn *conn; member 71 static void hci_connect_le_scan_cleanup(struct hci_conn *conn) in hci_connect_le_scan_cleanup() argument 74 struct hci_dev *hdev = conn->hdev; in hci_connect_le_scan_cleanup() 79 bdaddr = &conn->dst; in hci_connect_le_scan_cleanup() 80 bdaddr_type = conn->dst_type; in hci_connect_le_scan_cleanup() 122 static void hci_conn_cleanup(struct hci_conn *conn) in hci_conn_cleanup() argument 124 struct hci_dev *hdev = conn->hdev; in hci_conn_cleanup() 126 if (test_bit(HCI_CONN_PARAM_REMOVAL_PEND, &conn->flags)) in hci_conn_cleanup() 127 hci_conn_params_del(conn->hdev, &conn->dst, conn->dst_type); in hci_conn_cleanup() 129 if (test_and_clear_bit(HCI_CONN_FLUSH_KEY, &conn->flags)) in hci_conn_cleanup() [all …]
|
D | hci_event.c | 170 struct hci_conn *conn; in hci_cc_role_discovery() local 179 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery() 180 if (conn) in hci_cc_role_discovery() 181 conn->role = rp->role; in hci_cc_role_discovery() 192 struct hci_conn *conn; in hci_cc_read_link_policy() local 201 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy() 202 if (conn) in hci_cc_read_link_policy() 203 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy() 214 struct hci_conn *conn; in hci_cc_write_link_policy() local 228 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_link_policy() [all …]
|
D | hci_sysfs.c | 13 struct hci_conn *conn = to_hci_conn(dev); in bt_link_release() local 14 kfree(conn); in bt_link_release() 23 * The rfcomm tty device will possibly retain even when conn 25 * so we should move the device before conn device is destroyed. 32 void hci_conn_init_sysfs(struct hci_conn *conn) in hci_conn_init_sysfs() argument 34 struct hci_dev *hdev = conn->hdev; in hci_conn_init_sysfs() 36 BT_DBG("conn %p", conn); in hci_conn_init_sysfs() 38 conn->dev.type = &bt_link; in hci_conn_init_sysfs() 39 conn->dev.class = bt_class; in hci_conn_init_sysfs() 40 conn->dev.parent = &hdev->dev; in hci_conn_init_sysfs() [all …]
|
D | iso.c | 64 struct iso_conn *conn; member 73 struct iso_conn *conn = container_of(work, struct iso_conn, in iso_sock_timeout() local 77 iso_conn_lock(conn); in iso_sock_timeout() 78 sk = conn->sk; in iso_sock_timeout() 81 iso_conn_unlock(conn); in iso_sock_timeout() 97 if (!iso_pi(sk)->conn) in iso_sock_set_timer() 101 cancel_delayed_work(&iso_pi(sk)->conn->timeout_work); in iso_sock_set_timer() 102 schedule_delayed_work(&iso_pi(sk)->conn->timeout_work, timeout); in iso_sock_set_timer() 107 if (!iso_pi(sk)->conn) in iso_sock_clear_timer() 111 cancel_delayed_work(&iso_pi(sk)->conn->timeout_work); in iso_sock_clear_timer() [all …]
|
/Linux-v6.1/net/rxrpc/ |
D | conn_object.c | 26 struct rxrpc_connection *conn = in rxrpc_connection_timer() local 29 rxrpc_queue_conn(conn); in rxrpc_connection_timer() 37 struct rxrpc_connection *conn; in rxrpc_alloc_connection() local 41 conn = kzalloc(sizeof(struct rxrpc_connection), gfp); in rxrpc_alloc_connection() 42 if (conn) { in rxrpc_alloc_connection() 43 INIT_LIST_HEAD(&conn->cache_link); in rxrpc_alloc_connection() 44 timer_setup(&conn->timer, &rxrpc_connection_timer, 0); in rxrpc_alloc_connection() 45 INIT_WORK(&conn->processor, &rxrpc_process_connection); in rxrpc_alloc_connection() 46 INIT_LIST_HEAD(&conn->proc_link); in rxrpc_alloc_connection() 47 INIT_LIST_HEAD(&conn->link); in rxrpc_alloc_connection() [all …]
|
D | conn_event.c | 22 static void rxrpc_conn_retransmit_call(struct rxrpc_connection *conn, in rxrpc_conn_retransmit_call() argument 42 _enter("%d", conn->debug_id); in rxrpc_conn_retransmit_call() 44 chan = &conn->channels[channel]; in rxrpc_conn_retransmit_call() 55 msg.msg_name = &conn->params.peer->srx.transport; in rxrpc_conn_retransmit_call() 56 msg.msg_namelen = conn->params.peer->srx.transport_len; in rxrpc_conn_retransmit_call() 68 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_conn_retransmit_call() 69 pkt.whdr.cid = htonl(conn->proto.cid | channel); in rxrpc_conn_retransmit_call() 73 pkt.whdr.flags = conn->out_clientflag; in rxrpc_conn_retransmit_call() 75 pkt.whdr.securityIndex = conn->security_ix; in rxrpc_conn_retransmit_call() 77 pkt.whdr.serviceId = htons(conn->service_id); in rxrpc_conn_retransmit_call() [all …]
|
D | conn_service.c | 30 struct rxrpc_connection *conn = NULL; in rxrpc_find_service_conn_rcu() local 48 conn = rb_entry(p, struct rxrpc_connection, service_node); in rxrpc_find_service_conn_rcu() 50 if (conn->proto.index_key < k.index_key) in rxrpc_find_service_conn_rcu() 52 else if (conn->proto.index_key > k.index_key) in rxrpc_find_service_conn_rcu() 56 conn = NULL; in rxrpc_find_service_conn_rcu() 61 _leave(" = %d", conn ? conn->debug_id : -1); in rxrpc_find_service_conn_rcu() 62 return conn; in rxrpc_find_service_conn_rcu() 70 struct rxrpc_connection *conn) in rxrpc_publish_service_conn() argument 73 struct rxrpc_conn_proto k = conn->proto; in rxrpc_publish_service_conn() 93 rb_link_node_rcu(&conn->service_node, parent, pp); in rxrpc_publish_service_conn() [all …]
|
D | conn_client.c | 51 static int rxrpc_get_client_connection_id(struct rxrpc_connection *conn, in rxrpc_get_client_connection_id() argument 54 struct rxrpc_net *rxnet = conn->params.local->rxnet; in rxrpc_get_client_connection_id() 62 id = idr_alloc_cyclic(&rxrpc_client_conn_ids, conn, in rxrpc_get_client_connection_id() 70 conn->proto.epoch = rxnet->epoch; in rxrpc_get_client_connection_id() 71 conn->proto.cid = id << RXRPC_CIDSHIFT; in rxrpc_get_client_connection_id() 72 set_bit(RXRPC_CONN_HAS_IDR, &conn->flags); in rxrpc_get_client_connection_id() 73 _leave(" [CID %x]", conn->proto.cid); in rxrpc_get_client_connection_id() 86 static void rxrpc_put_client_connection_id(struct rxrpc_connection *conn) in rxrpc_put_client_connection_id() argument 88 if (test_bit(RXRPC_CONN_HAS_IDR, &conn->flags)) { in rxrpc_put_client_connection_id() 91 conn->proto.cid >> RXRPC_CIDSHIFT); in rxrpc_put_client_connection_id() [all …]
|
/Linux-v6.1/fs/ksmbd/ |
D | connection.c | 28 * @conn: connection instance to be cleand up 30 * During the thread termination, the corresponding conn instance 31 * resources(sock/memory) are released and finally the conn object is freed. 33 void ksmbd_conn_free(struct ksmbd_conn *conn) in ksmbd_conn_free() argument 36 list_del(&conn->conns_list); in ksmbd_conn_free() 39 xa_destroy(&conn->sessions); in ksmbd_conn_free() 40 kvfree(conn->request_buf); in ksmbd_conn_free() 41 kfree(conn->preauth_info); in ksmbd_conn_free() 42 kfree(conn); in ksmbd_conn_free() 52 struct ksmbd_conn *conn; in ksmbd_conn_alloc() local [all …]
|
/Linux-v6.1/drivers/target/iscsi/ |
D | iscsi_target_login.c | 38 static struct iscsi_login *iscsi_login_init_conn(struct iscsit_conn *conn) in iscsi_login_init_conn() argument 47 conn->login = login; in iscsi_login_init_conn() 48 login->conn = conn; in iscsi_login_init_conn() 63 conn->conn_login = login; in iscsi_login_init_conn() 78 int iscsi_login_setup_crypto(struct iscsit_conn *conn) in iscsi_login_setup_crypto() argument 93 conn->conn_rx_hash = ahash_request_alloc(tfm, GFP_KERNEL); in iscsi_login_setup_crypto() 94 if (!conn->conn_rx_hash) { in iscsi_login_setup_crypto() 99 ahash_request_set_callback(conn->conn_rx_hash, 0, NULL, NULL); in iscsi_login_setup_crypto() 101 conn->conn_tx_hash = ahash_request_alloc(tfm, GFP_KERNEL); in iscsi_login_setup_crypto() 102 if (!conn->conn_tx_hash) { in iscsi_login_setup_crypto() [all …]
|
D | iscsi_target_util.c | 61 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T); in iscsit_add_r2t_to_list() 155 struct iscsit_cmd *iscsit_allocate_cmd(struct iscsit_conn *conn, int state) in iscsit_allocate_cmd() argument 158 struct se_session *se_sess = conn->sess->se_sess; in iscsit_allocate_cmd() 167 size = sizeof(struct iscsit_cmd) + conn->conn_transport->priv_size; in iscsit_allocate_cmd() 173 cmd->conn = conn; in iscsit_allocate_cmd() 285 int iscsit_sequence_cmd(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_sequence_cmd() argument 292 mutex_lock(&conn->sess->cmdsn_mutex); in iscsit_sequence_cmd() 294 cmdsn_ret = iscsit_check_received_cmdsn(conn->sess, be32_to_cpu(cmdsn)); in iscsit_sequence_cmd() 298 if ((ret >= 0) && !list_empty(&conn->sess->sess_ooo_cmdsn_list)) in iscsit_sequence_cmd() 299 iscsit_execute_ooo_cmdsns(conn->sess); in iscsit_sequence_cmd() [all …]
|
D | iscsi_target_nego.c | 100 static struct iscsi_node_auth *iscsi_get_node_auth(struct iscsit_conn *conn) in iscsi_get_node_auth() argument 106 if (conn->sess->sess_ops->SessionType) in iscsi_get_node_auth() 109 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_get_node_auth() 126 struct iscsit_conn *conn, in iscsi_handle_authentication() argument 135 auth = iscsi_get_node_auth(conn); in iscsi_handle_authentication() 140 strcpy(conn->sess->auth_type, "CHAP"); in iscsi_handle_authentication() 142 strcpy(conn->sess->auth_type, NONE); in iscsi_handle_authentication() 147 return chap_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication() 153 static void iscsi_remove_failed_auth_entry(struct iscsit_conn *conn) in iscsi_remove_failed_auth_entry() argument 155 kfree(conn->auth_protocol); in iscsi_remove_failed_auth_entry() [all …]
|
D | iscsi_target.c | 477 int iscsit_queue_rsp(struct iscsit_conn *conn, struct iscsit_cmd *cmd) in iscsit_queue_rsp() argument 479 return iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in iscsit_queue_rsp() 483 void iscsit_aborted_task(struct iscsit_conn *conn, struct iscsit_cmd *cmd) in iscsit_aborted_task() argument 485 spin_lock_bh(&conn->cmd_lock); in iscsit_aborted_task() 488 spin_unlock_bh(&conn->cmd_lock); in iscsit_aborted_task() 499 iscsit_xmit_nondatain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_xmit_nondatain_pdu() argument 511 if (conn->conn_ops->HeaderDigest) { in iscsit_xmit_nondatain_pdu() 514 iscsit_do_crypto_hash_buf(conn->conn_tx_hash, hdr, in iscsit_xmit_nondatain_pdu() 540 if (conn->conn_ops->DataDigest) { in iscsit_xmit_nondatain_pdu() 541 iscsit_do_crypto_hash_buf(conn->conn_tx_hash, in iscsit_xmit_nondatain_pdu() [all …]
|
D | iscsi_target_erl0.c | 34 struct iscsit_conn *conn = cmd->conn; in iscsit_set_dataout_sequence_values() local 42 conn->sess->sess_ops->FirstBurstLength); in iscsit_set_dataout_sequence_values() 46 if (!conn->sess->sess_ops->DataSequenceInOrder) in iscsit_set_dataout_sequence_values() 52 conn->sess->sess_ops->MaxBurstLength) ? in iscsit_set_dataout_sequence_values() 54 conn->sess->sess_ops->MaxBurstLength) : cmd->se_cmd.data_length; in iscsit_set_dataout_sequence_values() 58 conn->sess->sess_ops->MaxBurstLength) >= in iscsit_set_dataout_sequence_values() 61 conn->sess->sess_ops->MaxBurstLength); in iscsit_set_dataout_sequence_values() 69 struct iscsit_conn *conn = cmd->conn; in iscsit_dataout_within_command_recovery_check() local 85 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_dataout_within_command_recovery_check() 103 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_dataout_within_command_recovery_check() [all …]
|
/Linux-v6.1/drivers/gpu/drm/bridge/ |
D | display-connector.c | 46 struct display_connector *conn = to_display_connector(bridge); in display_connector_detect() local 48 if (conn->hpd_gpio) { in display_connector_detect() 49 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect() 55 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect() 58 switch (conn->bridge.type) { in display_connector_detect() 88 struct display_connector *conn = to_display_connector(bridge); in display_connector_get_edid() local 90 return drm_get_edid(connector, conn->bridge.ddc); in display_connector_get_edid() 110 struct drm_connector *conn = conn_state->connector; in display_connector_get_output_bus_fmts() local 118 if (conn->display_info.num_bus_formats && in display_connector_get_output_bus_fmts() 119 conn->display_info.bus_formats) in display_connector_get_output_bus_fmts() [all …]
|
/Linux-v6.1/drivers/s390/net/ |
D | netiucv.c | 168 struct iucv_connection *conn; member 179 struct iucv_connection *conn; member 246 static char *netiucv_printuser(struct iucv_connection *conn) in netiucv_printuser() argument 252 if (memcmp(conn->userdata, iucvMagic_ebcdic, 16)) { in netiucv_printuser() 255 memcpy(tmp_uid, netiucv_printname(conn->userid, 8), 8); in netiucv_printuser() 256 memcpy(tmp_udat, conn->userdata, 16); in netiucv_printuser() 262 return netiucv_printname(conn->userid, 8); in netiucv_printuser() 481 struct iucv_connection *conn = path->private; in netiucv_callback_rx() local 484 ev.conn = conn; in netiucv_callback_rx() 486 fsm_event(conn->fsm, CONN_EVENT_RX, &ev); in netiucv_callback_rx() [all …]
|
/Linux-v6.1/net/rds/ |
D | connection.c | 89 struct rds_connection *conn, *ret = NULL; in rds_conn_lookup() local 91 hlist_for_each_entry_rcu(conn, head, c_hash_node) { in rds_conn_lookup() 92 if (ipv6_addr_equal(&conn->c_faddr, faddr) && in rds_conn_lookup() 93 ipv6_addr_equal(&conn->c_laddr, laddr) && in rds_conn_lookup() 94 conn->c_trans == trans && in rds_conn_lookup() 95 conn->c_tos == tos && in rds_conn_lookup() 96 net == rds_conn_net(conn) && in rds_conn_lookup() 97 conn->c_dev_if == dev_if) { in rds_conn_lookup() 98 ret = conn; in rds_conn_lookup() 102 rdsdebug("returning conn %p for %pI6c -> %pI6c\n", ret, in rds_conn_lookup() [all …]
|
/Linux-v6.1/drivers/scsi/ |
D | libiscsi.c | 88 inline void iscsi_conn_queue_xmit(struct iscsi_conn *conn) in iscsi_conn_queue_xmit() argument 90 struct Scsi_Host *shost = conn->session->host; in iscsi_conn_queue_xmit() 94 queue_work(ihost->workq, &conn->xmitwork); in iscsi_conn_queue_xmit() 98 inline void iscsi_conn_queue_recv(struct iscsi_conn *conn) in iscsi_conn_queue_recv() argument 100 struct Scsi_Host *shost = conn->session->host; in iscsi_conn_queue_recv() 103 if (ihost->workq && !test_bit(ISCSI_CONN_FLAG_SUSPEND_RX, &conn->flags)) in iscsi_conn_queue_recv() 104 queue_work(ihost->workq, &conn->recvwork); in iscsi_conn_queue_recv() 149 struct iscsi_conn *conn = task->conn; in iscsi_prep_data_out_pdu() local 163 if (left > conn->max_xmit_dlength) { in iscsi_prep_data_out_pdu() 164 hton24(hdr->dlength, conn->max_xmit_dlength); in iscsi_prep_data_out_pdu() [all …]
|
D | iscsi_tcp.c | 87 struct iscsi_conn *conn = rd_desc->arg.data; in iscsi_sw_tcp_recv() local 91 ISCSI_SW_TCP_DBG(conn, "in %d bytes\n", skb->len - offset); in iscsi_sw_tcp_recv() 95 consumed = iscsi_tcp_recv_skb(conn, skb, offset, 0, &status); in iscsi_sw_tcp_recv() 100 ISCSI_SW_TCP_DBG(conn, "read %d bytes status %d\n", in iscsi_sw_tcp_recv() 117 struct iscsi_conn *conn = sk->sk_user_data; in iscsi_sw_sk_state_check() local 120 (conn->session->state != ISCSI_STATE_LOGGING_OUT) && in iscsi_sw_sk_state_check() 122 ISCSI_SW_TCP_DBG(conn, "TCP_CLOSE|TCP_CLOSE_WAIT\n"); in iscsi_sw_sk_state_check() 123 iscsi_conn_failure(conn, ISCSI_ERR_TCP_CONN_CLOSE); in iscsi_sw_sk_state_check() 129 static void iscsi_sw_tcp_recv_data(struct iscsi_conn *conn) in iscsi_sw_tcp_recv_data() argument 131 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in iscsi_sw_tcp_recv_data() [all …]
|
/Linux-v6.1/fs/notify/ |
D | mark.c | 100 static __u32 *fsnotify_conn_mask_p(struct fsnotify_mark_connector *conn) in fsnotify_conn_mask_p() argument 102 if (conn->type == FSNOTIFY_OBJ_TYPE_INODE) in fsnotify_conn_mask_p() 103 return &fsnotify_conn_inode(conn)->i_fsnotify_mask; in fsnotify_conn_mask_p() 104 else if (conn->type == FSNOTIFY_OBJ_TYPE_VFSMOUNT) in fsnotify_conn_mask_p() 105 return &fsnotify_conn_mount(conn)->mnt_fsnotify_mask; in fsnotify_conn_mask_p() 106 else if (conn->type == FSNOTIFY_OBJ_TYPE_SB) in fsnotify_conn_mask_p() 107 return &fsnotify_conn_sb(conn)->s_fsnotify_mask; in fsnotify_conn_mask_p() 111 __u32 fsnotify_conn_mask(struct fsnotify_mark_connector *conn) in fsnotify_conn_mask() argument 113 if (WARN_ON(!fsnotify_valid_obj_type(conn->type))) in fsnotify_conn_mask() 116 return *fsnotify_conn_mask_p(conn); in fsnotify_conn_mask() [all …]
|