/net/nfc/hci/ |
D | command.c | 31 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd_async() argument 35 pr_debug("exec cmd async through pipe=%d, cmd=%d, plen=%zd\n", pipe, in nfc_hci_execute_cmd_async() 41 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_COMMAND, cmd, in nfc_hci_execute_cmd_async() 67 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd() argument 77 pr_debug("exec cmd sync through pipe=%d, cmd=%d, plen=%zd\n", pipe, in nfc_hci_execute_cmd() 83 hcp_ew.exec_result = nfc_hci_hcp_message_tx(hdev, pipe, in nfc_hci_execute_cmd() 106 u8 pipe; in nfc_hci_send_event() local 110 pipe = hdev->gate2pipe[gate]; in nfc_hci_send_event() 111 if (pipe == NFC_HCI_INVALID_PIPE) in nfc_hci_send_event() 114 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_EVENT, event, in nfc_hci_send_event() [all …]
|
D | core.c | 144 u8 pipe; in nfc_hci_msg_rx_work() local 149 pipe = skb->data[0]; in nfc_hci_msg_rx_work() 156 nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, skb); in nfc_hci_msg_rx_work() 193 void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_cmd_received() argument 202 pr_debug("from pipe %x cmd %x\n", pipe, cmd); in nfc_hci_cmd_received() 204 if (pipe >= NFC_HCI_MAX_PIPES) { in nfc_hci_cmd_received() 209 gate = hdev->pipes[pipe].gate; in nfc_hci_cmd_received() 219 if (create_info->pipe >= NFC_HCI_MAX_PIPES) { in nfc_hci_cmd_received() 229 hdev->gate2pipe[create_info->dest_gate] = create_info->pipe; in nfc_hci_cmd_received() 230 hdev->pipes[create_info->pipe].gate = create_info->dest_gate; in nfc_hci_cmd_received() [all …]
|
D | hci.h | 25 u8 pipe; member 65 u8 pipe; member 69 u8 pipe; member 82 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, 88 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type,
|
D | hcp.c | 33 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, in nfc_hci_hcp_message_tx() argument 84 packet->header = pipe; in nfc_hci_hcp_message_tx() 131 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, in nfc_hci_hcp_message_rx() argument 139 nfc_hci_cmd_received(hdev, pipe, instruction, skb); in nfc_hci_hcp_message_rx() 142 nfc_hci_event_received(hdev, pipe, instruction, skb); in nfc_hci_hcp_message_rx()
|
/net/sunrpc/ |
D | rpc_pipe.c | 84 struct rpc_pipe *pipe = in rpc_timeout_upcall_queue() local 89 spin_lock(&pipe->lock); in rpc_timeout_upcall_queue() 90 destroy_msg = pipe->ops->destroy_msg; in rpc_timeout_upcall_queue() 91 if (pipe->nreaders == 0) { in rpc_timeout_upcall_queue() 92 list_splice_init(&pipe->pipe, &free_list); in rpc_timeout_upcall_queue() 93 pipe->pipelen = 0; in rpc_timeout_upcall_queue() 95 dentry = dget(pipe->dentry); in rpc_timeout_upcall_queue() 96 spin_unlock(&pipe->lock); in rpc_timeout_upcall_queue() 133 rpc_queue_upcall(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg) in rpc_queue_upcall() argument 138 spin_lock(&pipe->lock); in rpc_queue_upcall() [all …]
|
/net/nfc/nci/ |
D | hci.c | 32 u8 pipe; member 49 u8 pipe; member 53 u8 pipe; member 153 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, in nci_hci_send_data() argument 160 u8 cb = pipe; in nci_hci_send_data() 216 nci_hci_send_data(ndev, data->pipe, data->cmd, in nci_hci_send_data_req() 223 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event() local 225 if (pipe == NCI_HCI_INVALID_PIPE) in nci_hci_send_event() 228 return nci_hci_send_data(ndev, pipe, in nci_hci_send_event() 242 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd() local [all …]
|
/net/sunrpc/auth_gss/ |
D | auth_gss.c | 84 struct rpc_pipe *pipe; member 267 struct rpc_pipe *pipe; member 315 __gss_find_upcall(struct rpc_pipe *pipe, kuid_t uid, const struct gss_auth *auth) in __gss_find_upcall() argument 318 list_for_each_entry(pos, &pipe->in_downcall, list) { in __gss_find_upcall() 338 struct rpc_pipe *pipe = gss_msg->pipe; in gss_add_msg() local 341 spin_lock(&pipe->lock); in gss_add_msg() 342 old = __gss_find_upcall(pipe, gss_msg->uid, gss_msg->auth); in gss_add_msg() 345 list_add(&gss_msg->list, &pipe->in_downcall); in gss_add_msg() 348 spin_unlock(&pipe->lock); in gss_add_msg() 364 struct rpc_pipe *pipe = gss_msg->pipe; in gss_unhash_msg() local [all …]
|
/net/core/ |
D | skbuff.c | 1812 struct pipe_inode_info *pipe, struct page *page, in spd_fill_page() argument 1843 struct pipe_inode_info *pipe) in __splice_segment() argument 1862 if (spd_fill_page(spd, pipe, page, &flen, poff, in __splice_segment() 1877 static bool __skb_splice_bits(struct sk_buff *skb, struct pipe_inode_info *pipe, in __skb_splice_bits() argument 1893 sk, pipe)) in __skb_splice_bits() 1904 offset, len, spd, false, sk, pipe)) in __skb_splice_bits() 1912 struct pipe_inode_info *pipe, in skb_socket_splice() argument 1926 ret = splice_to_pipe(pipe, spd); in skb_socket_splice() 1939 struct pipe_inode_info *pipe, unsigned int tlen, in skb_splice_bits() argument 1962 if (__skb_splice_bits(skb, pipe, &offset, &tlen, &spd, sk)) in skb_splice_bits() [all …]
|
/net/unix/ |
D | af_unix.c | 2270 struct pipe_inode_info *pipe; member 2502 struct pipe_inode_info *pipe, in skb_unix_socket_splice() argument 2509 ret = splice_to_pipe(pipe, spd); in skb_unix_socket_splice() 2521 state->pipe, chunk, state->splice_flags, in unix_stream_splice_actor() 2526 struct pipe_inode_info *pipe, in unix_stream_splice_read() argument 2532 .pipe = pipe, in unix_stream_splice_read()
|
/net/ipv4/ |
D | tcp.c | 315 struct pipe_inode_info *pipe; member 701 ret = skb_splice_bits(skb, skb->sk, offset, tss->pipe, in tcp_splice_data_recv() 733 struct pipe_inode_info *pipe, size_t len, in tcp_splice_read() argument 738 .pipe = pipe, in tcp_splice_read()
|
/net/ |
D | socket.c | 133 struct pipe_inode_info *pipe, size_t len, 786 struct pipe_inode_info *pipe, size_t len, in sock_splice_read() argument 794 return sock->ops->splice_read(sock, ppos, pipe, len, flags); in sock_splice_read()
|