Searched refs:indices (Results 1 – 3 of 3) sorted by relevance
/net/bridge/ |
D | br_ioctl.c | 25 static int get_bridge_ifindices(struct net *net, int *indices, int num) in get_bridge_ifindices() argument 34 indices[i++] = dev->ifindex; in get_bridge_ifindices() 160 int num, *indices; in old_dev_ioctl() local 170 indices = kcalloc(num, sizeof(int), GFP_KERNEL); in old_dev_ioctl() 171 if (indices == NULL) in old_dev_ioctl() 174 get_port_ifindices(br, indices, num); in old_dev_ioctl() 175 if (copy_to_user((void __user *)args[1], indices, num*sizeof(int))) in old_dev_ioctl() 177 kfree(indices); in old_dev_ioctl() 311 int *indices; in old_deviceless() local 316 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless() [all …]
|
/net/sched/ |
D | sch_dsmark.c | 43 u16 indices; member 50 return (index <= p->indices && index > 0); in dsmark_valid_index() 174 for (i = 0; i < p->indices; i++) { in dsmark_walk() 287 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue() 346 u16 indices; in dsmark_init() local 359 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init() 361 if (hweight32(indices) != 1) in dsmark_init() 367 mask = kmalloc(indices * 2, GFP_KERNEL); in dsmark_init() 374 memset(p->mask, 0xff, indices); in dsmark_init() 376 p->value = p->mask + indices; in dsmark_init() [all …]
|
D | Kconfig | 331 traffic control indices. You will want this feature if you want
|