/net/rds/ |
D | rdma.c | 173 static int __rds_rdma_map(struct rds_sock *rs, struct rds_get_mr_args *args, in __rds_rdma_map() argument 198 nr_pages = rds_pages_in_vec(&args->vec); in __rds_rdma_map() 213 args->vec.addr, args->vec.bytes, nr_pages); in __rds_rdma_map() 233 if (args->flags & RDS_RDMA_USE_ONCE) in __rds_rdma_map() 235 if (args->flags & RDS_RDMA_INVALIDATE) in __rds_rdma_map() 237 if (args->flags & RDS_RDMA_READWRITE) in __rds_rdma_map() 250 ret = rds_pin_pages(args->vec.addr, nr_pages, pages, 1); in __rds_rdma_map() 288 mr->r_key, (void *)(unsigned long) args->cookie_addr); in __rds_rdma_map() 294 cookie = rds_rdma_make_cookie(mr->r_key, args->vec.addr & ~PAGE_MASK); in __rds_rdma_map() 298 if (args->cookie_addr && put_user(cookie, (u64 __user *)(unsigned long) args->cookie_addr)) { in __rds_rdma_map() [all …]
|
/net/bridge/ |
D | br_ioctl.c | 113 unsigned long args[4]; in old_dev_ioctl() local 116 if (copy_from_user(args, rq->ifr_data, sizeof(args))) in old_dev_ioctl() 119 switch (args[0]) { in old_dev_ioctl() 122 return add_del_if(br, args[1], args[0] == BRCTL_ADD_IF); in old_dev_ioctl() 151 if (copy_to_user((void __user *)args[1], &b, sizeof(b))) in old_dev_ioctl() 161 num = args[2]; in old_dev_ioctl() 174 if (copy_to_user((void __user *)args[1], indices, num*sizeof(int))) in old_dev_ioctl() 184 ret = br_set_forward_delay(br, args[1]); in old_dev_ioctl() 191 ret = br_set_hello_time(br, args[1]); in old_dev_ioctl() 198 ret = br_set_max_age(br, args[1]); in old_dev_ioctl() [all …]
|
/net/mac80211/ |
D | trace.c | 20 va_list args; in __sdata_info() local 22 va_start(args, fmt); in __sdata_info() 23 vaf.va = &args; in __sdata_info() 27 va_end(args); in __sdata_info() 35 va_list args; in __sdata_dbg() local 37 va_start(args, fmt); in __sdata_dbg() 38 vaf.va = &args; in __sdata_dbg() 43 va_end(args); in __sdata_dbg() 51 va_list args; in __sdata_err() local 53 va_start(args, fmt); in __sdata_err() [all …]
|
/net/bluetooth/ |
D | lib.c | 141 va_list args; in bt_info() local 143 va_start(args, format); in bt_info() 146 vaf.va = &args; in bt_info() 150 va_end(args); in bt_info() 157 va_list args; in bt_warn() local 159 va_start(args, format); in bt_warn() 162 vaf.va = &args; in bt_warn() 166 va_end(args); in bt_warn() 173 va_list args; in bt_err() local 175 va_start(args, format); in bt_err() [all …]
|
/net/8021q/ |
D | vlan.c | 544 struct vlan_ioctl_args args; in vlan_ioctl_handler() local 547 if (copy_from_user(&args, arg, sizeof(struct vlan_ioctl_args))) in vlan_ioctl_handler() 551 args.device1[sizeof(args.device1) - 1] = 0; in vlan_ioctl_handler() 552 args.u.device2[sizeof(args.u.device2) - 1] = 0; in vlan_ioctl_handler() 556 switch (args.cmd) { in vlan_ioctl_handler() 565 dev = __dev_get_by_name(net, args.device1); in vlan_ioctl_handler() 570 if (args.cmd != ADD_VLAN_CMD && !is_vlan_dev(dev)) in vlan_ioctl_handler() 574 switch (args.cmd) { in vlan_ioctl_handler() 580 args.u.skb_priority, in vlan_ioctl_handler() 581 args.vlan_qos); in vlan_ioctl_handler() [all …]
|
/net/sctp/ |
D | diag.c | 312 if (cb->args[4] < cb->args[1]) in sctp_sock_dump() 322 if (!cb->args[3] && in sctp_sock_dump() 332 cb->args[3] = 1; in sctp_sock_dump() 343 cb->args[4]++; in sctp_sock_dump() 345 cb->args[1] = 0; in sctp_sock_dump() 346 cb->args[3] = 0; in sctp_sock_dump() 347 cb->args[4] = 0; in sctp_sock_dump() 386 if (cb->args[4] < cb->args[1]) in sctp_ep_dump() 413 cb->args[4]++; in sctp_ep_dump() 483 int pos = cb->args[2]; in sctp_diag_dump() [all …]
|
/net/batman-adv/ |
D | log.c | 63 va_list args; in batadv_fdebug_log() local 71 va_start(args, fmt); in batadv_fdebug_log() 72 vscnprintf(debug_log_buf, sizeof(debug_log_buf), fmt, args); in batadv_fdebug_log() 73 va_end(args); in batadv_fdebug_log() 227 va_list args; in batadv_debug_log() local 229 va_start(args, fmt); in batadv_debug_log() 232 vaf.va = &args; in batadv_debug_log() 241 va_end(args); in batadv_debug_log()
|
D | bat_v.c | 304 int i_hardif_s = cb->args[0]; in batadv_v_neigh_dump() 305 int idx = cb->args[1]; in batadv_v_neigh_dump() 336 cb->args[0] = i_hardif; in batadv_v_neigh_dump() 337 cb->args[1] = idx; in batadv_v_neigh_dump() 583 int bucket = cb->args[0]; in batadv_v_orig_dump() 584 int idx = cb->args[1]; in batadv_v_orig_dump() 585 int sub = cb->args[2]; in batadv_v_orig_dump() 600 cb->args[0] = bucket; in batadv_v_orig_dump() 601 cb->args[1] = idx; in batadv_v_orig_dump() 602 cb->args[2] = sub; in batadv_v_orig_dump() [all …]
|
/net/sunrpc/ |
D | clnt.c | 361 static struct rpc_clnt * rpc_new_client(const struct rpc_create_args *args, in rpc_new_client() argument 366 const struct rpc_program *program = args->program; in rpc_new_client() 370 const char *nodename = args->nodename; in rpc_new_client() 375 program->name, args->servername, xprt); in rpc_new_client() 382 if (args->version >= program->nrvers) in rpc_new_client() 384 version = program->version[args->version]; in rpc_new_client() 398 clnt->cl_cred = get_cred(args->cred); in rpc_new_client() 401 clnt->cl_prog = args->prognumber ? : program->number; in rpc_new_client() 414 if (args->timeout != NULL) { in rpc_new_client() 415 memcpy(&clnt->cl_timeout_default, args->timeout, in rpc_new_client() [all …]
|
/net/decnet/ |
D | dn_table.c | 417 s_i = cb->args[4]; in dn_hash_dump_bucket() 430 cb->args[4] = i; in dn_hash_dump_bucket() 434 cb->args[4] = i; in dn_hash_dump_bucket() 445 s_h = cb->args[3]; in dn_hash_dump_zone() 450 memset(&cb->args[4], 0, sizeof(cb->args) - 4*sizeof(cb->args[0])); in dn_hash_dump_zone() 454 cb->args[3] = h; in dn_hash_dump_zone() 458 cb->args[3] = h; in dn_hash_dump_zone() 469 s_m = cb->args[2]; in dn_fib_table_dump() 475 memset(&cb->args[3], 0, sizeof(cb->args) - 3*sizeof(cb->args[0])); in dn_fib_table_dump() 478 cb->args[2] = m; in dn_fib_table_dump() [all …]
|
/net/netlink/ |
D | diag.c | 92 struct rhashtable_iter *hti = (void *)cb->args[2]; in __netlink_diag_dump() 113 cb->args[2] = (long)hti; in __netlink_diag_dump() 179 cb->args[0] = num; in __netlink_diag_dump() 187 int s_num = cb->args[0]; in netlink_diag_dump() 195 for (i = cb->args[1]; i < MAX_LINKS; i++) { in netlink_diag_dump() 201 cb->args[1] = i; in netlink_diag_dump() 214 struct rhashtable_iter *hti = (void *)cb->args[2]; in netlink_diag_dump_done() 216 if (cb->args[0] == 1) in netlink_diag_dump_done()
|
/net/atm/ |
D | mpoa_proc.c | 26 #define dprintk(format, args...) \ argument 27 printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ 29 #define dprintk(format, args...) \ argument 31 printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\ 36 #define ddprintk(format, args...) \ 37 printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ 39 #define ddprintk(format, args...) \ argument 41 printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\
|
D | mpc.c | 43 #define dprintk(format, args...) \ 44 printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args) 45 #define dprintk_cont(format, args...) printk(KERN_CONT format, ##args) 47 #define dprintk(format, args...) \ argument 49 printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args);\ 51 #define dprintk_cont(format, args...) \ argument 52 do { if (0) printk(KERN_CONT format, ##args); } while (0) 56 #define ddprintk(format, args...) \ 57 printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args) 58 #define ddprintk_cont(format, args...) printk(KERN_CONT format, ##args) [all …]
|
/net/vmw_vsock/ |
D | diag.c | 62 table = cb->args[0]; in vsock_diag_dump() 63 bucket = cb->args[1]; in vsock_diag_dump() 64 i = last_i = cb->args[2]; in vsock_diag_dump() 134 cb->args[0] = table; in vsock_diag_dump() 135 cb->args[1] = bucket; in vsock_diag_dump() 136 cb->args[2] = i; in vsock_diag_dump()
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma_backchannel.c | 281 xprt_setup_rdma_bc(struct xprt_create *args) in xprt_setup_rdma_bc() argument 286 if (args->addrlen > sizeof(xprt->addr)) { in xprt_setup_rdma_bc() 291 xprt = xprt_alloc(args->net, sizeof(*new_xprt), in xprt_setup_rdma_bc() 310 memcpy(&xprt->addr, args->dstaddr, args->addrlen); in xprt_setup_rdma_bc() 311 xprt->addrlen = args->addrlen; in xprt_setup_rdma_bc() 321 args->bc_xprt->xpt_bc_xprt = xprt; in xprt_setup_rdma_bc() 322 xprt->bc_xprt = args->bc_xprt; in xprt_setup_rdma_bc()
|
/net/netfilter/ |
D | nf_log.c | 224 va_list args; in nf_log_packet() local 235 va_start(args, fmt); in nf_log_packet() 236 vsnprintf(prefix, sizeof(prefix), fmt, args); in nf_log_packet() 237 va_end(args); in nf_log_packet() 252 va_list args; in nf_log_trace() local 259 va_start(args, fmt); in nf_log_trace() 260 vsnprintf(prefix, sizeof(prefix), fmt, args); in nf_log_trace() 261 va_end(args); in nf_log_trace() 278 va_list args; in nf_log_buf_add() local 282 va_start(args, f); in nf_log_buf_add() [all …]
|
D | nf_conntrack_netlink.c | 821 if (cb->args[1]) in ctnetlink_done() 822 nf_ct_put((struct nf_conn *)cb->args[1]); in ctnetlink_done() 914 last = (struct nf_conn *)cb->args[1]; in ctnetlink_dump_table() 918 for (; cb->args[0] < nf_conntrack_htable_size; cb->args[0]++) { in ctnetlink_dump_table() 927 lockp = &nf_conntrack_locks[cb->args[0] % CONNTRACK_LOCKS]; in ctnetlink_dump_table() 929 if (cb->args[0] >= nf_conntrack_htable_size) { in ctnetlink_dump_table() 933 hlist_nulls_for_each_entry(h, n, &nf_conntrack_hash[cb->args[0]], in ctnetlink_dump_table() 948 if (cb->args[1]) { in ctnetlink_dump_table() 951 cb->args[1] = 0; in ctnetlink_dump_table() 965 cb->args[1] = (unsigned long)ct; in ctnetlink_dump_table() [all …]
|
/net/wireless/ |
D | wext-priv.c | 57 static int get_priv_size(__u16 args) in get_priv_size() argument 59 int num = args & IW_PRIV_SIZE_MASK; in get_priv_size() 60 int type = (args & IW_PRIV_TYPE_MASK) >> 12; in get_priv_size() 65 static int adjust_priv_size(__u16 args, struct iw_point *iwp) in adjust_priv_size() argument 68 int max = args & IW_PRIV_SIZE_MASK; in adjust_priv_size() 69 int type = (args & IW_PRIV_TYPE_MASK) >> 12; in adjust_priv_size()
|
/net/ipv6/ |
D | ip6_fib.c | 418 fib6_rt_dump(rt, w->args); in fib6_node_dump() 446 w->args = &arg; in fib6_tables_dump() 467 res = rt6_dump_route(rt, w->args, w->skip_in_node); in fib6_dump_node() 498 struct fib6_walker *w = (void *)cb->args[2]; in fib6_dump_end() 501 if (cb->args[4]) { in fib6_dump_end() 502 cb->args[4] = 0; in fib6_dump_end() 505 cb->args[2] = 0; in fib6_dump_end() 508 cb->done = (void *)cb->args[3]; in fib6_dump_end() 509 cb->args[1] = 3; in fib6_dump_end() 525 w = (void *)cb->args[2]; in fib6_dump_table() [all …]
|
/net/9p/ |
D | mod.c | 36 va_list args; in _p9_debug() local 41 va_start(args, fmt); in _p9_debug() 44 vaf.va = &args; in _p9_debug() 51 va_end(args); in _p9_debug()
|
/net/tipc/ |
D | netlink_compat.c | 128 va_list args; in tipc_tlv_sprintf() local 136 va_start(args, fmt); in tipc_tlv_sprintf() 137 n = vscnprintf(buf, rem, fmt, args); in tipc_tlv_sprintf() 138 va_end(args); in tipc_tlv_sprintf() 971 struct sk_buff *args; in tipc_nl_compat_publ_dump() local 974 args = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_compat_publ_dump() 975 if (!args) in tipc_nl_compat_publ_dump() 978 hdr = genlmsg_put(args, 0, 0, &tipc_genl_family, NLM_F_MULTI, in tipc_nl_compat_publ_dump() 981 kfree_skb(args); in tipc_nl_compat_publ_dump() 985 nest = nla_nest_start_noflag(args, TIPC_NLA_SOCK); in tipc_nl_compat_publ_dump() [all …]
|
/net/phonet/ |
D | pn_netlink.c | 125 int dev_idx = 0, dev_start_idx = cb->args[0]; in getaddr_dumpit() 126 int addr_idx = 0, addr_start_idx = cb->args[1]; in getaddr_dumpit() 152 cb->args[0] = dev_idx; in getaddr_dumpit() 153 cb->args[1] = addr_idx; in getaddr_dumpit() 269 for (addr = cb->args[0]; addr < 64; addr++) { in route_dumpit() 282 cb->args[0] = addr; in route_dumpit()
|
/net/netfilter/ipset/ |
D | ip_set_bitmap_gen.h | 209 u32 id, first = cb->args[IPSET_CB_ARG0]; in mtype_list() 217 for (; cb->args[IPSET_CB_ARG0] < map->elements; in mtype_list() 218 cb->args[IPSET_CB_ARG0]++) { in mtype_list() 220 id = cb->args[IPSET_CB_ARG0]; in mtype_list() 248 cb->args[IPSET_CB_ARG0] = 0; in mtype_list() 255 cb->args[IPSET_CB_ARG0] = 0; in mtype_list()
|
D | ip_set_core.c | 1261 if (cb->args[IPSET_CB_ARG0]) { in ip_set_dump_done() 1263 (struct ip_set_net *)cb->args[IPSET_CB_NET]; in ip_set_dump_done() 1264 ip_set_id_t index = (ip_set_id_t)cb->args[IPSET_CB_INDEX]; in ip_set_dump_done() 1312 cb->args[IPSET_CB_PROTO] = nla_get_u8(cda[IPSET_ATTR_PROTOCOL]); in dump_init() 1322 cb->args[IPSET_CB_INDEX] = index; in dump_init() 1332 cb->args[IPSET_CB_NET] = (unsigned long)inst; in dump_init() 1333 cb->args[IPSET_CB_DUMP] = dump_type; in dump_init() 1350 if (!cb->args[IPSET_CB_DUMP]) { in ip_set_dump_start() 1363 if (cb->args[IPSET_CB_INDEX] >= inst->ip_set_max) in ip_set_dump_start() 1366 dump_type = DUMP_TYPE(cb->args[IPSET_CB_DUMP]); in ip_set_dump_start() [all …]
|
/net/dccp/ |
D | ccid.c | 82 va_list args; in ccid_kmem_cache_create() local 84 va_start(args, fmt); in ccid_kmem_cache_create() 85 vsnprintf(slab_name_fmt, CCID_SLAB_NAME_LENGTH, fmt, args); in ccid_kmem_cache_create() 86 va_end(args); in ccid_kmem_cache_create()
|