/linux/arch/m68k/include/asm/ |
H A D | bitops.h | 31 static inline void bset_reg_set_bit(int nr, volatile unsigned long *vaddr) in bset_reg_set_bit() 41 static inline void bset_mem_set_bit(int nr, volatile unsigned long *vaddr) in bset_mem_set_bit() 50 static inline void bfset_mem_set_bit(int nr, volatile unsigned long *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 63 #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ argument 69 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 74 static inline void bclr_reg_clear_bit(int nr, volatile unsigned long *vaddr) in bclr_reg_clear_bit() 84 static inline void bclr_mem_clear_bit(int nr, volatile unsigned long *vaddr) in bclr_mem_clear_bit() 93 static inline void bfclr_mem_clear_bit(int nr, volatile unsigned long *vaddr) in bfclr_mem_clear_bit() [all …]
|
/linux/arch/s390/include/asm/ |
H A D | bitops.h | 45 __bitops_word(unsigned long nr, const volatile unsigned long *ptr) in __bitops_word() 53 static inline unsigned long __bitops_mask(unsigned long nr) in __bitops_mask() 58 static __always_inline void arch_set_bit(unsigned long nr, volatile unsigned long *ptr) in arch_set_bit() 66 static __always_inline void arch_clear_bit(unsigned long nr, volatile unsigned long *ptr) in arch_clear_bit() 74 static __always_inline void arch_change_bit(unsigned long nr, in arch_change_bit() 83 static inline bool arch_test_and_set_bit(unsigned long nr, in arch_test_and_set_bit() 94 static inline bool arch_test_and_clear_bit(unsigned long nr, in arch_test_and_clear_bit() 105 static inline bool arch_test_and_change_bit(unsigned long nr, in arch_test_and_change_bit() 117 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 126 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() [all …]
|
H A D | ebcdic.h | 23 codepage_convert(const __u8 *codepage, volatile char *addr, unsigned long nr) in codepage_convert() 39 #define ASCEBC(addr,nr) codepage_convert(_ascebc, addr, nr) argument 40 #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr) argument 41 #define ASCEBC_500(addr,nr) codepage_convert(_ascebc_500, addr, nr) argument 42 #define EBCASC_500(addr,nr) codepage_convert(_ebcasc_500, addr, nr) argument 43 #define EBC_TOLOWER(addr,nr) codepage_convert(_ebc_tolower, addr, nr) argument 44 #define EBC_TOUPPER(addr,nr) codepage_convert(_ebc_toupper, addr, nr) argument
|
/linux/net/ncsi/ |
H A D | ncsi-rsp.c | 35 static int ncsi_validate_rsp_pkt(struct ncsi_request *nr, in ncsi_validate_rsp_pkt() argument 89 static int ncsi_rsp_handler_cis(struct ncsi_request *nr) in ncsi_rsp_handler_cis() argument 110 static int ncsi_rsp_handler_sp(struct ncsi_request *nr) in ncsi_rsp_handler_sp() argument 136 ncsi_rsp_handler_dp(struct ncsi_request * nr) ncsi_rsp_handler_dp() argument 161 ncsi_rsp_handler_ec(struct ncsi_request * nr) ncsi_rsp_handler_ec() argument 183 ncsi_rsp_handler_dc(struct ncsi_request * nr) ncsi_rsp_handler_dc() argument 210 ncsi_rsp_handler_rc(struct ncsi_request * nr) ncsi_rsp_handler_rc() argument 232 ncsi_rsp_handler_ecnt(struct ncsi_request * nr) ncsi_rsp_handler_ecnt() argument 254 ncsi_rsp_handler_dcnt(struct ncsi_request * nr) ncsi_rsp_handler_dcnt() argument 276 ncsi_rsp_handler_ae(struct ncsi_request * nr) ncsi_rsp_handler_ae() argument 305 ncsi_rsp_handler_sl(struct ncsi_request * nr) ncsi_rsp_handler_sl() argument 328 ncsi_rsp_handler_gls(struct ncsi_request * nr) ncsi_rsp_handler_gls() argument 359 ncsi_rsp_handler_svf(struct ncsi_request * nr) ncsi_rsp_handler_svf() argument 396 ncsi_rsp_handler_ev(struct ncsi_request * nr) ncsi_rsp_handler_ev() argument 424 ncsi_rsp_handler_dv(struct ncsi_request * nr) ncsi_rsp_handler_dv() argument 448 ncsi_rsp_handler_sma(struct ncsi_request * nr) ncsi_rsp_handler_sma() argument 494 ncsi_rsp_handler_ebf(struct ncsi_request * nr) ncsi_rsp_handler_ebf() argument 521 ncsi_rsp_handler_dbf(struct ncsi_request * nr) ncsi_rsp_handler_dbf() argument 546 ncsi_rsp_handler_egmf(struct ncsi_request * nr) ncsi_rsp_handler_egmf() argument 574 ncsi_rsp_handler_dgmf(struct ncsi_request * nr) ncsi_rsp_handler_dgmf() argument 599 ncsi_rsp_handler_snfc(struct ncsi_request * nr) ncsi_rsp_handler_snfc() argument 628 ncsi_rsp_handler_oem_gma(struct ncsi_request * nr,int mfr_id) ncsi_rsp_handler_oem_gma() argument 668 ncsi_rsp_handler_oem_mlx(struct ncsi_request * nr) ncsi_rsp_handler_oem_mlx() argument 684 ncsi_rsp_handler_oem_bcm(struct ncsi_request * nr) ncsi_rsp_handler_oem_bcm() argument 699 ncsi_rsp_handler_oem_intel(struct ncsi_request * nr) ncsi_rsp_handler_oem_intel() argument 724 ncsi_rsp_handler_oem(struct ncsi_request * nr) ncsi_rsp_handler_oem() argument 756 ncsi_rsp_handler_gvi(struct ncsi_request * nr) ncsi_rsp_handler_gvi() argument 793 ncsi_rsp_handler_gc(struct ncsi_request * nr) ncsi_rsp_handler_gc() argument 842 ncsi_rsp_handler_gp(struct ncsi_request * nr) ncsi_rsp_handler_gp() argument 918 ncsi_rsp_handler_gcps(struct ncsi_request * nr) ncsi_rsp_handler_gcps() argument 979 ncsi_rsp_handler_gns(struct ncsi_request * nr) ncsi_rsp_handler_gns() argument 1006 ncsi_rsp_handler_gnpts(struct ncsi_request * nr) ncsi_rsp_handler_gnpts() argument 1035 ncsi_rsp_handler_gps(struct ncsi_request * nr) ncsi_rsp_handler_gps() argument 1051 ncsi_rsp_handler_gpuuid(struct ncsi_request * nr) ncsi_rsp_handler_gpuuid() argument 1069 ncsi_rsp_handler_pldm(struct ncsi_request * nr) ncsi_rsp_handler_pldm() argument 1074 ncsi_rsp_handler_netlink(struct ncsi_request * nr) ncsi_rsp_handler_netlink() argument 1094 ncsi_rsp_handler_gmcma(struct ncsi_request * nr) ncsi_rsp_handler_gmcma() argument 1178 struct ncsi_request *nr; ncsi_rcv_rsp() local [all...] |
/linux/arch/hexagon/include/asm/ |
H A D | bitops.h | 31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() 55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() 81 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() 106 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() 111 static inline void set_bit(int nr, volatile void *addr) in set_bit() 116 static inline void change_bit(int nr, volatile void *addr) in change_bit() 131 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 137 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 143 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit() 150 arch___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_clear_bit() [all …]
|
/linux/drivers/hwmon/ |
H A 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 …]
|
H A D | lm85.c | 38 #define LM85_REG_IN(nr) (0x20 + (nr)) argument 39 #define LM85_REG_IN_MIN(nr) (0x44 + (nr) * 2) argument 40 #define LM85_REG_IN_MAX(nr) (0x45 + (nr) * 2) argument 42 #define LM85_REG_TEMP(nr) (0x25 + (nr)) argument 43 #define LM85_REG_TEMP_MIN(nr) (0x4e + (nr) * 2) argument 44 #define LM85_REG_TEMP_MAX(nr) (0x4f + (nr) * 2) argument 47 #define LM85_REG_FAN(nr) (0x28 + (nr) * 2) argument 48 #define LM85_REG_FAN_MIN(nr) (0x54 + (nr) * 2) argument 50 #define LM85_REG_PWM(nr) (0x30 + (nr)) argument 91 #define LM85_REG_AFAN_CONFIG(nr) (0x5c + (nr)) argument [all …]
|
H A D | lm93.c | 52 #define LM93_REG_IN(nr) (0x56 + (nr)) argument 53 #define LM93_REG_IN_MIN(nr) (0x90 + (nr) * 2) argument 54 #define LM93_REG_IN_MAX(nr) (0x91 + (nr) * 2) argument 57 #define LM93_REG_TEMP(nr) (0x50 + (nr)) argument 58 #define LM93_REG_TEMP_MIN(nr) (0x78 + (nr) * 2) argument 59 #define LM93_REG_TEMP_MAX(nr) (0x79 + (nr) * 2) argument 62 #define LM93_REG_BOOST(nr) (0x80 + (nr)) argument 65 #define LM93_REG_PROCHOT_CUR(nr) (0x67 + (nr) * 2) argument 66 #define LM93_REG_PROCHOT_AVG(nr) (0x68 + (nr) * 2) argument 67 #define LM93_REG_PROCHOT_MAX(nr) (0xb0 + (nr)) argument [all …]
|
H A 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 184 int nr = to_sensor_dev_attr_2(devattr)->nr; in in_show() local [all …]
|
/linux/include/linux/ |
H A D | bitops.h | 12 #define BITS_TO_LONGS(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) argument 13 #define BITS_TO_U64(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u64)) argument 14 #define BITS_TO_U32(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u32)) argument 15 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) argument 43 #define bitop(op, nr, addr) \ argument 54 #define __set_bit(nr, addr) bitop(___set_bit, nr, addr) argument 55 #define __clear_bit(nr, addr) bitop(___clear_bit, nr, addr) argument 56 #define __change_bit(nr, addr) bitop(___change_bit, nr, addr) argument 57 #define __test_and_set_bit(nr, addr) bitop(___test_and_set_bit, nr, addr) argument 58 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) argument [all …]
|
/linux/include/asm-generic/bitops/ |
H A D | instrumented-non-atomic.h | 26 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit() 42 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit() 58 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit() 64 static __always_inline void __instrument_read_write_bitop(long nr, volatile unsigned long *addr) in __instrument_read_write_bitop() 97 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_set_bit() 112 ___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_clear_bit() 127 ___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_change_bit() 139 _test_bit(unsigned long nr, const volatile unsigned long *addr) in _test_bit() 151 _test_bit_acquire(unsigned long nr, const volatile unsigned long *addr) in _test_bit_acquire()
|
H A D | le.h | 19 static inline int test_bit_le(int nr, const void *addr) in test_bit_le() 24 static inline void set_bit_le(int nr, void *addr) in set_bit_le() 29 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le() 34 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le() 39 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le() 44 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le() 49 static inline int test_and_clear_bit_le(int nr, void *addr) in test_and_clear_bit_le() 54 static inline int __test_and_set_bit_le(int nr, void *addr) in __test_and_set_bit_le() 59 static inline int __test_and_clear_bit_le(int nr, void *addr) in __test_and_clear_bit_le()
|
H A D | generic-non-atomic.h | 28 generic___set_bit(unsigned long nr, volatile unsigned long *addr) in generic___set_bit() 37 generic___clear_bit(unsigned long nr, volatile unsigned long *addr) in generic___clear_bit() 55 generic___change_bit(unsigned long nr, volatile unsigned long *addr) in generic___change_bit() 73 generic___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_set_bit() 93 generic___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_clear_bit() 105 generic___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_change_bit() 121 generic_test_bit(unsigned long nr, const volatile unsigned long *addr) in generic_test_bit() 137 generic_test_bit_acquire(unsigned long nr, const volatile unsigned long *addr) in generic_test_bit_acquire() 166 const_test_bit(unsigned long nr, const volatile unsigned long *addr) in const_test_bit()
|
/linux/tools/include/linux/ |
H A 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 35 #define bitop(op, nr, addr) \ argument 38 __set_bit(nr,addr) global() argument 39 __clear_bit(nr,addr) global() argument 40 __change_bit(nr,addr) global() argument 41 __test_and_set_bit(nr,addr) global() argument 42 __test_and_clear_bit(nr,addr) global() argument 43 __test_and_change_bit(nr,addr) global() argument 44 test_bit(nr,addr) global() argument [all...] |
/linux/arch/sh/include/asm/ |
H A 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() 40 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 68 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit() 96 arch___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_set_bit() 116 arch___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_clear_bit() 128 arch___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_change_bit()
|
/linux/net/netrom/ |
H A D | nr_timer.c | 37 struct nr_sock *nr = nr_sk(sk); in nr_init_timers() local 50 struct nr_sock *nr = nr_sk(sk); in nr_start_t1timer() local 57 struct nr_sock *nr = nr_sk(sk); in nr_start_t2timer() local 64 struct nr_sock *nr = nr_sk(sk); in nr_start_t4timer() local 71 struct nr_sock *nr = nr_sk(sk); in nr_start_idletimer() local 115 struct nr_sock *nr = nr_sk(sk); in nr_heartbeat_expiry() local 155 struct nr_sock *nr = from_timer(nr, t, t2timer); in nr_t2timer_expiry() local 169 struct nr_sock *nr = from_timer(nr, t, t4timer); in nr_t4timer_expiry() local 180 struct nr_sock *nr = from_timer(nr, t, idletimer); in nr_idletimer_expiry() local 209 struct nr_sock *nr = from_timer(nr, t, t1timer); in nr_t1timer_expiry() local
|
/linux/arch/riscv/include/asm/ |
H A D | bitops.h | 196 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument 208 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument 215 #define __test_and_op_bit(op, mod, nr, addr) \ argument 217 #define __op_bit(op, mod, nr, addr) \ argument 231 static inline int arch_test_and_set_bit(int nr, volatile unsigned long *addr) in arch_test_and_set_bit() 243 static inline int arch_test_and_clear_bit(int nr, volatile unsigned long *addr) in arch_test_and_clear_bit() 256 static inline int arch_test_and_change_bit(int nr, volatile unsigned long *addr) in arch_test_and_change_bit() 273 static inline void arch_set_bit(int nr, volatile unsigned long *addr) in arch_set_bit() 287 static inline void arch_clear_bit(int nr, volatile unsigned long *addr) in arch_clear_bit() 301 static inline void arch_change_bit(int nr, volatile unsigned long *addr) in arch_change_bit() [all …]
|
/linux/fs/bcachefs/ |
H A D | tests.c | 32 static int test_delete(struct bch_fs *c, u64 nr) in test_delete() 73 static int test_delete_written(struct bch_fs *c, u64 nr) in test_delete_written() 108 static int test_iterate(struct bch_fs *c, u64 nr) in test_iterate() 162 static int test_iterate_extents(struct bch_fs *c, u64 nr) in test_iterate_extents() 219 static int test_iterate_slots(struct bch_fs *c, u64 nr) in test_iterate_slots() 278 static int test_iterate_slots_extents(struct bch_fs *c, u64 nr) in test_iterate_slots_extents() 343 static int test_peek_end(struct bch_fs *c, u64 nr) in test_peek_end() 363 static int test_peek_end_extents(struct bch_fs *c, u64 nr) in test_peek_end_extents() 417 static int test_extent_overwrite_front(struct bch_fs *c, u64 nr) in test_extent_overwrite_front() 423 static int test_extent_overwrite_back(struct bch_fs *c, u64 nr) in test_extent_overwrite_back() [all …]
|
/linux/arch/x86/include/asm/ |
H A D | sync_bitops.h | 32 static inline void sync_set_bit(long nr, volatile unsigned long *addr) in sync_set_bit() 50 static inline void sync_clear_bit(long nr, volatile unsigned long *addr) in sync_clear_bit() 67 static inline void sync_change_bit(long nr, volatile unsigned long *addr) in sync_change_bit() 83 static inline bool sync_test_and_set_bit(long nr, volatile unsigned long *addr) in sync_test_and_set_bit() 96 static inline int sync_test_and_clear_bit(long nr, volatile unsigned long *addr) in sync_test_and_clear_bit() 109 static inline int sync_test_and_change_bit(long nr, volatile unsigned long *addr) in sync_test_and_change_bit() 114 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
|
/linux/arch/arm64/include/asm/ |
H A D | sync_bitops.h | 18 #define sync_set_bit(nr, p) set_bit(nr, p) argument 19 #define sync_clear_bit(nr, p) clear_bit(nr, p) argument 20 #define sync_change_bit(nr, p) change_bit(nr, p) argument 21 #define sync_test_and_set_bit(nr, p) test_and_set_bit(nr, p) argument 22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p) argument 23 #define sync_test_and_change_bit(nr, p) test_and_change_bit(nr, p) argument 24 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
|
/linux/arch/alpha/include/asm/ |
H A D | bitops.h | 29 set_bit(unsigned long nr, volatile void * addr) in set_bit() 50 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 58 clear_bit(unsigned long nr, volatile void * addr) in clear_bit() 76 clear_bit_unlock(unsigned long nr, volatile void * addr) in clear_bit_unlock() 86 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 94 __clear_bit_unlock(unsigned long nr, volatile void * addr) in __clear_bit_unlock() 101 change_bit(unsigned long nr, volatile void * addr) in change_bit() 122 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit() 130 test_and_set_bit(unsigned long nr, volatile void *addr) in test_and_set_bit() 160 test_and_set_bit_lock(unsigned long nr, volatile void *addr) in test_and_set_bit_lock() [all …]
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | ioctl.h | 40 #define _IOC(dir,type,nr,size) \ argument 48 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 49 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 50 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 51 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument 54 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument 55 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument 56 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument 57 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) argument
|
/linux/arch/x86/entry/ |
H A D | syscall_32.c | 11 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat) argument 13 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) argument 16 #define __SYSCALL(nr, sym) extern long __ia32_##sym(const struct pt_regs *); argument 17 #define __SYSCALL_NORETURN(nr, sym) extern long __noreturn __ia32_##sym(const struct pt_regs *); argument 30 #define __SYSCALL(nr, sym) __ia32_##sym, argument 37 #define __SYSCALL(nr, sym) case nr: return __ia32_##sym(regs); argument 38 long ia32_sys_call(const struct pt_regs *regs, unsigned int nr) in ia32_sys_call()
|
/linux/arch/sparc/include/uapi/asm/ |
H A D | ioctl.h | 39 #define _IOC(dir,type,nr,size) \ argument 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 55 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument 56 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument 57 #define _IOC_SIZE(nr) \ argument
|
/linux/arch/arm/include/asm/ |
H A D | sync_bitops.h | 21 #define sync_set_bit(nr, p) _set_bit(nr, p) argument 22 #define sync_clear_bit(nr, p) _clear_bit(nr, p) argument 23 #define sync_change_bit(nr, p) _change_bit(nr, p) argument 24 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument 31 #define sync_test_and_set_bit(nr, p) _sync_test_and_set_bit(nr, p) argument 34 #define sync_test_and_clear_bit(nr, p) _sync_test_and_clear_bit(nr, p) argument 37 #define sync_test_and_change_bit(nr, p) _sync_test_and_change_bit(nr, p) argument
|