Home
last modified time | relevance | path

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

1234567891011

/linux-4.19.296/include/uapi/asm-generic/
Dioctl.h69 #define _IOC(dir,type,nr,size) \ argument
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
95 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument
[all …]
/linux-4.19.296/include/asm-generic/bitops/
Dle.h53 static inline int test_bit_le(int nr, const void *addr) in test_bit_le()
58 static inline void set_bit_le(int nr, void *addr) in set_bit_le()
63 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le()
68 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le()
73 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le()
78 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le()
83 static inline int test_and_clear_bit_le(int nr, void *addr) in test_and_clear_bit_le()
88 static inline int __test_and_set_bit_le(int nr, void *addr) in __test_and_set_bit_le()
93 static inline int __test_and_clear_bit_le(int nr, void *addr) in __test_and_clear_bit_le()
Datomic.h14 static inline void set_bit(unsigned int nr, volatile unsigned long *p) in set_bit()
20 static inline void clear_bit(unsigned int nr, volatile unsigned long *p) in clear_bit()
26 static inline void change_bit(unsigned int nr, volatile unsigned long *p) in change_bit()
32 static inline int test_and_set_bit(unsigned int nr, volatile unsigned long *p) in test_and_set_bit()
42 static inline int test_and_clear_bit(unsigned int nr, volatile unsigned long *p) in test_and_clear_bit()
52 static inline int test_and_change_bit(unsigned int nr, volatile unsigned long *p) in test_and_change_bit()
Dnon-atomic.h16 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit()
24 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit()
41 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit()
58 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit()
77 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit()
88 static inline int __test_and_change_bit(int nr, in __test_and_change_bit()
104 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
Dlock.h18 static inline int test_and_set_bit_lock(unsigned int nr, in test_and_set_bit_lock()
40 static inline void clear_bit_unlock(unsigned int nr, volatile unsigned long *p) in clear_bit_unlock()
57 static inline void __clear_bit_unlock(unsigned int nr, in __clear_bit_unlock()
78 static inline bool clear_bit_unlock_is_negative_byte(unsigned int nr, in clear_bit_unlock_is_negative_byte()
Dext2-atomic.h9 #define ext2_set_bit_atomic(lock, nr, addr) \ argument
18 #define ext2_clear_bit_atomic(lock, nr, addr) \ argument
Dext2-atomic-setbit.h9 #define ext2_set_bit_atomic(l, nr, addr) test_and_set_bit_le(nr, addr) argument
10 #define ext2_clear_bit_atomic(l, nr, addr) test_and_clear_bit_le(nr, addr) argument
/linux-4.19.296/include/linux/
Dbits.h8 #define BIT(nr) (UL(1) << (nr)) argument
9 #define BIT_ULL(nr) (ULL(1) << (nr)) argument
10 #define BIT_MASK(nr) (UL(1) << ((nr) % BITS_PER_LONG)) argument
11 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) argument
12 #define BIT_ULL_MASK(nr) (ULL(1) << ((nr) % BITS_PER_LONG_LONG)) argument
13 #define BIT_ULL_WORD(nr) ((nr) / BITS_PER_LONG_LONG) argument
Dquotaops.h298 static inline int dquot_alloc_space_nodirty(struct inode *inode, qsize_t nr) in dquot_alloc_space_nodirty()
303 static inline void dquot_alloc_space_nofail(struct inode *inode, qsize_t nr) in dquot_alloc_space_nofail()
309 static inline int dquot_alloc_space(struct inode *inode, qsize_t nr) in dquot_alloc_space()
325 static inline int dquot_alloc_block_nodirty(struct inode *inode, qsize_t nr) in dquot_alloc_block_nodirty()
330 static inline void dquot_alloc_block_nofail(struct inode *inode, qsize_t nr) in dquot_alloc_block_nofail()
335 static inline int dquot_alloc_block(struct inode *inode, qsize_t nr) in dquot_alloc_block()
340 static inline int dquot_prealloc_block_nodirty(struct inode *inode, qsize_t nr) in dquot_prealloc_block_nodirty()
345 static inline int dquot_prealloc_block(struct inode *inode, qsize_t nr) in dquot_prealloc_block()
355 static inline int dquot_reserve_block(struct inode *inode, qsize_t nr) in dquot_reserve_block()
361 static inline int dquot_claim_block(struct inode *inode, qsize_t nr) in dquot_claim_block()
[all …]
Dquicklist.h34 static inline void *quicklist_alloc(int nr, gfp_t flags, void (*ctor)(void *)) in quicklist_alloc()
56 static inline void __quicklist_free(int nr, void (*dtor)(void *), void *p, in __quicklist_free()
68 static inline void quicklist_free(int nr, void (*dtor)(void *), void *pp) in quicklist_free()
73 static inline void quicklist_free_page(int nr, void (*dtor)(void *), in quicklist_free_page()
Dpage_ref.h91 static inline void page_ref_add(struct page *page, int nr) in page_ref_add()
98 static inline void page_ref_sub(struct page *page, int nr) in page_ref_sub()
119 static inline int page_ref_sub_and_test(struct page *page, int nr) in page_ref_sub_and_test()
155 static inline int page_ref_add_unless(struct page *page, int nr, int u) in page_ref_add_unless()
Dbitops.h8 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) argument
9 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) argument
219 static __always_inline void assign_bit(long nr, volatile unsigned long *addr, in assign_bit()
228 static __always_inline void __assign_bit(long nr, volatile unsigned long *addr, in __assign_bit()
/linux-4.19.296/drivers/gpio/
Dgpio-ich.c118 static int ichx_write_bit(int reg, unsigned nr, int val, int verify) in ichx_write_bit()
153 static int ichx_read_bit(int reg, unsigned nr) in ichx_read_bit()
173 static bool ichx_gpio_check_available(struct gpio_chip *gpio, unsigned nr) in ichx_gpio_check_available()
178 static int ichx_gpio_get_direction(struct gpio_chip *gpio, unsigned nr) in ichx_gpio_get_direction()
183 static int ichx_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) in ichx_gpio_direction_input()
195 static int ichx_gpio_direction_output(struct gpio_chip *gpio, unsigned nr, in ichx_gpio_direction_output()
215 static int ichx_gpio_get(struct gpio_chip *chip, unsigned nr) in ichx_gpio_get()
220 static int ich6_gpio_get(struct gpio_chip *chip, unsigned nr) in ich6_gpio_get()
247 static int ichx_gpio_request(struct gpio_chip *chip, unsigned nr) in ichx_gpio_request()
264 static int ich6_gpio_request(struct gpio_chip *chip, unsigned nr) in ich6_gpio_request()
[all …]
Dgpio-sta2x11.c66 static void gsta_gpio_set(struct gpio_chip *gpio, unsigned nr, int val) in gsta_gpio_set()
78 static int gsta_gpio_get(struct gpio_chip *gpio, unsigned nr) in gsta_gpio_get()
87 static int gsta_gpio_direction_output(struct gpio_chip *gpio, unsigned nr, in gsta_gpio_direction_output()
103 static int gsta_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) in gsta_gpio_direction_input()
157 static void gsta_set_config(struct gsta_gpio *chip, int nr, unsigned cfg) in gsta_set_config()
227 int nr = data->irq - chip->irq_base; in gsta_irq_disable() local
250 int nr = data->irq - chip->irq_base; in gsta_irq_enable() local
278 int nr = d->irq - chip->irq_base; in gsta_irq_type() local
297 int i, nr, base; in gsta_gpio_handler() local
Dgpio-vx855.c97 unsigned int nr) in vx855gpio_direction_input()
121 static int vx855gpio_get(struct gpio_chip *gpio, unsigned int nr) in vx855gpio_get()
146 static void vx855gpio_set(struct gpio_chip *gpio, unsigned int nr, in vx855gpio_set()
175 unsigned int nr, int val) in vx855gpio_direction_output()
189 static int vx855gpio_set_config(struct gpio_chip *gpio, unsigned int nr, in vx855gpio_set_config()
Dgpio-bt8xx.c81 static int bt8xxgpio_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) in bt8xxgpio_gpio_direction_input()
102 static int bt8xxgpio_gpio_get(struct gpio_chip *gpio, unsigned nr) in bt8xxgpio_gpio_get()
116 unsigned nr, int val) in bt8xxgpio_gpio_direction_output()
141 unsigned nr, int val) in bt8xxgpio_gpio_set()
/linux-4.19.296/fs/minix/
Dminix.h107 #define minix_test_and_set_bit(nr, addr) \ argument
109 #define minix_set_bit(nr, addr) \ argument
111 #define minix_test_and_clear_bit(nr, addr) \ argument
113 #define minix_test_bit(nr, addr) \ argument
142 #define minix_test_and_set_bit(nr, addr) \ argument
144 #define minix_set_bit(nr, addr) \ argument
146 #define minix_test_and_clear_bit(nr, addr) \ argument
149 static inline int minix_test_bit(int nr, const void *vaddr) in minix_test_bit()
/linux-4.19.296/drivers/isdn/hardware/eicon/
Ddiva_dma.c59 int nr, void *virt, dword phys, in diva_init_dma_map_entry()
81 void diva_free_dma_map_entry(struct _diva_dma_map_entry *pmap, int nr) { in diva_free_dma_map_entry()
87 void diva_get_dma_map_entry(struct _diva_dma_map_entry *pmap, int nr, in diva_get_dma_map_entry()
92 void *diva_get_entry_handle(struct _diva_dma_map_entry *pmap, int nr) { in diva_get_entry_handle()
/linux-4.19.296/drivers/sh/clk/
Dcpg.c94 int __init sh_clk_mstp_register(struct clk *clks, int nr) in sh_clk_mstp_register()
241 static int __init sh_clk_div_register_ops(struct clk *clks, int nr, in sh_clk_div_register_ops()
336 int __init sh_clk_div6_register(struct clk *clks, int nr) in sh_clk_div6_register()
342 int __init sh_clk_div6_reparent_register(struct clk *clks, int nr) in sh_clk_div6_reparent_register()
389 int __init sh_clk_div4_register(struct clk *clks, int nr, in sh_clk_div4_register()
395 int __init sh_clk_div4_enable_register(struct clk *clks, int nr, in sh_clk_div4_enable_register()
402 int __init sh_clk_div4_reparent_register(struct clk *clks, int nr, in sh_clk_div4_reparent_register()
467 int __init sh_clk_fsidiv_register(struct clk *clks, int nr) in sh_clk_fsidiv_register()
/linux-4.19.296/drivers/clk/hisilicon/
Dclk-hi3660.c481 int nr = ARRAY_SIZE(hi3660_iomcu_gate_sep_clks); in hi3660_clk_iomcu_init() local
495 int nr = ARRAY_SIZE(hi3660_pmu_gate_clks); in hi3660_clk_pmuctrl_init() local
508 int nr = ARRAY_SIZE(hi3660_pctrl_gate_clks); in hi3660_clk_pctrl_init() local
520 int nr = ARRAY_SIZE(hi3660_sctrl_gate_clks) + in hi3660_clk_sctrl_init() local
542 int nr = ARRAY_SIZE(hi3660_fixed_rate_clks) + in hi3660_clk_crgctrl_early_init() local
/linux-4.19.296/fs/ubifs/
Dshrinker.c70 static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention) in shrink_tnc()
156 static int shrink_tnc_trees(int nr, int age, int *contention) in shrink_tnc_trees()
294 unsigned long nr = sc->nr_to_scan; in ubifs_shrink_scan() local
/linux-4.19.296/fs/ocfs2/
Dblockcheck.c107 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d, unsigned int nr) in ocfs2_hamming_encode()
166 void ocfs2_hamming_fix(void *data, unsigned int d, unsigned int nr, in ocfs2_hamming_fix()
483 void ocfs2_block_check_compute_bhs(struct buffer_head **bhs, int nr, in ocfs2_block_check_compute_bhs()
527 int ocfs2_block_check_validate_bhs(struct buffer_head **bhs, int nr, in ocfs2_block_check_validate_bhs()
627 struct buffer_head **bhs, int nr, in ocfs2_compute_meta_ecc_bhs()
635 struct buffer_head **bhs, int nr, in ocfs2_validate_meta_ecc_bhs()
/linux-4.19.296/lib/
Dsbitmap.c86 int nr; in __sbitmap_get_word() local
117 int nr = -1; in sbitmap_get() local
149 int nr = -1; in sbitmap_get_shallow() local
375 int nr; in __sbitmap_queue_get() local
404 int nr; in __sbitmap_queue_get_shallow() local
509 void sbitmap_queue_clear(struct sbitmap_queue *sbq, unsigned int nr, in sbitmap_queue_clear()
/linux-4.19.296/drivers/pci/
Dirq.c83 int pci_request_irq(struct pci_dev *dev, unsigned int nr, irq_handler_t handler, in pci_request_irq()
122 void pci_free_irq(struct pci_dev *dev, unsigned int nr, void *dev_id) in pci_free_irq()
/linux-4.19.296/drivers/isdn/hisax/
Davm_a1.c95 #define READHSCX(cs, nr, reg) readreg(cs->hw.avm.hscx[nr], reg) argument
96 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.avm.hscx[nr], reg, data) argument
97 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.avm.hscxfifo[nr], ptr, cnt) argument
98 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw.avm.hscxfifo[nr], ptr, cnt) argument

1234567891011