/linux-6.1.9/arch/m68k/include/asm/ |
D | bitops.h | 31 static inline void bset_reg_set_bit(int nr, volatile unsigned long *vaddr) in bset_reg_set_bit() argument 33 char *p = (char *)vaddr + (nr ^ 31) / 8; in bset_reg_set_bit() 37 : "a" (p), "di" (nr & 7) in bset_reg_set_bit() 41 static inline void bset_mem_set_bit(int nr, volatile unsigned long *vaddr) in bset_mem_set_bit() argument 43 char *p = (char *)vaddr + (nr ^ 31) / 8; in bset_mem_set_bit() 47 : "di" (nr & 7)); in bset_mem_set_bit() 50 static inline void bfset_mem_set_bit(int nr, volatile unsigned long *vaddr) in bfset_mem_set_bit() argument 54 : "d" (nr ^ 31), "o" (*vaddr) in bfset_mem_set_bit() 59 #define set_bit(nr, vaddr) bset_reg_set_bit(nr, vaddr) argument 61 #define set_bit(nr, vaddr) bset_mem_set_bit(nr, vaddr) argument [all …]
|
D | raw_io.h | 110 unsigned int nr) in raw_outsb() argument 114 if (nr & 15) { in raw_outsb() 115 tmp = (nr & 15) - 1; in raw_outsb() 122 if (nr >> 4) { in raw_outsb() 123 tmp = (nr >> 4) - 1; in raw_outsb() 149 static inline void raw_insw(volatile u16 __iomem *port, u16 *buf, unsigned int nr) in raw_insw() argument 153 if (nr & 15) { in raw_insw() 154 tmp = (nr & 15) - 1; in raw_insw() 161 if (nr >> 4) { in raw_insw() 162 tmp = (nr >> 4) - 1; in raw_insw() [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
D | bitops.h | 48 #define CONST_MASK_ADDR(nr, addr) WBYTE_ADDR((void *)(addr) + ((nr)>>3)) argument 49 #define CONST_MASK(nr) (1 << ((nr) & 7)) argument 52 arch_set_bit(long nr, volatile unsigned long *addr) in arch_set_bit() argument 54 if (__builtin_constant_p(nr)) { in arch_set_bit() 56 : CONST_MASK_ADDR(nr, addr) in arch_set_bit() 57 : "iq" (CONST_MASK(nr)) in arch_set_bit() 61 : : RLONG_ADDR(addr), "Ir" (nr) : "memory"); in arch_set_bit() 66 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() argument 68 asm volatile(__ASM_SIZE(bts) " %1,%0" : : ADDR, "Ir" (nr) : "memory"); in arch___set_bit() 72 arch_clear_bit(long nr, volatile unsigned long *addr) in arch_clear_bit() argument [all …]
|
/linux-6.1.9/arch/s390/include/asm/ |
D | bitops.h | 45 __bitops_word(unsigned long nr, const volatile unsigned long *ptr) in __bitops_word() argument 49 addr = (unsigned long)ptr + ((nr ^ (nr & (BITS_PER_LONG - 1))) >> 3); in __bitops_word() 53 static inline unsigned long __bitops_mask(unsigned long nr) in __bitops_mask() argument 55 return 1UL << (nr & (BITS_PER_LONG - 1)); in __bitops_mask() 58 static __always_inline void arch_set_bit(unsigned long nr, volatile unsigned long *ptr) in arch_set_bit() argument 60 unsigned long *addr = __bitops_word(nr, ptr); in arch_set_bit() 61 unsigned long mask = __bitops_mask(nr); in arch_set_bit() 66 static __always_inline void arch_clear_bit(unsigned long nr, volatile unsigned long *ptr) in arch_clear_bit() argument 68 unsigned long *addr = __bitops_word(nr, ptr); in arch_clear_bit() 69 unsigned long mask = __bitops_mask(nr); in arch_clear_bit() [all …]
|
D | facility.h | 25 static inline void __set_facility(unsigned long nr, void *facilities) in __set_facility() argument 29 if (nr >= MAX_FACILITY_BIT) in __set_facility() 31 ptr[nr >> 3] |= 0x80 >> (nr & 7); in __set_facility() 34 static inline void __clear_facility(unsigned long nr, void *facilities) in __clear_facility() argument 38 if (nr >= MAX_FACILITY_BIT) in __clear_facility() 40 ptr[nr >> 3] &= ~(0x80 >> (nr & 7)); in __clear_facility() 43 static inline int __test_facility(unsigned long nr, void *facilities) in __test_facility() argument 47 if (nr >= MAX_FACILITY_BIT) in __test_facility() 49 ptr = (unsigned char *) facilities + (nr >> 3); in __test_facility() 50 return (*ptr & (0x80 >> (nr & 7))) != 0; in __test_facility() [all …]
|
/linux-6.1.9/drivers/hwmon/ |
D | f75375s.c | 46 #define F75375_REG_VOLT(nr) (0x10 + (nr)) argument 47 #define F75375_REG_VOLT_HIGH(nr) (0x20 + (nr) * 2) argument 48 #define F75375_REG_VOLT_LOW(nr) (0x21 + (nr) * 2) argument 50 #define F75375_REG_TEMP(nr) (0x14 + (nr)) argument 51 #define F75387_REG_TEMP11_LSB(nr) (0x1a + (nr)) argument 52 #define F75375_REG_TEMP_HIGH(nr) (0x28 + (nr) * 2) argument 53 #define F75375_REG_TEMP_HYST(nr) (0x29 + (nr) * 2) argument 55 #define F75375_REG_FAN(nr) (0x16 + (nr) * 2) argument 56 #define F75375_REG_FAN_MIN(nr) (0x2C + (nr) * 2) argument 57 #define F75375_REG_FAN_FULL(nr) (0x70 + (nr) * 0x10) argument [all …]
|
D | emc6w201.c | 27 #define EMC6W201_REG_IN(nr) (0x20 + (nr)) argument 28 #define EMC6W201_REG_TEMP(nr) (0x26 + (nr)) argument 29 #define EMC6W201_REG_FAN(nr) (0x2C + (nr) * 2) argument 33 #define EMC6W201_REG_IN_LOW(nr) (0x4A + (nr) * 2) argument 34 #define EMC6W201_REG_IN_HIGH(nr) (0x4B + (nr) * 2) argument 35 #define EMC6W201_REG_TEMP_LOW(nr) (0x56 + (nr) * 2) argument 36 #define EMC6W201_REG_TEMP_HIGH(nr) (0x57 + (nr) * 2) argument 37 #define EMC6W201_REG_FAN_MIN(nr) (0x62 + (nr) * 2) argument 126 int nr; in emc6w201_update_device() local 131 for (nr = 0; nr < 6; nr++) { in emc6w201_update_device() [all …]
|
/linux-6.1.9/arch/sh/include/asm/ |
D | bitops-op32.h | 14 #define BYTE_NUMBER(nr) ((nr ^ BITOP_LE_SWIZZLE) / BITS_PER_BYTE) argument 15 #define BYTE_OFFSET(nr) ((nr ^ BITOP_LE_SWIZZLE) % BITS_PER_BYTE) argument 17 #define BYTE_NUMBER(nr) ((nr) / BITS_PER_BYTE) argument 18 #define BYTE_OFFSET(nr) ((nr) % BITS_PER_BYTE) argument 22 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() argument 24 if (__builtin_constant_p(nr)) { in arch___set_bit() 28 : "i" (BYTE_OFFSET(nr)), "i" (BYTE_NUMBER(nr)) in arch___set_bit() 32 unsigned long mask = BIT_MASK(nr); in arch___set_bit() 33 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in arch___set_bit() 40 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() argument [all …]
|
/linux-6.1.9/include/asm-generic/bitops/ |
D | instrumented-non-atomic.h | 26 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit() argument 28 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in ___set_bit() 29 arch___set_bit(nr, addr); in ___set_bit() 42 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit() argument 44 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in ___clear_bit() 45 arch___clear_bit(nr, addr); in ___clear_bit() 58 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit() argument 60 instrument_write(addr + BIT_WORD(nr), sizeof(long)); in ___change_bit() 61 arch___change_bit(nr, addr); in ___change_bit() 64 static __always_inline void __instrument_read_write_bitop(long nr, volatile unsigned long *addr) in __instrument_read_write_bitop() argument [all …]
|
D | generic-non-atomic.h | 28 generic___set_bit(unsigned long nr, volatile unsigned long *addr) in generic___set_bit() argument 30 unsigned long mask = BIT_MASK(nr); in generic___set_bit() 31 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___set_bit() 37 generic___clear_bit(unsigned long nr, volatile unsigned long *addr) in generic___clear_bit() argument 39 unsigned long mask = BIT_MASK(nr); in generic___clear_bit() 40 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___clear_bit() 55 generic___change_bit(unsigned long nr, volatile unsigned long *addr) in generic___change_bit() argument 57 unsigned long mask = BIT_MASK(nr); in generic___change_bit() 58 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___change_bit() 73 generic___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_set_bit() argument [all …]
|
D | le.h | 19 static inline int test_bit_le(int nr, const void *addr) in test_bit_le() argument 21 return test_bit(nr ^ BITOP_LE_SWIZZLE, addr); in test_bit_le() 24 static inline void set_bit_le(int nr, void *addr) in set_bit_le() argument 26 set_bit(nr ^ BITOP_LE_SWIZZLE, addr); in set_bit_le() 29 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le() argument 31 clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in clear_bit_le() 34 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le() argument 36 __set_bit(nr ^ BITOP_LE_SWIZZLE, addr); in __set_bit_le() 39 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le() argument 41 __clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in __clear_bit_le() [all …]
|
D | instrumented-atomic.h | 26 static __always_inline void set_bit(long nr, volatile unsigned long *addr) in set_bit() argument 28 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long)); in set_bit() 29 arch_set_bit(nr, addr); in set_bit() 39 static __always_inline void clear_bit(long nr, volatile unsigned long *addr) in clear_bit() argument 41 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long)); in clear_bit() 42 arch_clear_bit(nr, addr); in clear_bit() 55 static __always_inline void change_bit(long nr, volatile unsigned long *addr) in change_bit() argument 57 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long)); in change_bit() 58 arch_change_bit(nr, addr); in change_bit() 68 static __always_inline bool test_and_set_bit(long nr, volatile unsigned long *addr) in test_and_set_bit() argument [all …]
|
/linux-6.1.9/net/netrom/ |
D | nr_timer.c | 37 struct nr_sock *nr = nr_sk(sk); in nr_init_timers() local 39 timer_setup(&nr->t1timer, nr_t1timer_expiry, 0); in nr_init_timers() 40 timer_setup(&nr->t2timer, nr_t2timer_expiry, 0); in nr_init_timers() 41 timer_setup(&nr->t4timer, nr_t4timer_expiry, 0); in nr_init_timers() 42 timer_setup(&nr->idletimer, nr_idletimer_expiry, 0); in nr_init_timers() 50 struct nr_sock *nr = nr_sk(sk); in nr_start_t1timer() local 52 sk_reset_timer(sk, &nr->t1timer, jiffies + nr->t1); in nr_start_t1timer() 57 struct nr_sock *nr = nr_sk(sk); in nr_start_t2timer() local 59 sk_reset_timer(sk, &nr->t2timer, jiffies + nr->t2); in nr_start_t2timer() 64 struct nr_sock *nr = nr_sk(sk); in nr_start_t4timer() local [all …]
|
D | nr_out.c | 81 struct nr_sock *nr = nr_sk(sk); in nr_send_iframe() local 86 skb->data[2] = nr->vs; in nr_send_iframe() 87 skb->data[3] = nr->vr; in nr_send_iframe() 89 if (nr->condition & NR_COND_OWN_RX_BUSY) in nr_send_iframe() 100 struct nr_sock *nr = nr_sk(sk); in nr_send_nak_frame() local 102 if ((skb = skb_peek(&nr->ack_queue)) == NULL) in nr_send_nak_frame() 108 skbn->data[2] = nr->va; in nr_send_nak_frame() 109 skbn->data[3] = nr->vr; in nr_send_nak_frame() 111 if (nr->condition & NR_COND_OWN_RX_BUSY) in nr_send_nak_frame() 116 nr->condition &= ~NR_COND_ACK_PENDING; in nr_send_nak_frame() [all …]
|
/linux-6.1.9/arch/hexagon/include/asm/ |
D | bitops.h | 31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() argument 43 : "r" (addr), "r" (nr) in test_and_clear_bit() 55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() argument 67 : "r" (addr), "r" (nr) in test_and_set_bit() 81 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() argument 93 : "r" (addr), "r" (nr) in test_and_change_bit() 106 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() argument 108 test_and_clear_bit(nr, addr); in clear_bit() 111 static inline void set_bit(int nr, volatile void *addr) in set_bit() argument 113 test_and_set_bit(nr, addr); in set_bit() [all …]
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | bitops.h | 29 set_bit(unsigned long nr, volatile void * addr) in set_bit() argument 32 int *m = ((int *) addr) + (nr >> 5); in set_bit() 43 :"Ir" (1UL << (nr & 31)), "m" (*m)); in set_bit() 50 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() argument 52 int *m = ((int *) addr) + (nr >> 5); in arch___set_bit() 54 *m |= 1 << (nr & 31); in arch___set_bit() 58 clear_bit(unsigned long nr, volatile void * addr) in clear_bit() argument 61 int *m = ((int *) addr) + (nr >> 5); in clear_bit() 72 :"Ir" (1UL << (nr & 31)), "m" (*m)); in clear_bit() 76 clear_bit_unlock(unsigned long nr, volatile void * addr) in clear_bit_unlock() argument [all …]
|
/linux-6.1.9/arch/riscv/include/asm/ |
D | bitops.h | 36 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument 39 __mask = BIT_MASK(nr); \ 42 : "=r" (__res), "+A" (addr[BIT_WORD(nr)]) \ 48 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument 51 : "+A" (addr[BIT_WORD(nr)]) \ 52 : "r" (mod(BIT_MASK(nr))) \ 55 #define __test_and_op_bit(op, mod, nr, addr) \ argument 56 __test_and_op_bit_ord(op, mod, nr, addr, .aqrl) 57 #define __op_bit(op, mod, nr, addr) \ argument 58 __op_bit_ord(op, mod, nr, addr, ) [all …]
|
/linux-6.1.9/tools/perf/trace/beauty/ |
D | ioctl.c | 21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd() argument 41 if (nr < strarray__ioctl_tty_cmd.nr_entries && strarray__ioctl_tty_cmd.entries[nr] != NULL) in ioctl__scnprintf_tty_cmd() 42 return scnprintf(bf, size, "%s", strarray__ioctl_tty_cmd.entries[nr]); in ioctl__scnprintf_tty_cmd() 44 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir); in ioctl__scnprintf_tty_cmd() 47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd() argument 52 if (nr < strarray__drm_ioctl_cmds.nr_entries && strarray__drm_ioctl_cmds.entries[nr] != NULL) in ioctl__scnprintf_drm_cmd() 53 return scnprintf(bf, size, "DRM_%s", strarray__drm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_drm_cmd() 55 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir); in ioctl__scnprintf_drm_cmd() 58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd() argument 63 …if (nr < strarray__sndrv_pcm_ioctl_cmds.nr_entries && strarray__sndrv_pcm_ioctl_cmds.entries[nr] !… in ioctl__scnprintf_sndrv_pcm_cmd() [all …]
|
/linux-6.1.9/arch/ia64/include/asm/ |
D | bitops.h | 40 set_bit (int nr, volatile void *addr) in set_bit() argument 46 m = (volatile __u32 *) addr + (nr >> 5); in set_bit() 47 bit = 1 << (nr & 31); in set_bit() 65 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() argument 67 *((__u32 *) addr + (nr >> 5)) |= (1 << (nr & 31)); in arch___set_bit() 81 clear_bit (int nr, volatile void *addr) in clear_bit() argument 87 m = (volatile __u32 *) addr + (nr >> 5); in clear_bit() 88 mask = ~(1 << (nr & 31)); in clear_bit() 105 clear_bit_unlock (int nr, volatile void *addr) in clear_bit_unlock() argument 111 m = (volatile __u32 *) addr + (nr >> 5); in clear_bit_unlock() [all …]
|
/linux-6.1.9/include/uapi/asm-generic/ |
D | ioctl.h | 69 #define _IOC(dir,type,nr,size) \ argument 72 ((nr) << _IOC_NRSHIFT) | \ 85 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 86 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 87 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 88 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 89 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 90 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 91 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument 94 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument [all …]
|
/linux-6.1.9/arch/mips/include/asm/ |
D | bitops.h | 67 void __mips_set_bit(unsigned long nr, volatile unsigned long *addr); 68 void __mips_clear_bit(unsigned long nr, volatile unsigned long *addr); 69 void __mips_change_bit(unsigned long nr, volatile unsigned long *addr); 70 int __mips_test_and_set_bit_lock(unsigned long nr, 72 int __mips_test_and_clear_bit(unsigned long nr, 74 int __mips_test_and_change_bit(unsigned long nr, 88 static inline void set_bit(unsigned long nr, volatile unsigned long *addr) in set_bit() argument 90 volatile unsigned long *m = &addr[BIT_WORD(nr)]; in set_bit() 91 int bit = nr % BITS_PER_LONG; in set_bit() 94 __mips_set_bit(nr, addr); in set_bit() [all …]
|
/linux-6.1.9/tools/include/asm-generic/bitops/ |
D | non-atomic.h | 17 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit() argument 19 unsigned long mask = BIT_MASK(nr); in ___set_bit() 20 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___set_bit() 26 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit() argument 28 unsigned long mask = BIT_MASK(nr); in ___clear_bit() 29 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___clear_bit() 44 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit() argument 46 unsigned long mask = BIT_MASK(nr); in ___change_bit() 47 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___change_bit() 62 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_set_bit() argument [all …]
|
/linux-6.1.9/include/linux/ |
D | bitops.h | 19 #define BITS_TO_LONGS(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) argument 20 #define BITS_TO_U64(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u64)) argument 21 #define BITS_TO_U32(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u32)) argument 22 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) argument 48 #define bitop(op, nr, addr) \ argument 49 ((__builtin_constant_p(nr) && \ 53 const##op(nr, addr) : op(nr, addr)) 55 #define __set_bit(nr, addr) bitop(___set_bit, nr, addr) argument 56 #define __clear_bit(nr, addr) bitop(___clear_bit, nr, addr) argument 57 #define __change_bit(nr, addr) bitop(___change_bit, nr, addr) argument [all …]
|
/linux-6.1.9/tools/include/linux/ |
D | bitops.h | 18 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) argument 19 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u64)) argument 20 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u32)) argument 21 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) argument 33 #define bitop(op, nr, addr) \ argument 34 op(nr, addr) 36 #define __set_bit(nr, addr) bitop(___set_bit, nr, addr) argument 37 #define __clear_bit(nr, addr) bitop(___clear_bit, nr, addr) argument 38 #define __change_bit(nr, addr) bitop(___change_bit, nr, addr) argument 39 #define __test_and_set_bit(nr, addr) bitop(___test_and_set_bit, nr, addr) argument [all …]
|
/linux-6.1.9/arch/sparc/include/uapi/asm/ |
D | ioctl.h | 39 #define _IOC(dir,type,nr,size) \ argument 42 ((nr) << _IOC_NRSHIFT) | \ 45 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 46 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 47 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 48 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument 51 #define _IOC_DIR(nr) \ argument 52 ( (((((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) & (_IOC_WRITE|_IOC_READ)) != 0)? \ 53 (((nr) >> _IOC_DIRSHIFT) & (_IOC_WRITE|_IOC_READ)): \ 54 (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) ) [all …]
|