/net/can/ |
D | bcm.c | 199 struct bcm_op *op; in bcm_proc_show() local 208 list_for_each_entry(op, &bo->rx_ops, list) { in bcm_proc_show() 213 if (!op->frames_abs) in bcm_proc_show() 216 seq_printf(m, "rx_op: %03X %-5s ", op->can_id, in bcm_proc_show() 217 bcm_proc_getifname(net, ifname, op->ifindex)); in bcm_proc_show() 219 if (op->flags & CAN_FD_FRAME) in bcm_proc_show() 220 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show() 222 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show() 224 seq_printf(m, "%c ", (op->flags & RX_CHECK_DLC) ? 'd' : ' '); in bcm_proc_show() 226 if (op->kt_ival1) in bcm_proc_show() [all …]
|
/net/rds/ |
D | ib_send.c | 74 struct rm_data_op *op, in rds_ib_send_unmap_data() argument 77 if (op->op_nents) in rds_ib_send_unmap_data() 79 op->op_sg, op->op_nents, in rds_ib_send_unmap_data() 84 struct rm_rdma_op *op, in rds_ib_send_unmap_rdma() argument 87 if (op->op_mapped) { in rds_ib_send_unmap_rdma() 89 op->op_sg, op->op_nents, in rds_ib_send_unmap_rdma() 90 op->op_write ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in rds_ib_send_unmap_rdma() 91 op->op_mapped = 0; in rds_ib_send_unmap_rdma() 114 rds_ib_send_complete(container_of(op, struct rds_message, rdma), in rds_ib_send_unmap_rdma() 117 if (op->op_write) in rds_ib_send_unmap_rdma() [all …]
|
D | rdma.c | 616 struct rm_rdma_op *op = &rm->rdma; in rds_cmsg_rdma_args() local 663 op->op_write = !!(args->flags & RDS_RDMA_READWRITE); in rds_cmsg_rdma_args() 664 op->op_fence = !!(args->flags & RDS_RDMA_FENCE); in rds_cmsg_rdma_args() 665 op->op_notify = !!(args->flags & RDS_RDMA_NOTIFY_ME); in rds_cmsg_rdma_args() 666 op->op_silent = !!(args->flags & RDS_RDMA_SILENT); in rds_cmsg_rdma_args() 667 op->op_active = 1; in rds_cmsg_rdma_args() 668 op->op_recverr = rs->rs_recverr; in rds_cmsg_rdma_args() 669 op->op_odp_mr = NULL; in rds_cmsg_rdma_args() 672 op->op_sg = rds_message_alloc_sgs(rm, nr_pages); in rds_cmsg_rdma_args() 673 if (IS_ERR(op->op_sg)) { in rds_cmsg_rdma_args() [all …]
|
/net/netlink/ |
D | genetlink.c | 116 unsigned int i, struct genl_ops *op) in genl_op_from_full() argument 118 *op = family->ops[i]; in genl_op_from_full() 120 if (!op->maxattr) in genl_op_from_full() 121 op->maxattr = family->maxattr; in genl_op_from_full() 122 if (!op->policy) in genl_op_from_full() 123 op->policy = family->policy; in genl_op_from_full() 127 struct genl_ops *op) in genl_get_cmd_full() argument 133 genl_op_from_full(family, i, op); in genl_get_cmd_full() 141 unsigned int i, struct genl_ops *op) in genl_op_from_small() argument 143 memset(op, 0, sizeof(*op)); in genl_op_from_small() [all …]
|
/net/rxrpc/ |
D | skbuff.c | 23 void rxrpc_new_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) in rxrpc_new_skb() argument 27 trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, in rxrpc_new_skb() 34 void rxrpc_see_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) in rxrpc_see_skb() argument 39 trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, in rxrpc_see_skb() 47 void rxrpc_get_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) in rxrpc_get_skb() argument 51 trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, in rxrpc_get_skb() 59 void rxrpc_eaten_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) in rxrpc_eaten_skb() argument 63 trace_rxrpc_skb(skb, op, 0, n, 0, here); in rxrpc_eaten_skb() 69 void rxrpc_free_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) in rxrpc_free_skb() argument 75 trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, in rxrpc_free_skb()
|
/net/netfilter/ |
D | xt_tcpmss.c | 31 const u_int8_t *op; in tcpmss_mt() local 49 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); in tcpmss_mt() 50 if (op == NULL) in tcpmss_mt() 54 if (op[i] == TCPOPT_MSS in tcpmss_mt() 56 && op[i+1] == TCPOLEN_MSS) { in tcpmss_mt() 59 mssval = (op[i+2] << 8) | op[i+3]; in tcpmss_mt() 64 if (op[i] < 2) in tcpmss_mt() 67 i += op[i+1] ? : 1; in tcpmss_mt()
|
D | nft_cmp.c | 23 enum nft_cmp_ops op:8; member 34 switch (priv->op) { in nft_cmp_eval() 90 priv->op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_init() 101 if (nla_put_be32(skb, NFTA_CMP_OP, htonl(priv->op))) in nft_cmp_dump() 148 if (priv->op != NFT_CMP_EQ || priv->len > reg->len) in __nft_cmp_offload() 237 .op = priv->inv ? NFT_CMP_NEQ : NFT_CMP_EQ, in nft_cmp_fast_offload() 246 enum nft_cmp_ops op = priv->inv ? NFT_CMP_NEQ : NFT_CMP_EQ; in nft_cmp_fast_dump() 251 if (nla_put_be32(skb, NFTA_CMP_OP, htonl(op))) in nft_cmp_fast_dump() 330 .op = priv->inv ? NFT_CMP_NEQ : NFT_CMP_EQ, in nft_cmp16_fast_offload() 339 enum nft_cmp_ops op = priv->inv ? NFT_CMP_NEQ : NFT_CMP_EQ; in nft_cmp16_fast_dump() [all …]
|
D | nft_range.c | 20 enum nft_range_ops op:8; member 31 switch (priv->op) { in nft_range_eval() 63 u32 op; in nft_range_init() local 91 err = nft_parse_u32_check(tb[NFTA_RANGE_OP], U8_MAX, &op); in nft_range_init() 95 switch (op) { in nft_range_init() 104 priv->op = op; in nft_range_init() 120 if (nla_put_be32(skb, NFTA_RANGE_OP, htonl(priv->op))) in nft_range_dump()
|
D | nf_conntrack_seqadj.c | 137 unsigned char *op = skb->data + optoff; in nf_ct_sack_adjust() local 139 switch (op[0]) { in nf_ct_sack_adjust() 148 optoff + op[1] > optend || in nf_ct_sack_adjust() 149 op[1] < 2) in nf_ct_sack_adjust() 151 if (op[0] == TCPOPT_SACK && in nf_ct_sack_adjust() 152 op[1] >= 2+TCPOLEN_SACK_PERBLOCK && in nf_ct_sack_adjust() 153 ((op[1] - 2) % TCPOLEN_SACK_PERBLOCK) == 0) in nf_ct_sack_adjust() 155 optoff+op[1], in nf_ct_sack_adjust() 157 optoff += op[1]; in nf_ct_sack_adjust()
|
D | nft_byteorder.c | 21 enum nft_byteorder_ops op:8; member 44 switch (priv->op) { in nft_byteorder_eval() 62 switch (priv->op) { in nft_byteorder_eval() 74 switch (priv->op) { in nft_byteorder_eval() 111 priv->op = ntohl(nla_get_be32(tb[NFTA_BYTEORDER_OP])); in nft_byteorder_init() 112 switch (priv->op) { in nft_byteorder_init() 159 if (nla_put_be32(skb, NFTA_BYTEORDER_OP, htonl(priv->op))) in nft_byteorder_dump()
|
D | xt_dccp.c | 41 const unsigned char *op; in dccp_find_option() local 53 op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); in dccp_find_option() 54 if (op == NULL) { in dccp_find_option() 60 if (op[i] == option) { in dccp_find_option() 65 if (op[i] < 2) in dccp_find_option() 68 i += op[i+1]?:1; in dccp_find_option()
|
D | xt_tcpudp.c | 40 const u_int8_t *op; in tcp_find_option() local 50 op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), in tcp_find_option() 52 if (op == NULL) { in tcp_find_option() 58 if (op[i] == option) return !invert; in tcp_find_option() 59 if (op[i] < 2) i++; in tcp_find_option() 60 else i += op[i+1]?:1; in tcp_find_option()
|
D | nft_exthdr.c | 23 u8 op; member 427 u32 offset, len, flags = 0, op = NFT_EXTHDR_OP_IPV6; in nft_exthdr_init() local 454 err = nft_parse_u32_check(tb[NFTA_EXTHDR_OP], U8_MAX, &op); in nft_exthdr_init() 463 priv->op = op; in nft_exthdr_init() 475 u32 offset, len, flags = 0, op = NFT_EXTHDR_OP_IPV6; in nft_exthdr_tcp_set_init() local 505 err = nft_parse_u32_check(tb[NFTA_EXTHDR_OP], U8_MAX, &op); in nft_exthdr_tcp_set_init() 513 priv->op = op; in nft_exthdr_tcp_set_init() 536 priv->op = NFT_EXTHDR_OP_TCPOPT; in nft_exthdr_tcp_strip_init() 573 if (nla_put_be32(skb, NFTA_EXTHDR_OP, htonl(priv->op))) in nft_exthdr_dump_common() 660 u32 op; in nft_exthdr_select_ops() local [all …]
|
D | nft_bitwise.c | 21 enum nft_bitwise_ops op:8; member 70 switch (priv->op) { in nft_bitwise_eval() 186 priv->op = ntohl(nla_get_be32(tb[NFTA_BITWISE_OP])); in nft_bitwise_init() 187 switch (priv->op) { in nft_bitwise_init() 196 priv->op = NFT_BITWISE_BOOL; in nft_bitwise_init() 199 switch(priv->op) { in nft_bitwise_init() 246 if (nla_put_be32(skb, NFTA_BITWISE_OP, htonl(priv->op))) in nft_bitwise_dump() 249 switch (priv->op) { in nft_bitwise_dump() 271 if (priv->op != NFT_BITWISE_BOOL) in nft_bitwise_offload()
|
D | nft_dynset.c | 21 enum nft_dynset_ops op:8; member 72 if (priv->op == NFT_DYNSET_OP_DELETE) { in nft_dynset_eval() 79 if (priv->op == NFT_DYNSET_OP_UPDATE && in nft_dynset_eval() 150 priv->op = ntohl(nla_get_be32(tb[NFTA_DYNSET_OP])); in nft_dynset_init() 151 if (priv->op > NFT_DYNSET_OP_DELETE) in nft_dynset_init() 267 if (nla_put_be32(skb, NFTA_DYNSET_OP, htonl(priv->op))) in nft_dynset_dump()
|
D | nf_log_common.c | 109 const u_int8_t *op; in nf_log_dump_tcp_header() local 113 op = skb_header_pointer(skb, offset + sizeof(struct tcphdr), in nf_log_dump_tcp_header() 115 if (op == NULL) { in nf_log_dump_tcp_header() 123 nf_log_buf_add(m, "%02X", op[i]); in nf_log_dump_tcp_header()
|
/net/ipv4/ |
D | inet_diag.c | 658 const struct inet_diag_bc_op *op = bc; in inet_diag_bc_run() local 660 switch (op->code) { in inet_diag_bc_run() 667 yes = entry->sport == op[1].no; in inet_diag_bc_run() 670 yes = entry->sport >= op[1].no; in inet_diag_bc_run() 673 yes = entry->sport <= op[1].no; in inet_diag_bc_run() 676 yes = entry->dport == op[1].no; in inet_diag_bc_run() 679 yes = entry->dport >= op[1].no; in inet_diag_bc_run() 682 yes = entry->dport <= op[1].no; in inet_diag_bc_run() 692 cond = (const struct inet_diag_hostcond *)(op + 1); in inet_diag_bc_run() 694 cond->port != (op->code == INET_DIAG_BC_S_COND ? in inet_diag_bc_run() [all …]
|
/net/sunrpc/ |
D | stats.c | 202 static void _print_name(struct seq_file *seq, unsigned int op, in _print_name() argument 205 if (procs[op].p_name) in _print_name() 206 seq_printf(seq, "\t%12s: ", procs[op].p_name); in _print_name() 207 else if (op == 0) in _print_name() 210 seq_printf(seq, "\t%12u: ", op); in _print_name() 227 int op, const struct rpc_procinfo *procs) in _print_rpc_iostats() argument 229 _print_name(seq, op, procs); in _print_rpc_iostats() 252 unsigned int op, maxproc = clnt->cl_maxproc; in rpc_clnt_show_stats() local 264 for (op = 0; op < maxproc; op++) { in rpc_clnt_show_stats() 268 _add_rpc_iostats(&stats, &next->cl_metrics[op]); in rpc_clnt_show_stats() [all …]
|
/net/ceph/ |
D | osd_client.c | 372 struct ceph_osd_req_op *op; in osd_req_op_data_release() local 375 op = &osd_req->r_ops[which]; in osd_req_op_data_release() 377 switch (op->op) { in osd_req_op_data_release() 381 ceph_osd_data_release(&op->extent.osd_data); in osd_req_op_data_release() 384 ceph_osd_data_release(&op->cls.request_info); in osd_req_op_data_release() 385 ceph_osd_data_release(&op->cls.request_data); in osd_req_op_data_release() 386 ceph_osd_data_release(&op->cls.response_data); in osd_req_op_data_release() 390 ceph_osd_data_release(&op->xattr.osd_data); in osd_req_op_data_release() 393 ceph_osd_data_release(&op->raw_data_in); in osd_req_op_data_release() 396 ceph_osd_data_release(&op->notify_ack.request_data); in osd_req_op_data_release() [all …]
|
D | debugfs.c | 161 __u16 op; in monc_show() local 163 op = le16_to_cpu(req->request->hdr.type); in monc_show() 164 if (op == CEPH_MSG_STATFS) in monc_show() 166 else if (op == CEPH_MSG_MON_GET_VERSION) in monc_show() 219 struct ceph_osd_req_op *op = &req->r_ops[i]; in dump_request() local 222 ceph_osd_op_name(op->op)); in dump_request() 223 if (op->op == CEPH_OSD_OP_WATCH) in dump_request() 225 ceph_osd_watch_op_name(op->watch.op)); in dump_request() 226 else if (op->op == CEPH_OSD_OP_CALL) in dump_request() 227 seq_printf(s, "-%s/%s", op->cls.class_name, in dump_request() [all …]
|
D | ceph_strings.c | 21 const char *ceph_osd_op_name(int op) in ceph_osd_op_name() argument 23 switch (op) { in ceph_osd_op_name() 24 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return (str); in ceph_osd_op_name() argument
|
/net/rfkill/ |
D | input.c | 54 static void __rfkill_handle_global_op(enum rfkill_sched_op op) in __rfkill_handle_global_op() argument 58 switch (op) { in __rfkill_handle_global_op() 78 op); in __rfkill_handle_global_op() 102 enum rfkill_sched_op op = rfkill_op; in rfkill_op_handler() local 108 __rfkill_handle_global_op(op); in rfkill_op_handler() 153 static void rfkill_schedule_global_op(enum rfkill_sched_op op) in rfkill_schedule_global_op() argument 158 rfkill_op = op; in rfkill_schedule_global_op() 160 if (op == RFKILL_GLOBAL_OP_EPO && !rfkill_is_epo_lock_active()) { in rfkill_schedule_global_op()
|
/net/wimax/ |
D | Makefile | 7 op-msg.o \ 8 op-reset.o \ 9 op-rfkill.o \ 10 op-state-get.o \
|
/net/vmw_vsock/ |
D | virtio_transport_common.c | 60 pkt->hdr.op = cpu_to_le16(info->op); in virtio_transport_alloc_pkt() 87 info->op, in virtio_transport_alloc_pkt() 132 switch (le16_to_cpu(pkt->hdr.op)) { in virtio_transport_build_skb() 135 hdr->op = cpu_to_le16(AF_VSOCK_OP_CONNECT); in virtio_transport_build_skb() 139 hdr->op = cpu_to_le16(AF_VSOCK_OP_DISCONNECT); in virtio_transport_build_skb() 142 hdr->op = cpu_to_le16(AF_VSOCK_OP_PAYLOAD); in virtio_transport_build_skb() 146 hdr->op = cpu_to_le16(AF_VSOCK_OP_CONTROL); in virtio_transport_build_skb() 149 hdr->op = cpu_to_le16(AF_VSOCK_OP_UNKNOWN); in virtio_transport_build_skb() 210 if (pkt_len == 0 && info->op == VIRTIO_VSOCK_OP_RW) in virtio_transport_send_pkt_info() 281 .op = VIRTIO_VSOCK_OP_CREDIT_UPDATE, in virtio_transport_send_credit_update() [all …]
|
/net/nfc/nci/ |
D | core.c | 1387 struct nci_driver_ops *op; in ops_cmd_lookup() local 1393 op = &ops[i]; in ops_cmd_lookup() 1394 if (op->opcode == opcode) in ops_cmd_lookup() 1395 return op; in ops_cmd_lookup() 1405 struct nci_driver_ops *op; in nci_op_rsp_packet() local 1407 op = ops_cmd_lookup(ops, n_ops, rsp_opcode); in nci_op_rsp_packet() 1408 if (!op || !op->rsp) in nci_op_rsp_packet() 1411 return op->rsp(ndev, skb); in nci_op_rsp_packet() 1418 struct nci_driver_ops *op; in nci_op_ntf_packet() local 1420 op = ops_cmd_lookup(ops, n_ops, ntf_opcode); in nci_op_ntf_packet() [all …]
|