/net/can/ |
D | bcm.c | 166 struct bcm_op *op; in bcm_proc_show() local 175 list_for_each_entry(op, &bo->rx_ops, list) { in bcm_proc_show() 180 if (!op->frames_abs) in bcm_proc_show() 184 op->can_id, bcm_proc_getifname(ifname, op->ifindex)); in bcm_proc_show() 185 seq_printf(m, "[%u]%c ", op->nframes, in bcm_proc_show() 186 (op->flags & RX_CHECK_DLC)?'d':' '); in bcm_proc_show() 187 if (op->kt_ival1.tv64) in bcm_proc_show() 190 ktime_to_us(op->kt_ival1)); in bcm_proc_show() 192 if (op->kt_ival2.tv64) in bcm_proc_show() 195 ktime_to_us(op->kt_ival2)); in bcm_proc_show() [all …]
|
/net/rds/ |
D | ib_send.c | 106 struct rm_rdma_op *op, in rds_ib_send_unmap_rdma() argument 109 if (op->op_mapped) { in rds_ib_send_unmap_rdma() 111 op->op_sg, op->op_nents, in rds_ib_send_unmap_rdma() 112 op->op_write ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in rds_ib_send_unmap_rdma() 113 op->op_mapped = 0; in rds_ib_send_unmap_rdma() 136 rds_ib_send_complete(container_of(op, struct rds_message, rdma), in rds_ib_send_unmap_rdma() 139 if (op->op_write) in rds_ib_send_unmap_rdma() 140 rds_stats_add(s_send_rdma_bytes, op->op_bytes); in rds_ib_send_unmap_rdma() 142 rds_stats_add(s_recv_rdma_bytes, op->op_bytes); in rds_ib_send_unmap_rdma() 146 struct rm_atomic_op *op, in rds_ib_send_unmap_atomic() argument [all …]
|
D | iw_send.c | 67 struct rm_rdma_op *op) in rds_iw_send_unmap_rdma() argument 69 if (op->op_mapped) { in rds_iw_send_unmap_rdma() 71 op->op_sg, op->op_nents, in rds_iw_send_unmap_rdma() 72 op->op_write ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in rds_iw_send_unmap_rdma() 73 op->op_mapped = 0; in rds_iw_send_unmap_rdma() 788 int rds_iw_xmit_rdma(struct rds_connection *conn, struct rm_rdma_op *op) in rds_iw_xmit_rdma() argument 798 u64 remote_addr = op->op_remote_addr; in rds_iw_xmit_rdma() 810 if (!op->op_mapped) { in rds_iw_xmit_rdma() 811 op->op_count = ib_dma_map_sg(ic->i_cm_id->device, in rds_iw_xmit_rdma() 812 op->op_sg, op->op_nents, (op->op_write) ? in rds_iw_xmit_rdma() [all …]
|
D | rdma.c | 553 struct rm_rdma_op *op = &rm->rdma; in rds_cmsg_rdma_args() local 605 op->op_write = !!(args->flags & RDS_RDMA_READWRITE); in rds_cmsg_rdma_args() 606 op->op_fence = !!(args->flags & RDS_RDMA_FENCE); in rds_cmsg_rdma_args() 607 op->op_notify = !!(args->flags & RDS_RDMA_NOTIFY_ME); in rds_cmsg_rdma_args() 608 op->op_silent = !!(args->flags & RDS_RDMA_SILENT); in rds_cmsg_rdma_args() 609 op->op_active = 1; in rds_cmsg_rdma_args() 610 op->op_recverr = rs->rs_recverr; in rds_cmsg_rdma_args() 612 op->op_sg = rds_message_alloc_sgs(rm, nr_pages); in rds_cmsg_rdma_args() 613 if (!op->op_sg) { in rds_cmsg_rdma_args() 618 if (op->op_notify || op->op_recverr) { in rds_cmsg_rdma_args() [all …]
|
/net/netfilter/ |
D | xt_tcpmss.c | 34 const u_int8_t *op; in tcpmss_mt() local 52 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); in tcpmss_mt() 53 if (op == NULL) in tcpmss_mt() 57 if (op[i] == TCPOPT_MSS in tcpmss_mt() 59 && op[i+1] == TCPOLEN_MSS) { in tcpmss_mt() 62 mssval = (op[i+2] << 8) | op[i+3]; in tcpmss_mt() 67 if (op[i] < 2) in tcpmss_mt() 70 i += op[i+1] ? : 1; in tcpmss_mt()
|
D | nft_cmp.c | 24 enum nft_cmp_ops op:8; member 35 switch (priv->op) { in nft_cmp_eval() 79 priv->op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_init() 94 if (nla_put_be32(skb, NFTA_CMP_OP, htonl(priv->op))) in nft_cmp_dump() 171 enum nft_cmp_ops op; in nft_cmp_select_ops() local 184 op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_select_ops() 185 switch (op) { in nft_cmp_select_ops() 201 if (desc.len <= sizeof(u32) && op == NFT_CMP_EQ) in nft_cmp_select_ops()
|
D | nf_conntrack_seqadj.c | 135 unsigned char *op = skb->data + optoff; in nf_ct_sack_adjust() local 137 switch (op[0]) { in nf_ct_sack_adjust() 146 optoff + op[1] > optend || in nf_ct_sack_adjust() 147 op[1] < 2) in nf_ct_sack_adjust() 149 if (op[0] == TCPOPT_SACK && in nf_ct_sack_adjust() 150 op[1] >= 2+TCPOLEN_SACK_PERBLOCK && in nf_ct_sack_adjust() 151 ((op[1] - 2) % TCPOLEN_SACK_PERBLOCK) == 0) in nf_ct_sack_adjust() 153 optoff+op[1], in nf_ct_sack_adjust() 155 optoff += op[1]; in nf_ct_sack_adjust()
|
D | xt_dccp.c | 44 const unsigned char *op; in dccp_find_option() local 56 op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); in dccp_find_option() 57 if (op == NULL) { in dccp_find_option() 63 if (op[i] == option) { in dccp_find_option() 68 if (op[i] < 2) in dccp_find_option() 71 i += op[i+1]?:1; in dccp_find_option()
|
D | nf_synproxy_core.c | 200 unsigned char *op = skb->data + optoff; in synproxy_tstamp_adjust() local 202 switch (op[0]) { in synproxy_tstamp_adjust() 210 optoff + op[1] > optend || in synproxy_tstamp_adjust() 211 op[1] < 2) in synproxy_tstamp_adjust() 213 if (op[0] == TCPOPT_TIMESTAMP && in synproxy_tstamp_adjust() 214 op[1] == TCPOLEN_TIMESTAMP) { in synproxy_tstamp_adjust() 216 ptr = (u32 *)&op[2]; in synproxy_tstamp_adjust() 221 ptr = (u32 *)&op[6]; in synproxy_tstamp_adjust() 230 optoff += op[1]; in synproxy_tstamp_adjust()
|
D | nft_byteorder.c | 23 enum nft_byteorder_ops op:8; member 42 switch (priv->op) { in nft_byteorder_eval() 54 switch (priv->op) { in nft_byteorder_eval() 103 priv->op = ntohl(nla_get_be32(tb[NFTA_BYTEORDER_OP])); in nft_byteorder_init() 104 switch (priv->op) { in nft_byteorder_init() 136 if (nla_put_be32(skb, NFTA_BYTEORDER_OP, htonl(priv->op))) in nft_byteorder_dump()
|
D | xt_tcpudp.c | 39 const u_int8_t *op; in tcp_find_option() local 49 op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), in tcp_find_option() 51 if (op == NULL) { in tcp_find_option() 57 if (op[i] == option) return !invert; in tcp_find_option() 58 if (op[i] < 2) i++; in tcp_find_option() 59 else i += op[i+1]?:1; in tcp_find_option()
|
D | nf_log_common.c | 111 const u_int8_t *op; in nf_log_dump_tcp_header() local 115 op = skb_header_pointer(skb, offset + sizeof(struct tcphdr), in nf_log_dump_tcp_header() 117 if (op == NULL) { in nf_log_dump_tcp_header() 125 nf_log_buf_add(m, "%02X", op[i]); in nf_log_dump_tcp_header()
|
/net/ceph/ |
D | ceph_strings.c | 19 const char *ceph_osd_op_name(int op) in ceph_osd_op_name() argument 21 switch (op) { in ceph_osd_op_name() 22 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return (str); in ceph_osd_op_name() argument 46 const char *ceph_pool_op_name(int op) in ceph_pool_op_name() argument 48 switch (op) { in ceph_pool_op_name()
|
D | osd_client.c | 280 struct ceph_osd_req_op *op; in osd_req_op_data_release() local 283 op = &osd_req->r_ops[which]; in osd_req_op_data_release() 285 switch (op->op) { in osd_req_op_data_release() 288 ceph_osd_data_release(&op->extent.osd_data); in osd_req_op_data_release() 291 ceph_osd_data_release(&op->cls.request_info); in osd_req_op_data_release() 292 ceph_osd_data_release(&op->cls.request_data); in osd_req_op_data_release() 293 ceph_osd_data_release(&op->cls.response_data); in osd_req_op_data_release() 434 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return true; in osd_req_opcode_valid() argument 451 struct ceph_osd_req_op *op; in _osd_req_op_init() local 456 op = &osd_req->r_ops[which]; in _osd_req_op_init() [all …]
|
D | debugfs.c | 125 __u16 op; in monc_show() local 127 op = le16_to_cpu(req->request->hdr.type); in monc_show() 128 if (op == CEPH_MSG_STATFS) in monc_show() 130 else if (op == CEPH_MSG_POOLOP) in monc_show() 132 else if (op == CEPH_MSG_MON_GET_VERSION) in monc_show() 171 opcode = req->r_ops[i].op; in osdc_show()
|
D | auth_x_protocol.h | 19 __le16 op; member 23 __le16 op; member
|
D | auth_x.c | 431 head->op = cpu_to_le16(CEPHX_GET_AUTH_SESSION_KEY); in ceph_x_build_request() 464 head->op = cpu_to_le16(CEPHX_GET_PRINCIPAL_SESSION_KEY); in ceph_x_build_request() 488 int op; in ceph_x_handle_reply() local 508 op = le16_to_cpu(head->op); in ceph_x_handle_reply() 510 dout("handle_reply op %d result %d\n", op, result); in ceph_x_handle_reply() 511 switch (op) { in ceph_x_handle_reply()
|
/net/sunrpc/ |
D | stats.c | 169 static void _print_name(struct seq_file *seq, unsigned int op, in _print_name() argument 172 if (procs[op].p_name) in _print_name() 173 seq_printf(seq, "\t%12s: ", procs[op].p_name); in _print_name() 174 else if (op == 0) in _print_name() 177 seq_printf(seq, "\t%12u: ", op); in _print_name() 184 unsigned int op, maxproc = clnt->cl_maxproc; in rpc_print_iostats() local 200 for (op = 0; op < maxproc; op++) { in rpc_print_iostats() 201 struct rpc_iostats *metrics = &stats[op]; in rpc_print_iostats() 202 _print_name(seq, op, clnt->cl_procinfo); in rpc_print_iostats()
|
/net/ipv4/ |
D | inet_diag.c | 454 const struct inet_diag_bc_op *op = bc; in inet_diag_bc_run() local 456 switch (op->code) { in inet_diag_bc_run() 463 yes = entry->sport >= op[1].no; in inet_diag_bc_run() 466 yes = entry->sport <= op[1].no; in inet_diag_bc_run() 469 yes = entry->dport >= op[1].no; in inet_diag_bc_run() 472 yes = entry->dport <= op[1].no; in inet_diag_bc_run() 482 cond = (struct inet_diag_hostcond *)(op + 1); in inet_diag_bc_run() 484 cond->port != (op->code == INET_DIAG_BC_S_COND ? in inet_diag_bc_run() 490 if (op->code == INET_DIAG_BC_S_COND) in inet_diag_bc_run() 521 ifindex = *((const u32 *)(op + 1)); in inet_diag_bc_run() [all …]
|
/net/wimax/ |
D | Makefile | 6 op-msg.o \ 7 op-reset.o \ 8 op-rfkill.o \ 9 op-state-get.o \
|
/net/rfkill/ |
D | input.c | 57 static void __rfkill_handle_global_op(enum rfkill_sched_op op) in __rfkill_handle_global_op() argument 61 switch (op) { in __rfkill_handle_global_op() 81 op); in __rfkill_handle_global_op() 105 enum rfkill_sched_op op = rfkill_op; in rfkill_op_handler() local 111 __rfkill_handle_global_op(op); in rfkill_op_handler() 156 static void rfkill_schedule_global_op(enum rfkill_sched_op op) in rfkill_schedule_global_op() argument 161 rfkill_op = op; in rfkill_schedule_global_op() 163 if (op == RFKILL_GLOBAL_OP_EPO && !rfkill_is_epo_lock_active()) { in rfkill_schedule_global_op()
|
D | core.c | 193 enum rfkill_operation op) in rfkill_fill_event() argument 199 ev->op = op; in rfkill_fill_event() 208 static void rfkill_send_events(struct rfkill *rfkill, enum rfkill_operation op) in rfkill_send_events() argument 217 rfkill_fill_event(&ev->ev, rfkill, op); in rfkill_send_events() 1146 if (ev.op != RFKILL_OP_CHANGE && ev.op != RFKILL_OP_CHANGE_ALL) in rfkill_fop_write() 1154 if (ev.op == RFKILL_OP_CHANGE_ALL) { in rfkill_fop_write() 1165 if (rfkill->idx != ev.idx && ev.op != RFKILL_OP_CHANGE_ALL) in rfkill_fop_write()
|
/net/ipv4/netfilter/ |
D | nf_log_ipv4.c | 78 const unsigned char *op; in dump_ipv4_packet() local 83 op = skb_header_pointer(skb, iphoff+sizeof(_iph), in dump_ipv4_packet() 85 if (op == NULL) { in dump_ipv4_packet() 93 nf_log_buf_add(m, "%02X", op[i]); in dump_ipv4_packet()
|
/net/bridge/ |
D | br_fdb.c | 150 struct net_bridge_port *op; in fdb_delete_local() local 153 list_for_each_entry(op, &br->port_list, list) { in fdb_delete_local() 154 if (op != p && ether_addr_equal(op->dev->dev_addr, addr) && in fdb_delete_local() 155 (!vid || nbp_vlan_find(op, vid))) { in fdb_delete_local() 156 f->dst = op; in fdb_delete_local()
|
/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 382 struct sk_buff *fp, *op, *head = fq->q.fragments; in nf_ct_frag6_reasm() local 483 op = NFCT_FRAG6_CB(head)->orig; in nf_ct_frag6_reasm() 487 op->next = orig; in nf_ct_frag6_reasm() 488 op = orig; in nf_ct_frag6_reasm()
|