Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 35) sorted by relevance

12

/net/atm/
Dresources.c52 static struct atm_dev *__atm_dev_lookup(int number) in __atm_dev_lookup() argument
59 if (dev->number == number) { in __atm_dev_lookup()
67 struct atm_dev *atm_dev_lookup(int number) in atm_dev_lookup() argument
72 dev = __atm_dev_lookup(number); in atm_dev_lookup()
79 const struct atmdev_ops *ops, int number, in atm_dev_register() argument
90 if (number != -1) { in atm_dev_register()
91 inuse = __atm_dev_lookup(number); in atm_dev_register()
98 dev->number = number; in atm_dev_register()
100 dev->number = 0; in atm_dev_register()
101 while ((inuse = __atm_dev_lookup(dev->number))) { in atm_dev_register()
[all …]
Dioctl.c188 int number; in do_vcc_ioctl() local
199 if (get_user(number, &csioc->number)) in do_vcc_ioctl()
208 if (get_user(number, &sioc->number)) in do_vcc_ioctl()
211 error = atm_dev_ioctl(cmd, buf, len, number, compat); in do_vcc_ioctl()
293 int number; in do_atmif_sioc() local
296 if (get_user(data, &sioc32->arg) || get_user(number, &sioc32->number)) in do_atmif_sioc()
298 return atm_dev_ioctl(cmd, compat_ptr(data), &sioc32->length, number, 0); in do_atmif_sioc()
Dclip.c271 to_atmarpd(act_need, PRIV(neigh->dev)->number, *ip); in clip_neigh_solicit()
365 to_atmarpd(act_need, PRIV(dev)->number, *((__be32 *)n->primary_key)); in clip_start_xmit()
510 static int clip_create(int number) in clip_create() argument
516 if (number != -1) { in clip_create()
518 if (PRIV(dev)->number == number) in clip_create()
521 number = 0; in clip_create()
523 if (PRIV(dev)->number >= number) in clip_create()
524 number = PRIV(dev)->number + 1; in clip_create()
531 sprintf(dev->name, "atm%d", number); in clip_create()
533 clip_priv->number = number; in clip_create()
[all …]
Dproc.c57 seq_printf(seq, "%3d %-8s", dev->number, dev->type); in atm_dev_info()
152 vcc->dev->number, vcc->vpi, vcc->vci, in pvc_info()
185 seq_printf(seq, "%3d %3d %5d ", vcc->dev->number, vcc->vpi, in vcc_info()
211 vcc->dev->number, vcc->vpi, vcc->vci); in svc_info()
357 dev->proc_name = kasprintf(GFP_KERNEL, "%s:%d", dev->type, dev->number); in atm_proc_dev_register()
Datm_sysfs.c58 return scnprintf(buf, PAGE_SIZE, "%d\n", adev->number); in show_atmindex()
122 if (add_uevent_var(env, "NAME=%s%d", adev->type, adev->number)) in atm_uevent()
150 dev_set_name(cdev, "%s%d", adev->type, adev->number); in atm_register_sysfs()
Dbr2684.c86 int number; member
132 if (BRPRIV(net_dev)->number == s->spec.devnum) in br2684_find_dev()
707 brdev->number = 1; in br2684_create()
709 brdev->number = BRPRIV(list_entry_brdev(br2684_devs.prev))->number + 1; in br2684_create()
792 brdev->number, in br2684_seq_show()
799 "\n", brvcc->atmvcc->dev->number, in br2684_seq_show()
Dresources.h19 int number, int compat);
Dpvc.c100 addr->sap_addr.itf = vcc->dev->number; in pvc_getname()
Daddr.c44 pvc.sap_addr.itf = dev->number; in notify_sigd()
DKconfig73 large number of IP-only vcc's. Do not enable this unless you are sure
Dsignaling.c229 .number = 999,
/net/netfilter/
Dxt_u32.c37 pos = ct->location[0].number; in u32_match_it()
49 u_int32_t number = ct->location[i].number; in u32_match_it() local
52 val &= number; in u32_match_it()
55 val <<= number; in u32_match_it()
58 val >>= number; in u32_match_it()
64 pos = number; in u32_match_it()
Dx_tables.c53 unsigned int number; /* number of slots in compat_tab[] */ member
654 if (xp->cur >= xp->number) in xt_compat_add_offset()
673 xt[af].number = 0; in xt_compat_flush_offsets()
697 int xt_compat_init_offsets(u8 af, unsigned int number) in xt_compat_init_offsets() argument
703 if (!number || number > (INT_MAX / sizeof(struct compat_delta))) in xt_compat_init_offsets()
709 mem = sizeof(struct compat_delta) * number; in xt_compat_init_offsets()
717 xt[af].number = number; in xt_compat_init_offsets()
1369 if (num_counters != private->number) { in xt_replace_table()
1371 num_counters, private->number); in xt_replace_table()
1407 audit_log_nfcfg(table->name, table->af, private->number, in xt_replace_table()
[all …]
/net/ipv4/netfilter/
Darp_tables.c369 newinfo->number)) in mark_source_chains()
530 newinfo->number = repl->num_entries; in translate_table()
538 offsets = xt_alloc_entry_offsets(newinfo->number); in translate_table()
658 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
778 ret = xt_compat_init_offsets(NFPROTO_ARP, info->number); in compat_table_info()
826 info.num_entries = private->number; in get_info()
916 if ((oldinfo->number > oldinfo->initial_entries) || in __do_replace()
917 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
919 if ((oldinfo->number > oldinfo->initial_entries) && in __do_replace()
920 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
[all …]
Dip_tables.c433 newinfo->number)) in mark_source_chains()
671 newinfo->number = repl->num_entries; in translate_table()
679 offsets = xt_alloc_entry_offsets(newinfo->number); in translate_table()
799 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
935 ret = xt_compat_init_offsets(AF_INET, info->number); in compat_table_info()
983 info.num_entries = private->number; in get_info()
1070 if ((oldinfo->number > oldinfo->initial_entries) || in __do_replace()
1071 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
1073 if ((oldinfo->number > oldinfo->initial_entries) && in __do_replace()
1074 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
[all …]
/net/netfilter/ipvs/
DKconfig56 value of 2 to the your input number power. The number to choose is
57 from 8 to 20, the default number is 12, which means the table size
58 is 4096. Don't input the number too small, otherwise you will lose
61 not far less than the number of connections per second multiplying
72 You can overwrite this number setting conn_tab_bits module parameter
140 connections to the server with the least number of active
254 sent to the ith server, in which Ci is the number of connections
315 FTP is a protocol that transfers IP address and/or port number in
317 the IP address and port number of real servers cannot be sent to
/net/ipv6/netfilter/
Dip6_tables.c452 newinfo->number)) in mark_source_chains()
689 newinfo->number = repl->num_entries; in translate_table()
697 offsets = xt_alloc_entry_offsets(newinfo->number); in translate_table()
816 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
952 ret = xt_compat_init_offsets(AF_INET6, info->number); in compat_table_info()
1000 info.num_entries = private->number; in get_info()
1088 if ((oldinfo->number > oldinfo->initial_entries) || in __do_replace()
1089 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
1091 if ((oldinfo->number > oldinfo->initial_entries) && in __do_replace()
1092 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
[all …]
/net/rose/
Drose_route.c99 rose_neigh->number = rose_neigh_no++; in rose_add_node()
386 sn->number = rose_neigh_no++; in rose_add_loopback_neigh()
1141 rose_node->neighbour[i]->number); in rose_node_show()
1199 rose_neigh->number, in rose_neigh_show()
1273 rose_route->neigh1->number); in rose_route_show()
1284 rose_route->neigh2->number); in rose_route_show()
/net/sunrpc/
Drpcb_clnt.c1057 .number = RPCBVERS_2,
1065 .number = RPCBVERS_3,
1073 .number = RPCBVERS_4,
1091 .number = RPCBIND_PROGRAM,
Dstats.c59 vers->number, vers->nrprocs); in rpc_proc_show()
/net/sctp/
Dstream.c1041 __u16 number; in sctp_process_strreset_resp() local
1045 number = stream->outcnt - nums; in sctp_process_strreset_resp()
1048 for (i = number; i < stream->outcnt; i++) in sctp_process_strreset_resp()
1051 sctp_stream_shrink_out(stream, number); in sctp_process_strreset_resp()
1052 stream->outcnt = number; in sctp_process_strreset_resp()
/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c378 .number = GSSPROXY_VERS_1,
393 .number = GSSPROXY_PROGRAM,
/net/l2tp/
DKconfig63 L2TP has since been adopted for tunneling a number of other
82 in IP packets, it used IP protocol number 115, so this port
/net/netrom/
Dnr_route.c159 nr_neigh->number = nr_neigh_no++; in nr_add_node()
405 nr_neigh->number = nr_neigh_no++; in nr_add_neigh()
882 nr_node->routes[i].neighbour->number); in nr_node_show()
928 nr_neigh->number, in nr_neigh_show()
/net/netfilter/ipset/
DKconfig17 int "Maximum number of IP sets"
22 You can define here default value of the maximum number

12