Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 13 of 13) sorted by relevance

/bionic/libc/kernel/common/asm-generic/bitops/
Dle.h24 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) argument
27 #define generic_test_le_bit(nr, addr) test_bit(nr, addr) argument
29 #define generic___set_le_bit(nr, addr) __set_bit(nr, addr) argument
30 #define generic___clear_le_bit(nr, addr) __clear_bit(nr, addr) argument
31 #define generic_test_and_set_le_bit(nr, addr) test_and_set_bit(nr, addr) argument
32 #define generic_test_and_clear_le_bit(nr, addr) test_and_clear_bit(nr, addr) argument
34 #define generic___test_and_set_le_bit(nr, addr) __test_and_set_bit(nr, addr) argument
35 #define generic___test_and_clear_le_bit(nr, addr) __test_and_clear_bit(nr, addr) argument
39 #define generic_test_le_bit(nr, addr) test_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) argument
40 #define generic___set_le_bit(nr, addr) __set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) argument
[all …]
Dnon-atomic.h22 #define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument
24 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) argument
Datomic.h22 #define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument
24 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) argument
/bionic/libc/kernel/common/asm-generic/
Dioctl.h40 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr)… argument
44 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
45 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument
46 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
47 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
49 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
50 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
51 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
52 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
54 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
[all …]
Dtlb.h30 unsigned int nr; member
/bionic/libc/kernel/arch-mips/asm/
Dioctl.h45 #define _IOC(dir, type, nr, size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | (( argument
49 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) argument
50 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) argument
51 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
52 #define _IOWR(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
54 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) argument
55 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) argument
56 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (nr), sizeof(size)) argument
57 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
59 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
[all …]
/bionic/libc/kernel/arch-arm/asm/arch/
Dgpio.h42 #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) argument
44 #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) argument
45 #define OMAP_GPIO_IRQ(nr) (OMAP_GPIO_IS_MPUIO(nr) ? IH_MPUIO_BASE + ((nr) & 0x0f) : IH_GPIO_BAS… argument
Dboard.h164 #define omap_get_nr_config(tag, type, nr) ((const type *) __omap_get_config((tag), sizeof(type), … argument
/bionic/libc/kernel/arch-x86/asm/
Dbitops_32.h31 #define test_bit(nr,addr) (__builtin_constant_p(nr) ? constant_test_bit((nr),(addr)) : variabl… argument
/bionic/libc/kernel/common/linux/
Dseccomp.h37 int nr; member
Daudit.h142 #define AUDIT_WORD(nr) ((__u32)((nr)/32)) argument
144 #define AUDIT_BIT(nr) (1 << ((nr) - AUDIT_WORD(nr)*32)) argument
Dinterrupt.h107 #define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0) argument
/bionic/libc/kernel/common/linux/sunrpc/
Dsched.h161 unsigned char nr; member