/linux/fs/xfs/libxfs/ |
H A D | xfs_bit.h | 16 static inline uint64_t xfs_mask64hi(int n) in xfs_mask64hi() 20 static inline uint32_t xfs_mask32lo(int n) in xfs_mask32lo() 24 static inline uint64_t xfs_mask64lo(int n) in xfs_mask64lo() 51 int n = 0; in xfs_lowbit64() local
|
/linux/include/linux/ |
H A D | list.h | 723 #define list_for_each_safe(pos, n, head) \ argument 734 #define list_for_each_prev_safe(pos, n, head) \ argument 856 #define list_for_each_entry_safe(pos, n, head, member) \ argument 872 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument 888 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument 903 #define list_for_each_entry_safe_reverse(pos, n, head, member) \ argument 921 #define list_safe_reset_next(pos, n, member) \ argument 975 static inline void __hlist_del(struct hlist_node *n) in __hlist_del() 992 static inline void hlist_del(struct hlist_node *n) in hlist_del() 1005 static inline void hlist_del_init(struct hlist_node *n) in hlist_del_init() [all …]
|
H A D | uaccess.h | 90 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() 102 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() 130 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() 140 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() 159 _inline_copy_from_user(void *to, const void __user *from, unsigned long n) in _inline_copy_from_user() 190 _inline_copy_to_user(void __user *to, const void *from, unsigned long n) in _inline_copy_to_user() 205 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() 217 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() 327 unsigned long n) in __copy_from_user_inatomic_nocache()
|
H A D | rio_regs.h | 224 #define RIO_PORT_N_MNT_REQ_CSR(n, m) (0x40 + (n) * (0x20 * (m))) argument 227 #define RIO_PORT_N_MNT_RSP_CSR(n, m) (0x44 + (n) * (0x20 * (m))) argument 231 #define RIO_PORT_N_ACK_STS_CSR(n) (0x48 + (n) * 0x20) /* Only in RM-I */ argument 236 #define RIO_PORT_N_CTL2_CSR(n, m) (0x54 + (n) * (0x20 * (m))) argument 238 #define RIO_PORT_N_ERR_STS_CSR(n, m) (0x58 + (n) * (0x20 * (m))) argument 246 #define RIO_PORT_N_CTL_CSR(n, m) (0x5c + (n) * (0x20 * (m))) argument 255 #define RIO_PORT_N_OB_ACK_CSR(n) (0x60 + (n) * 0x40) /* Only in RM-II */ argument 259 #define RIO_PORT_N_IB_ACK_CSR(n) (0x64 + (n) * 0x40) /* Only in RM-II */ argument 267 #define RIO_DEV_PORT_N_MNT_REQ_CSR(d, n) \ argument 270 #define RIO_DEV_PORT_N_MNT_RSP_CSR(d, n) \ argument [all …]
|
H A D | kfifo.h | 530 #define kfifo_in(fifo, buf, n) \ argument 552 #define kfifo_in_spinlocked(fifo, buf, n, lock) \ argument 573 #define kfifo_in_spinlocked_noirqsave(fifo, buf, n, lock) \ argument 583 #define kfifo_in_locked(fifo, buf, n, lock) \ argument 598 #define kfifo_out(fifo, buf, n) \ argument 622 #define kfifo_out_spinlocked(fifo, buf, n, lock) \ argument 645 #define kfifo_out_spinlocked_noirqsave(fifo, buf, n, lock) \ argument 657 #define kfifo_out_locked(fifo, buf, n, lock) \ argument 831 #define kfifo_out_peek(fifo, buf, n) \ argument 861 #define kfifo_out_linear(fifo, tail, n) \ argument [all …]
|
/linux/arch/parisc/include/asm/ |
H A D | cmpxchg.h | 79 #define arch_cmpxchg(ptr, o, n) \ argument 107 #define arch_cmpxchg_local(ptr, o, n) \ argument 111 #define arch_cmpxchg64_local(ptr, o, n) \ argument 117 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 120 #define arch_cmpxchg64(ptr, o, n) __cmpxchg_u64(ptr, o, n) argument
|
/linux/security/keys/ |
H A D | proc.c | 64 static struct rb_node *key_serial_next(struct seq_file *p, struct rb_node *n) in key_serial_next() 81 struct rb_node *n = key_serial_tree.rb_node; in find_ge_key() local 129 static inline key_serial_t key_node_serial(struct rb_node *n) in key_node_serial() 137 struct rb_node *n; in proc_keys_next() local 252 static struct rb_node *__key_user_next(struct user_namespace *user_ns, struct rb_node *n) in __key_user_next() 263 static struct rb_node *key_user_next(struct user_namespace *user_ns, struct rb_node *n) in key_user_next() 270 struct rb_node *n = rb_first(r); in key_user_first() local
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_selftest.c | 80 #define selftest(n, f) [mock_##n] = { .name = #n, { .mock = f } }, argument 86 #define selftest(n, f) [live_##n] = { .name = #n, { .live = f } }, argument 92 #define selftest(n, f) [perf_##n] = { .name = #n, { .live = f } }, argument 99 #define selftest(n, func) selftest_0(n, func, param(n)) argument 100 #define param(n) __PASTE(igt__, __PASTE(__LINE__, __mock_##n)) argument 101 #define selftest_0(n, func, id) \ argument 107 #define param(n) __PASTE(igt__, __PASTE(__LINE__, __live_##n)) argument 108 #define selftest_0(n, func, id) \ argument 114 #define param(n) __PASTE(igt__, __PASTE(__LINE__, __perf_##n)) argument 115 #define selftest_0(n, func, id) \ argument
|
/linux/arch/um/kernel/skas/ |
H A D | uaccess.c | 69 int n; in do_op_one_page() local 98 long size, remain, n; in buffer_op() local 147 unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() 162 unsigned long raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() 171 int n; in strncpy_chunk_from_user() local 184 long n; in strncpy_from_user() local 211 int *len_ptr = arg, n; in strnlen_chunk() local 223 int count = 0, n; in strnlen_user() local
|
/linux/fs/qnx6/ |
H A D | qnx6.h | 78 static inline __u64 fs64_to_cpu(struct qnx6_sb_info *sbi, __fs64 n) in fs64_to_cpu() 86 static inline __fs64 cpu_to_fs64(struct qnx6_sb_info *sbi, __u64 n) in cpu_to_fs64() 94 static inline __u32 fs32_to_cpu(struct qnx6_sb_info *sbi, __fs32 n) in fs32_to_cpu() 102 static inline __fs32 cpu_to_fs32(struct qnx6_sb_info *sbi, __u32 n) in cpu_to_fs32() 110 static inline __u16 fs16_to_cpu(struct qnx6_sb_info *sbi, __fs16 n) in fs16_to_cpu() 118 static inline __fs16 cpu_to_fs16(struct qnx6_sb_info *sbi, __u16 n) in cpu_to_fs16()
|
/linux/arch/arm/mach-lpc32xx/ |
H A D | lpc32xx.h | 14 #define _BIT(n) _SBF(n, 1) argument 284 #define LPC32XX_CLKPWR_HCLKDIV_PCLK_DIV(n) (((n) & 0x1F) << 2) argument 285 #define LPC32XX_CLKPWR_HCLKDIV_DIV_2POW(n) ((n) & 0x3) argument 321 #define LPC32XX_CLKPWR_MOSC_ADD_CAP(n) (((n) & 0x7F) << 2) argument 329 #define LPC32XX_CLKPWR_SYSCTRL_BP_TRIG(n) (((n) & 0x3FF) << 2) argument 347 #define LPC32XX_CLKPWR_LCDCTRL_SET_PSCALE(n) ((n - 1) & 0x1F) argument 357 #define LPC32XX_CLKPWR_HCLKPLL_POSTDIV_2POW(n) (((n) & 0x3) << 11) argument 358 #define LPC32XX_CLKPWR_HCLKPLL_PREDIV_PLUS1(n) (((n) & 0x3) << 9) argument 359 #define LPC32XX_CLKPWR_HCLKPLL_PLLM(n) (((n) & 0xFF) << 1) argument 365 #define LPC32XX_CLKPWR_ADCCTRL1_RTDIV(n) (((n) & 0xFF) << 0) argument [all …]
|
/linux/drivers/bus/mhi/ep/ |
H A D | internal.h | 52 #define CHDB_LOWER_n(n) (0x400 + 0x8 * (n)) argument 53 #define CHDB_HIGHER_n(n) (0x404 + 0x8 * (n)) argument 54 #define ERDB_LOWER_n(n) (0x800 + 0x8 * (n)) argument 55 #define ERDB_HIGHER_n(n) (0x804 + 0x8 * (n)) argument 60 #define MHI_CHDB_INT_STATUS_n(n) (0x28 + 0x4 * (n)) argument 61 #define MHI_ERDB_INT_STATUS_n(n) (0x38 + 0x4 * (n)) argument 68 #define MHI_CHDB_INT_CLEAR_n(n) (0x70 + 0x4 * (n)) argument 70 #define MHI_ERDB_INT_CLEAR_n(n) (0x80 + 0x4 * (n)) argument 82 #define MHI_CHDB_INT_MASK_n(n) (0xb8 + 0x4 * (n)) argument 84 #define MHI_ERDB_INT_MASK_n(n) (0xc8 + 0x4 * (n)) argument
|
/linux/tools/lib/perf/ |
H A D | lib.c | 10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() 36 ssize_t readn(int fd, void *buf, size_t n) in readn() 41 ssize_t preadn(int fd, void *buf, size_t n, off_t offs) in preadn() 64 ssize_t writen(int fd, const void *buf, size_t n) in writen()
|
/linux/arch/sparc/include/asm/ |
H A D | io_32.h | 24 int c, __kernel_size_t n) in _memset_io() 35 __kernel_size_t n) in _memcpy_fromio() 47 __kernel_size_t n) in _memcpy_toio() 96 __kernel_size_t n) in sbus_memset_io() 106 __kernel_size_t n) in sbus_memcpy_fromio() 119 __kernel_size_t n) in sbus_memcpy_toio()
|
/linux/drivers/irqchip/ |
H A D | irq-davinci-cp-intc.c | 31 #define DAVINCI_CP_INTC_SYS_STAT_CLR(n) (0x0280 + (n << 2)) argument 32 #define DAVINCI_CP_INTC_SYS_ENABLE_CLR(n) (0x0380 + (n << 2)) argument 33 #define DAVINCI_CP_INTC_CHAN_MAP(n) (0x0400 + (n << 2)) argument 34 #define DAVINCI_CP_INTC_SYS_POLARITY(n) (0x0d00 + (n << 2)) argument 35 #define DAVINCI_CP_INTC_SYS_TYPE(n) (0x0d80 + (n << 2)) argument 36 #define DAVINCI_CP_INTC_HOST_ENABLE(n) (0x1500 + (n << 2)) argument
|
/linux/net/core/ |
H A D | dev.h | 211 static inline u32 napi_get_defer_hard_irqs(const struct napi_struct *n) in napi_get_defer_hard_irqs() 221 static inline void napi_set_defer_hard_irqs(struct napi_struct *n, u32 defer) in napi_set_defer_hard_irqs() 254 napi_get_gro_flush_timeout(const struct napi_struct *n) in napi_get_gro_flush_timeout() 266 static inline void napi_set_gro_flush_timeout(struct napi_struct *n, in napi_set_gro_flush_timeout() 300 napi_get_irq_suspend_timeout(const struct napi_struct *n) in napi_get_irq_suspend_timeout() 312 static inline void napi_set_irq_suspend_timeout(struct napi_struct *n, in napi_set_irq_suspend_timeout() 318 static inline enum netdev_napi_threaded napi_get_threaded(struct napi_struct *n) in napi_get_threaded() 327 napi_get_threaded_config(struct net_device *dev, struct napi_struct *n) in napi_get_threaded_config()
|
/linux/arch/m68k/include/asm/ |
H A D | string.h | 25 static inline char *strncpy(char *dest, const char *src, size_t n) in strncpy() 45 #define memcmp(d, s, n) __builtin_memcmp(d, s, n) argument 49 #define memset(d, c, n) __builtin_memset(d, c, n) argument 53 #define memcpy(d, s, n) __builtin_memcpy(d, s, n) argument
|
/linux/include/linux/mfd/ |
H A D | mxs-lradc.h | 53 #define LRADC_CTRL1_LRADC_IRQ_EN(n) (1 << ((n) + 16)) argument 58 #define LRADC_CTRL1_LRADC_IRQ(n) BIT(n) argument 70 #define LRADC_CH(n) (0x50 + (0x10 * (n))) argument 79 #define LRADC_DELAY(n) (0xd0 + (0x10 * (n))) argument 103 #define LRADC_CTRL4_LRADCSELECT_MASK(n) (0xf << ((n) * 4)) argument 104 #define LRADC_CTRL4_LRADCSELECT_OFFSET(n) ((n) * 4) argument 105 #define LRADC_CTRL4_LRADCSELECT(n, x) \ argument
|
/linux/arch/arm/include/asm/ |
H A D | delay.h | 58 #define __delay(n) arm_delay_ops.delay(n) argument 79 #define __udelay(n) arm_delay_ops.udelay(n) argument 80 #define __const_udelay(n) arm_delay_ops.const_udelay(n) argument 82 #define udelay(n) \ argument
|
/linux/drivers/video/fbdev/ |
H A D | c2p_core.h | 32 static __always_inline u32 get_mask(unsigned int n) in get_mask() 60 static __always_inline void transp8(u32 d[], unsigned int n, unsigned int m) in transp8() 102 static __always_inline void transp4(u32 d[], unsigned int n, unsigned int m) in transp4() 129 static __always_inline void transp4x(u32 d[], unsigned int n, unsigned int m) in transp4x()
|
/linux/net/ipv4/ |
H A D | fib_trie.c | 117 #define IS_TRIE(n) ((n)->pos >= KEYLENGTH) argument 118 #define IS_TNODE(n) ((n)->bits) argument 119 #define IS_LEAF(n) (!(n)->bits) argument 143 #define TNODE_SIZE(n) offsetof(struct tnode, kv[0].tnode[n]) argument 203 static inline void node_set_parent(struct key_vector *n, struct key_vector *tp) in node_set_parent() 209 #define NODE_INIT_PARENT(n, p) RCU_INIT_POINTER(tn_info(n)->parent, p) argument 305 struct tnode *n = container_of(head, struct tnode, rcu); in __node_free_rcu() local 313 #define node_free(n) call_rcu(&tn_info(n)->rcu, __node_free_rcu) argument 332 static inline void empty_child_inc(struct key_vector *n) in empty_child_inc() 340 static inline void empty_child_dec(struct key_vector *n) in empty_child_dec() [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_hdmi.h | 45 #define SUN4I_HDMI_AVI_INFOFRAME_REG(n) (0x080 + (n)) argument 67 #define SUN4I_HDMI_PAD_CTRL1_REG_EMP(n) (((n) & 7) << 10) argument 69 #define SUN4I_HDMI_PAD_CTRL1_REG_AMP(n) (((n) & 7) << 3) argument 83 #define SUN4I_HDMI_PLL_CTRL_VCO_GAIN(n) (((n) & 7) << 20) argument 84 #define SUN4I_HDMI_PLL_CTRL_S(n) (((n) & 7) << 17) argument 85 #define SUN4I_HDMI_PLL_CTRL_CP_S(n) (((n) & 0x1f) << 12) argument 86 #define SUN4I_HDMI_PLL_CTRL_CS(n) (((n) & 0xf) << 8) argument 87 #define SUN4I_HDMI_PLL_CTRL_DIV(n) (((n) & 0xf) << 4) argument 89 #define SUN4I_HDMI_PLL_CTRL_VCO_S(n) ((n) & 0xf) argument 92 #define SUN4I_HDMI_PLL_DBG0_TMDS_PARENT(n) (((n) & 1) << 21) argument [all …]
|
/linux/lib/crypto/mpi/ |
H A D | mpi-bit.c | 43 unsigned n; in mpi_get_nbits() local 63 int mpi_test_bit(MPI a, unsigned int n) in mpi_test_bit() 81 int mpi_set_bit(MPI a, unsigned int n) in mpi_set_bit() 105 int mpi_rshift(MPI x, MPI a, unsigned int n) in mpi_rshift()
|
/linux/drivers/phy/allwinner/ |
H A D | phy-sun50i-usb3.c | 44 #define SUNXI_TX_DEEMPH_3P5DB(n) ((n) << 19) argument 46 #define SUNXI_TX_DEEMPH_6DB(n) ((n) << 13) argument 48 #define SUNXI_TX_SWING_FULL(n) ((n) << 6) argument 50 #define SUNXI_LOS_BIAS(n) ((n) << 3) argument 52 #define SUNXI_TXVBOOSTLVL(n) ((n) << 0) argument
|
/linux/tools/testing/selftests/kvm/arm64/ |
H A D | vpmu_counter_access.c | 53 static uint64_t get_counters_mask(uint64_t n) in get_counters_mask() 106 #define RETURN_READ_PMEVCNTRN(n) \ argument 108 static unsigned long read_pmevcntrn(int n) in read_pmevcntrn() 114 #define WRITE_PMEVCNTRN(n) \ argument 116 static void write_pmevcntrn(int n, unsigned long val) in write_pmevcntrn() 122 #define READ_PMEVTYPERN(n) \ argument 124 static unsigned long read_pmevtypern(int n) in read_pmevtypern() 130 #define WRITE_PMEVTYPERN(n) \ argument 132 static void write_pmevtypern(int n, unsigned long val) in write_pmevtypern()
|