/linux/net/netfilter/ipset/ |
H A D | ip_set_bitmap_gen.h | 36 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) argument 39 mtype_gc_init(struct ip_set *set, void (*gc)(struct timer_list *t)) in mtype_gc_init() 48 mtype_ext_cleanup(struct ip_set *set) in mtype_ext_cleanup() 59 mtype_destroy(struct ip_set *set) in mtype_destroy() 72 mtype_flush(struct ip_set *set) in mtype_flush() 92 mtype_head(struct ip_set *set, struct sk_buff *skb) in mtype_head() 116 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_test() 121 void *x = get_ext(set, map, e->id); in mtype_test() local 130 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add() 135 void *x = get_ext(set, map, e->id); in mtype_add() local [all …]
|
H A D | ip_set_hash_gen.h | 19 #define ipset_dereference_set(p, set) \ argument 77 struct ip_set *set; /* Set the gc belongs to */ member 159 #define SET_ELEM_EXPIRED(set, d) \ argument 326 mtype_add_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n) in mtype_add_cidr() 353 mtype_del_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n) in mtype_del_cidr() 386 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup() 397 mtype_flush(struct ip_set *set) in mtype_flush() 429 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy() 450 mtype_destroy(struct ip_set *set) in mtype_destroy() 468 const struct htype *x = a->data; in mtype_same_set() local [all …]
|
H A D | ip_set_list_set.c | 29 struct ip_set *set; /* Sigh, in order to cleanup reference */ member 43 struct ip_set *set; /* attached to this ip_set */ member 49 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, in list_set_ktest() 74 list_set_kadd(struct ip_set *set, const struct sk_buff *skb, in list_set_kadd() 94 list_set_kdel(struct ip_set *set, const struct sk_buff *skb, in list_set_kdel() 114 list_set_kadt(struct ip_set *set, const struct sk_buff *skb, in list_set_kadt() 146 struct ip_set *set = e->set; in __list_set_del_rcu() local 153 list_set_del(struct ip_set *set, struct set_elem *e) in list_set_del() 164 list_set_replace(struct ip_set *set, struct set_elem *e, struct set_elem *old) in list_set_replace() 174 set_cleanup_entries(struct ip_set *set) in set_cleanup_entries() [all …]
|
H A D | ip_set_bitmap_port.c | 39 struct ip_set *set; /* attached to this ip_set */ member 127 bitmap_port_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_port_kadt() 153 bitmap_port_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_port_uadt() 212 const struct bitmap_port *x = a->data; in bitmap_port_same_set() local 231 init_map_port(struct ip_set *set, struct bitmap_port *map, in init_map_port() 249 bitmap_port_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_port_create()
|
H A D | ip_set_bitmap_ipmac.c | 51 struct ip_set *set; /* attached to this ip_set */ member 118 const struct ip_set_ext *ext, struct ip_set *set, in bitmap_ipmac_add_timeout() 208 bitmap_ipmac_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ipmac_kadt() 241 bitmap_ipmac_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_uadt() 283 const struct bitmap_ipmac *x = a->data; in bitmap_ipmac_same_set() local 299 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, in init_map_ipmac() 318 bitmap_ipmac_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_create()
|
/linux/include/linux/ |
H A D | signal.h | 65 static inline void sigaddset(sigset_t *set, int _sig) in sigaddset() 74 static inline void sigdelset(sigset_t *set, int _sig) in sigdelset() 83 static inline int sigismember(sigset_t *set, int _sig) in sigismember() 94 static inline int sigisemptyset(sigset_t *set) in sigisemptyset() 156 #define _sig_or(x,y) ((x) | (y)) argument 159 #define _sig_and(x,y) ((x) & (y)) in _SIG_SET_BINOP() argument 162 #define _sig_andn(x,y) ((x) & ~(y)) in _SIG_SET_BINOP() argument 186 #define _sig_not(x) (~(x)) argument 205 static inline void sigfillset(sigset_t *set) in sigfillset() 220 static inline void sigaddsetmask(sigset_t *set, unsigned long mask) in sigaddsetmask() [all …]
|
H A D | assoc_array_priv.h | 92 } set[2]; member 115 static inline bool assoc_array_ptr_is_meta(const struct assoc_array_ptr *x) in assoc_array_ptr_is_meta() 119 static inline bool assoc_array_ptr_is_leaf(const struct assoc_array_ptr *x) in assoc_array_ptr_is_leaf() 123 static inline bool assoc_array_ptr_is_shortcut(const struct assoc_array_ptr *x) in assoc_array_ptr_is_shortcut() 127 static inline bool assoc_array_ptr_is_node(const struct assoc_array_ptr *x) in assoc_array_ptr_is_node() 132 static inline void *assoc_array_ptr_to_leaf(const struct assoc_array_ptr *x) in assoc_array_ptr_to_leaf() 138 unsigned long __assoc_array_ptr_to_meta(const struct assoc_array_ptr *x) in __assoc_array_ptr_to_meta() 144 struct assoc_array_node *assoc_array_ptr_to_node(const struct assoc_array_ptr *x) in assoc_array_ptr_to_node() 149 struct assoc_array_shortcut *assoc_array_ptr_to_shortcut(const struct assoc_array_ptr *x) in assoc_array_ptr_to_shortcut()
|
H A D | jump_label.h | 170 static inline void jump_entry_set_init(struct jump_entry *entry, bool set) in jump_entry_set_init() 421 #define static_key_enabled(x) \ argument 488 #define static_branch_likely(x) \ argument 500 #define static_branch_unlikely(x) \ argument 514 #define static_branch_likely(x) likely_notrace(static_key_enabled(&(x)->key)) argument 515 #define static_branch_unlikely(x) unlikely_notrace(static_key_enabled(&(x)->key)) argument 519 #define static_branch_maybe(config, x) \ argument 527 #define static_branch_inc(x) static_key_slow_inc(&(x)->key) argument 528 #define static_branch_dec(x) static_key_slow_dec(&(x)->key) argument 529 #define static_branch_inc_cpuslocked(x) static_key_slow_inc_cpuslocked(&(x)->key) argument [all …]
|
/linux/arch/parisc/include/asm/ |
H A D | bitops.h | 59 int set; in test_and_set_bit() local 77 int set; in test_and_clear_bit() local 126 static __inline__ unsigned long __ffs(unsigned long x) in __ffs() 164 static __inline__ int ffs(int x) in ffs() 174 static __inline__ int fls(unsigned int x) in fls()
|
/linux/arch/sh/kernel/ |
H A D | signal_32.c | 120 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) in restore_sigcontext() argument 159 sigset_t set; in sys_sigreturn() local 189 sigset_t set; in sys_rt_sigreturn() local 226 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) in setup_sigcontext() argument 269 static int setup_frame(struct ksignal *ksig, sigset_t *set, in setup_frame() 335 static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, in setup_rt_frame()
|
/linux/arch/mips/include/asm/mach-lantiq/falcon/ |
H A D | lantiq_soc.h | 50 #define ltq_ebu_w32(x, y) ltq_w32((x), ltq_ebu_membase + (y)) argument 51 #define ltq_ebu_r32(x) ltq_r32(ltq_ebu_membase + (x)) argument 53 #define ltq_sys1_w32(x, y) ltq_w32((x), ltq_sys1_membase + (y)) argument 54 #define ltq_sys1_r32(x) ltq_r32(ltq_sys1_membase + (x)) argument 55 #define ltq_sys1_w32_mask(clear, set, reg) \ argument
|
/linux/arch/microblaze/kernel/ |
H A D | signal.c | 62 #define COPY(x) {err |= __get_user(regs->x, &sc->regs.x); } in restore_sigcontext() argument 86 sigset_t set; in sys_rt_sigreturn() local 123 #define COPY(x) {err |= __put_user(regs->x, &sc->regs.x); } in setup_sigcontext() argument 154 static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, in setup_rt_frame()
|
/linux/arch/mips/include/asm/mach-lantiq/ |
H A D | lantiq.h | 16 #define ltq_w32_mask(clear, set, reg) \ argument 22 #define ltq_ebu_w32(x, y) ltq_w32((x), ltq_ebu_membase + (y)) argument 23 #define ltq_ebu_r32(x) ltq_r32(ltq_ebu_membase + (x)) argument 24 #define ltq_ebu_w32_mask(x, y, z) \ argument
|
/linux/drivers/misc/mchp_pci1xxxx/ |
H A D | mchp_pci1xxxx_gpio.c | 19 #define OUT_EN_OFFSET(x) ((((x) / 32) * 4) + 0x400) argument 20 #define INP_EN_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x10) argument 21 #define OUT_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x20) argument 22 #define INP_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x30) argument 23 #define PULLUP_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x40) argument 24 #define PULLDOWN_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x50) argument 25 #define OPENDRAIN_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x60) argument 26 #define WAKEMASK_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x70) argument 27 #define MODE_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x80) argument 28 #define INTR_LO_TO_HI_EDGE_CONFIG(x) ((((x) / 32) * 4) + 0x400 + 0x90) argument [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | netcp_sgmii.c | 22 #define SGMII23_OFFSET(x) ((x - 2) * 0x100) argument 23 #define SGMII_OFFSET(x) ((x <= 1) ? (x * 0x100) : (SGMII23_OFFSET(x))) argument 26 #define SGMII_SRESET_REG(x) (SGMII_OFFSET(x) + 0x004) argument 27 #define SGMII_CTL_REG(x) (SGMII_OFFSET(x) + 0x010) argument 28 #define SGMII_STATUS_REG(x) (SGMII_OFFSET(x) + 0x014) argument 29 #define SGMII_MRADV_REG(x) (SGMII_OFFSET(x) + 0x018) argument 61 bool netcp_sgmii_rtreset(void __iomem *sgmii_ofs, int port, bool set) in netcp_sgmii_rtreset()
|
/linux/drivers/mtd/nand/raw/ |
H A D | s3c2410.c | 36 #define S3C2410_NFREG(x) (x) argument 55 #define S3C2410_NFCONF_TACLS(x) ((x)<<8) argument 56 #define S3C2410_NFCONF_TWRPH0(x) ((x)<<4) argument 57 #define S3C2410_NFCONF_TWRPH1(x) ((x)<<0) argument 59 #define S3C2440_NFCONF_TACLS(x) ((x)<<12) argument 60 #define S3C2440_NFCONF_TWRPH0(x) ((x)<<8) argument 61 #define S3C2440_NFCONF_TWRPH1(x) ((x)<<4) argument 114 struct s3c2410_nand_set *set; member 288 unsigned long set, cfg, mask; in s3c2410_nand_setrate() local 739 struct s3c2410_nand_set *set) in s3c2410_nand_add_partition() [all …]
|
/linux/arch/xtensa/kernel/ |
H A D | signal.c | 150 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) in setup_sigcontext() argument 189 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) in restore_sigcontext() argument 252 sigset_t set; in xtensa_rt_sigreturn() local 342 static int setup_frame(struct ksignal *ksig, sigset_t *set, in setup_frame()
|
/linux/net/netfilter/ |
H A D | nft_set_hash.c | 38 const struct nft_set *set; member 61 const struct nft_rhash_cmp_arg *x = arg->key; in nft_rhash_cmp() local 85 nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup() 105 nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get() 125 nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update() 169 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert() 194 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate() 203 const struct nft_set *set, in nft_rhash_flush() 212 nft_rhash_deactivate(const struct net *net, const struct nft_set *set, in nft_rhash_deactivate() 235 const struct nft_set *set, in nft_rhash_remove() [all …]
|
/linux/drivers/usb/serial/ |
H A D | ssu100.c | 76 u16 x = ((u16)(data[1] << 8) | (u16)(data[0])); in ssu100_setdevice() local 129 #define set_mctrl(dev, set) update_mctrl((dev), (set), 0) argument 133 static inline int update_mctrl(struct usb_device *dev, unsigned int set, in update_mctrl() 264 u16 x = ((u16)(START_CHAR(tty) << 8) | (u16)(STOP_CHAR(tty))); in ssu100_set_termios() local 380 unsigned int set, unsigned int clear) in ssu100_tiocmset()
|
/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-di.c | 81 #define DI_DW_SET(gen, set) (0x0088 + 4 * ((gen) + 0xc * (set))) argument 90 #define DI_SW_GEN0_RUN_COUNT(x) ((x) << 19) argument 91 #define DI_SW_GEN0_RUN_SRC(x) ((x) << 16) argument 92 #define DI_SW_GEN0_OFFSET_COUNT(x) ((x) << 3) argument 93 #define DI_SW_GEN0_OFFSET_SRC(x) ((x) << 0) argument 95 #define DI_SW_GEN1_CNT_POL_GEN_EN(x) ((x) << 29) argument 96 #define DI_SW_GEN1_CNT_CLR_SRC(x) ((x) << 25) argument 97 #define DI_SW_GEN1_CNT_POL_TRIGGER_SRC(x) ((x) << 12) argument 98 #define DI_SW_GEN1_CNT_POL_CLR_SRC(x) ((x) << 9) argument 99 #define DI_SW_GEN1_CNT_DOWN(x) ((x) << 16) argument [all …]
|
/linux/arch/sparc/kernel/ |
H A D | irq.h | 13 #define SUN4M_HARD_INT(x) (0x000000001 << (x)) argument 14 #define SUN4M_SOFT_INT(x) (0x000010000 << (x)) argument 32 u32 set; member
|
/linux/include/linux/mux/ |
H A D | driver.h | 26 int (*set)(struct mux_control *mux, int state); member 73 #define to_mux_chip(x) container_of((x), struct mux_chip, dev) argument
|
/linux/arch/arm/mach-footbridge/ |
H A D | netwinder-hw.c | 74 void nw_gpio_modify_op(unsigned int mask, unsigned int set) in nw_gpio_modify_op() 363 void nw_cpld_modify(unsigned int mask, unsigned int set) in nw_cpld_modify() 400 #define dprintk(x...) argument 402 #define dprintk(x...) printk(x) argument
|
/linux/arch/x86/kernel/cpu/mtrr/ |
H A D | mtrr.h | 14 #define Dprintk(x...) do { if (mtrr_debug) pr_info(x); } while (0) argument 20 void (*set)(unsigned int reg, unsigned long base, member
|
/linux/drivers/net/fddi/skfp/ |
H A D | pmf.c | 50 #define MS2BCLK(x) ((x)*12500L) argument 304 int set, int local) in smt_build_pmf_response() 1068 int local, int set) in smt_set_para() 1070 #define IFSET(x) if (set) (x) in smt_set_para() argument
|