Home
last modified time | relevance | path

Searched refs:ifc_len (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/arch/ia64/ia32/
Dia32_ioctl.c85 int ifc_len; in sys32_ioctl() member
95 ifconf.ifc_len = ifconf32.ifc_len; in sys32_ioctl()
98 ifconf32.ifc_len = ifconf.ifc_len; in sys32_ioctl()
101 n = ifconf.ifc_len / sizeof(struct ifreq); in sys32_ioctl()
/linux-2.4.37.9/arch/s390x/kernel/
Dioctl32.c114 int ifc_len; /* size of buffer */ member
159 ifc32.ifc_len = 0; in dev_ifconf()
160 ifc.ifc_len = 0; in dev_ifconf()
163 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32))) * in dev_ifconf()
165 ifc.ifc_buf = kmalloc (ifc.ifc_len, GFP_KERNEL); in dev_ifconf()
171 len = ifc32.ifc_len / sizeof (struct ifreq32); in dev_ifconf()
188 len = ifc.ifc_len / sizeof (struct ifreq); in dev_ifconf()
189 ifc32.ifc_len = len * sizeof (struct ifreq32); in dev_ifconf()
/linux-2.4.37.9/arch/mips64/kernel/
Dioctl32.c325 int ifc_len; /* size of buffer */ member
372 ifc32.ifc_len = 0; in dev_ifconf()
373 ifc.ifc_len = 0; in dev_ifconf()
376 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32))) * in dev_ifconf()
378 ifc.ifc_buf = kmalloc (ifc.ifc_len, GFP_KERNEL); in dev_ifconf()
384 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) { in dev_ifconf()
399 for (i = 0, j = 0; i < ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf()
410 i = ifc.ifc_len; in dev_ifconf()
412 ifc32.ifc_len = i; in dev_ifconf()
414 if (i <= ifc32.ifc_len) in dev_ifconf()
[all …]
/linux-2.4.37.9/include/linux/
Dif.h181 int ifc_len; /* size of buffer */ member
/linux-2.4.37.9/arch/sparc64/kernel/
Dsunos_ioctl32.c88 int ifc_len; /* size of buffer */ member
Dioctl32.c464 int ifc_len; /* size of buffer */ member
504 ifc32.ifc_len = 0; in dev_ifconf()
505 ifc.ifc_len = 0; in dev_ifconf()
508 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) * in dev_ifconf()
510 ifc.ifc_buf = kmalloc (ifc.ifc_len, GFP_KERNEL); in dev_ifconf()
516 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) { in dev_ifconf()
528 for (i = 0, j = 0; i < ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf()
540 i = ifc.ifc_len; in dev_ifconf()
542 ifc32.ifc_len = i; in dev_ifconf()
544 if (i <= ifc32.ifc_len) in dev_ifconf()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dioctl32.c201 int ifc_len; /* size of buffer */ member
238 ifc32.ifc_len = 0; in dev_ifconf()
239 ifc.ifc_len = 0; in dev_ifconf()
242 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) * in dev_ifconf()
244 ifc.ifc_buf = kmalloc (ifc.ifc_len, GFP_KERNEL); in dev_ifconf()
250 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) { in dev_ifconf()
262 for (i = 0, j = 0; i < ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf()
270 if (i <= ifc32.ifc_len) in dev_ifconf()
271 ifc32.ifc_len = i; in dev_ifconf()
273 ifc32.ifc_len = i - sizeof (struct ifreq32); in dev_ifconf()
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_ioctl.c471 int ifc_len; /* size of buffer */ member
512 ifc32.ifc_len = 0; in dev_ifconf()
513 ifc.ifc_len = 0; in dev_ifconf()
516 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) * in dev_ifconf()
518 ifc.ifc_buf = kmalloc (ifc.ifc_len, GFP_KERNEL); in dev_ifconf()
524 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) { in dev_ifconf()
538 for (i = 0, j = 0; i < ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf()
554 i = ifc.ifc_len; in dev_ifconf()
556 ifc32.ifc_len = i; in dev_ifconf()
558 if (i <= ifc32.ifc_len) in dev_ifconf()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dioctl32.c456 int ifc_len; /* size of buffer */ member
496 ifc32.ifc_len = 0; in dev_ifconf()
497 ifc.ifc_len = 0; in dev_ifconf()
500 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) * in dev_ifconf()
502 ifc.ifc_buf = kmalloc (ifc.ifc_len, GFP_KERNEL); in dev_ifconf()
508 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) { in dev_ifconf()
520 for (i = 0, j = 0; i < ifc32.ifc_len && j < ifc.ifc_len; in dev_ifconf()
532 i = ifc.ifc_len; in dev_ifconf()
534 ifc32.ifc_len = i; in dev_ifconf()
536 if (i <= ifc32.ifc_len) in dev_ifconf()
[all …]
/linux-2.4.37.9/Documentation/networking/
Difenslave.c578 ifc.ifc_len = sizeof(buff); in if_print()
586 for (i = ifc.ifc_len / sizeof(struct ifreq); --i >= 0; ifr++) { in if_print()
/linux-2.4.37.9/net/core/
Ddev.c1734 len = ifc.ifc_len; in dev_ifconf()
1761 ifc.ifc_len = total; in dev_ifconf()