Home
last modified time | relevance | path

Searched defs:nr (Results 1 – 25 of 50) sorted by relevance

12

/include/uapi/asm-generic/
Dioctl.h65 #define _IOC(dir,type,nr,size) \ argument
76 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
77 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument
78 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
79 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
80 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
81 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
82 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
85 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
86 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
[all …]
/include/asm-generic/bitops/
Dle.h52 static inline int test_bit_le(int nr, const void *addr) in test_bit_le()
57 static inline void set_bit_le(int nr, void *addr) in set_bit_le()
62 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le()
67 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le()
72 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le()
77 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le()
82 static inline int test_and_clear_bit_le(int nr, void *addr) in test_and_clear_bit_le()
87 static inline int __test_and_set_bit_le(int nr, void *addr) in __test_and_set_bit_le()
92 static inline int __test_and_clear_bit_le(int nr, void *addr) in __test_and_clear_bit_le()
Dnon-atomic.h15 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit()
23 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit()
40 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit()
57 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit()
76 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit()
87 static inline int __test_and_change_bit(int nr, in __test_and_change_bit()
103 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
Dlock.h12 #define test_and_set_bit_lock(nr, addr) test_and_set_bit(nr, addr) argument
21 #define clear_bit_unlock(nr, addr) \ argument
38 #define __clear_bit_unlock(nr, addr) \ argument
Datomic.h65 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit()
86 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit()
107 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit()
127 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit()
151 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit()
174 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit()
Dext2-atomic-setbit.h8 #define ext2_set_bit_atomic(l, nr, addr) test_and_set_bit_le(nr, addr) argument
9 #define ext2_clear_bit_atomic(l, nr, addr) test_and_clear_bit_le(nr, addr) argument
Dext2-atomic.h8 #define ext2_set_bit_atomic(lock, nr, addr) \ argument
17 #define ext2_clear_bit_atomic(lock, nr, addr) \ argument
/include/linux/
Dquotaops.h283 static inline int dquot_alloc_space_nodirty(struct inode *inode, qsize_t nr) in dquot_alloc_space_nodirty()
288 static inline void dquot_alloc_space_nofail(struct inode *inode, qsize_t nr) in dquot_alloc_space_nofail()
294 static inline int dquot_alloc_space(struct inode *inode, qsize_t nr) in dquot_alloc_space()
310 static inline int dquot_alloc_block_nodirty(struct inode *inode, qsize_t nr) in dquot_alloc_block_nodirty()
315 static inline void dquot_alloc_block_nofail(struct inode *inode, qsize_t nr) in dquot_alloc_block_nofail()
320 static inline int dquot_alloc_block(struct inode *inode, qsize_t nr) in dquot_alloc_block()
325 static inline int dquot_prealloc_block_nodirty(struct inode *inode, qsize_t nr) in dquot_prealloc_block_nodirty()
330 static inline int dquot_prealloc_block(struct inode *inode, qsize_t nr) in dquot_prealloc_block()
340 static inline int dquot_reserve_block(struct inode *inode, qsize_t nr) in dquot_reserve_block()
346 static inline int dquot_claim_block(struct inode *inode, qsize_t nr) in dquot_claim_block()
[all …]
Dquicklist.h33 static inline void *quicklist_alloc(int nr, gfp_t flags, void (*ctor)(void *)) in quicklist_alloc()
55 static inline void __quicklist_free(int nr, void (*dtor)(void *), void *p, in __quicklist_free()
67 static inline void quicklist_free(int nr, void (*dtor)(void *), void *pp) in quicklist_free()
72 static inline void quicklist_free_page(int nr, void (*dtor)(void *), in quicklist_free_page()
Dbitops.h6 #define BIT(nr) (1UL << (nr)) argument
7 #define BIT_ULL(nr) (1ULL << (nr)) argument
8 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument
9 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) argument
10 #define BIT_ULL_MASK(nr) (1ULL << ((nr) % BITS_PER_LONG_LONG)) argument
11 #define BIT_ULL_WORD(nr) ((nr) / BITS_PER_LONG_LONG) argument
13 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) argument
Dpoll.h120 #define FDS_LONGS(nr) (((nr)+FDS_BITPERLONG-1)/FDS_BITPERLONG) argument
121 #define FDS_BYTES(nr) (FDS_LONGS(nr)*sizeof(long)) argument
130 int get_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) in get_fd_set()
141 set_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) in set_fd_set()
149 void zero_fd_set(unsigned long nr, unsigned long *fdset) in zero_fd_set()
Dpid.h54 int nr; member
168 pid_t nr = 0; in pid_nr() local
Dio.h51 unsigned int nr) in devm_ioport_map()
Dpagevec.h18 unsigned long nr; member
Dflex_array.h76 #define flex_array_put_ptr(fa, nr, src, gfp) \ argument
Dhwmon-sysfs.h43 u8 nr; member
Daio.h85 static inline long do_io_submit(aio_context_t ctx_id, long nr, in do_io_submit()
Dsh_intc.h77 #define INTC_SMP(stride, nr) .smp = (stride) | ((nr) << 8) argument
79 #define INTC_SMP(stride, nr) argument
Dperf_event.h59 __u64 nr; member
78 __u64 nr; member
680 perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr) in perf_sw_event()
694 perf_sw_event_sched(u32 event_id, u64 nr, u64 addr) in perf_sw_event_sched()
830 perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr) { } in perf_sw_event()
832 perf_sw_event_sched(u32 event_id, u64 nr, u64 addr) { } in perf_sw_event_sched()
Dspmi.h90 unsigned int nr; member
/include/asm-generic/
Dpci_iomap.h25 #define __pci_ioport_map(dev, port, nr) ioport_map((port), (nr)) argument
Dtlb.h53 unsigned int nr; member
73 unsigned int nr; member
/include/uapi/linux/
Dseccomp.h48 int nr; member
Dptrace.h61 __s32 nr; /* how may siginfos to take */ member
/include/media/
Dv4l2-dev.h157 int type, int nr) in video_register_device()
165 struct video_device *vdev, int type, int nr) in video_register_device_no_warn()

12