Searched refs:array (Results 1 – 9 of 9) sorted by relevance
| /net/netfilter/ |
| A D | nf_conntrack_ftp.c | 123 memset(array, 0, sizeof(array[0])*array_size); in try_number() 128 array[i] = array[i]*10 + *data - '0'; in try_number() 155 u_int32_t array[6]; in try_rfc959() local 157 length = try_number(data, dlen, array, 6, ',', term); in try_rfc959() 161 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) | in try_rfc959() 162 (array[2] << 8) | array[3]); in try_rfc959() 163 cmd->u.tcp.port = htons((array[4] << 8) | array[5]); in try_rfc959() 248 u_int32_t array[4]; in try_eprt() local 251 length = try_number(data + 3, dlen - 3, array, 4, '.', delim); in try_eprt() 253 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) in try_eprt() [all …]
|
| /net/8021q/ |
| A D | vlan.h | 57 struct net_device **array; in __vlan_group_get_device() local 59 array = vg->vlan_devices_arrays[pidx] in __vlan_group_get_device() 65 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device() 85 struct net_device **array; in vlan_group_set_device() local 89 array = vg->vlan_devices_arrays[pidx] in vlan_group_set_device() 91 array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; in vlan_group_set_device()
|
| A D | vlan.c | 52 struct net_device **array; in vlan_group_prealloc_vid() local 64 array = vg->vlan_devices_arrays[pidx][vidx]; in vlan_group_prealloc_vid() 65 if (array != NULL) in vlan_group_prealloc_vid() 69 array = kzalloc(size, GFP_KERNEL_ACCOUNT); in vlan_group_prealloc_vid() 70 if (array == NULL) in vlan_group_prealloc_vid() 76 vg->vlan_devices_arrays[pidx][vidx] = array; in vlan_group_prealloc_vid()
|
| /net/ipv6/ |
| A D | addrconf.c | 5628 __s32 *array, int bytes) in ipv6_store_devconf() argument 5632 memset(array, 0, bytes); in ipv6_store_devconf() 5641 array[DEVCONF_RTR_SOLICIT_INTERVAL] = in ipv6_store_devconf() 5645 array[DEVCONF_RTR_SOLICIT_DELAY] = in ipv6_store_devconf() 5660 array[DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT] = in ipv6_store_devconf() 5665 array[DEVCONF_RTR_PROBE_INTERVAL] = in ipv6_store_devconf() 5675 array[DEVCONF_ACCEPT_SOURCE_ROUTE] = in ipv6_store_devconf() 5688 array[DEVCONF_SUPPRESS_FRAG_NDISC] = in ipv6_store_devconf() 5690 array[DEVCONF_ACCEPT_RA_FROM_LOCAL] = in ipv6_store_devconf() 5713 array[DEVCONF_NDISC_EVICT_NOCARRIER] = in ipv6_store_devconf() [all …]
|
| /net/sched/ |
| A D | sch_fq.c | 889 struct rb_root *array; in fq_resize() local 897 array = kvmalloc_node(sizeof(struct rb_root) << log, GFP_KERNEL | __GFP_RETRY_MAYFAIL, in fq_resize() 899 if (!array) in fq_resize() 903 array[idx] = RB_ROOT; in fq_resize() 909 fq_rehash(q, old_fq_root, q->fq_trees_log, array, log); in fq_resize() 911 q->fq_root = array; in fq_resize()
|
| /net/ipv4/ |
| A D | cipso_ipv4.c | 1053 u16 array[CIPSO_V4_TAG_RNG_CAT_MAX * 2]; in cipso_v4_map_cat_rng_hton() local 1069 array[array_cnt++] = iter; in cipso_v4_map_cat_rng_hton() 1077 array[array_cnt++] = iter; in cipso_v4_map_cat_rng_hton() 1081 *((__be16 *)&net_cat[iter]) = htons(array[--array_cnt]); in cipso_v4_map_cat_rng_hton() 1084 if (array[array_cnt] != 0) { in cipso_v4_map_cat_rng_hton() 1085 *((__be16 *)&net_cat[iter]) = htons(array[array_cnt]); in cipso_v4_map_cat_rng_hton()
|
| /net/iucv/ |
| A D | iucv.c | 1116 struct iucv_array *array; in iucv_message_receive_iprmdata() local 1130 for (array = buffer; size > 0; array++) { in iucv_message_receive_iprmdata() 1131 copy = min_t(size_t, size, array->length); in iucv_message_receive_iprmdata() 1132 memcpy(dma32_to_virt(array->address), rmmsg, copy); in iucv_message_receive_iprmdata()
|
| /net/rose/ |
| A D | af_rose.c | 185 struct sock *sk, *array[16]; in rose_kill_by_device() local 197 if (cnt == ARRAY_SIZE(array)) { in rose_kill_by_device() 202 array[cnt++] = sk; in rose_kill_by_device() 208 sk = array[cnt]; in rose_kill_by_device()
|
| /net/core/ |
| A D | filter.c | 4949 struct bpf_array *array = container_of(map, struct bpf_array, map); in BPF_CALL_3() local 4956 if (unlikely(idx >= array->map.max_entries)) in BPF_CALL_3() 4959 cgrp = READ_ONCE(array->ptrs[idx]); in BPF_CALL_3()
|
Completed in 51 milliseconds