Home
last modified time | relevance | path

Searched +defs:x +defs:set (Results 1 – 25 of 105) sorted by relevance

12345

/linux/net/netfilter/ipset/
H A Dip_set_bitmap_gen.h36 #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 Dip_set_hash_gen.h19 #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()
398 mtype_flush(struct ip_set *set) in mtype_flush()
430 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy()
451 mtype_destroy(struct ip_set *set) in mtype_destroy()
469 const struct htype *x = a->data; in mtype_same_set() local
[all …]
H A Dip_set_list_set.c29 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 Dip_set_bitmap_port.c39 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()
/linux/include/linux/
H A Dsignal.h65 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 Dassoc_array_priv.h92 } 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()
/linux/arch/parisc/include/asm/
H A Dbitops.h59 int set; in test_and_set_bit() local
77 int set; in test_and_clear_bit() local
126 static __inline__ __attribute_const__ unsigned long __ffs(unsigned long x) in __ffs()
164 static __inline__ __attribute_const__ int ffs(int x) in ffs()
174 static __inline__ __attribute_const__ int fls(unsigned int x) in fls()
/linux/arch/sh/kernel/
H A Dsignal_32.c120 #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 Dlantiq_soc.h50 #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/mips/include/asm/mach-lantiq/
H A Dlantiq.h16 #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/arch/microblaze/kernel/
H A Dsignal.c62 #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/drivers/misc/mchp_pci1xxxx/
H A Dmchp_pci1xxxx_gpio.c19 #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 Dnetcp_sgmii.c22 #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/arch/xtensa/kernel/
H A Dsignal.c150 #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 Dnft_set_hash.c39 const struct nft_set *set; member
62 const struct nft_rhash_cmp_arg *x = arg->key; in nft_rhash_cmp() local
86 nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup()
106 nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get()
126 nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update()
171 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert()
197 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate()
206 const struct nft_set *set, in nft_rhash_flush()
215 nft_rhash_deactivate(const struct net *net, const struct nft_set *set, in nft_rhash_deactivate()
238 const struct nft_set *set, in nft_rhash_remove()
[all …]
/linux/drivers/usb/serial/
H A Dssu100.c76 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/tools/perf/util/
H A Dutil.h86 bool set; global() member
95 realloc_array_as_needed(a,n,x,v) global() argument
/linux/drivers/gpu/ipu-v3/
H A Dipu-di.c81 #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 Dirq.h13 #define SUN4M_HARD_INT(x) (0x000000001 << (x)) argument
14 #define SUN4M_SOFT_INT(x) (0x000010000 << (x)) argument
32 u32 set; member
/linux/drivers/net/phy/
H A Dmxl-86110.c84 # define MXL86110_COM_EXT_LED_GEN_CFG_LFM(x) ((BIT(0) | BIT(1)) << (3 * (x))) argument
85 # define MXL86110_COM_EXT_LED_GEN_CFG_LFME(x) (BIT(0) << (3 * (x))) argument
86 # define MXL86110_COM_EXT_LED_GEN_CFG_LFE(x) (BIT(2) << (3 * (x))) argument
253 u16 regnum, u16 mask, u16 set) in __mxl86110_modify_extended_reg()
322 u16 regnum, u16 mask, u16 set) in mxl86110_modify_extended_reg()
539 u16 mask, set; in mxl86110_led_brightness_set() local
/linux/arch/mips/lantiq/falcon/
H A Dsysctrl.c65 #define sysctl_w32(m, x, y) ltq_w32((x), sysctl_membase[m] + (y)) argument
66 #define sysctl_r32(m, x) ltq_r32(sysctl_membase[m] + (x)) argument
67 #define sysctl_w32_mask(m, clear, set, reg) \ argument
70 #define status_w32(x, y) ltq_w32((x), status_membase + (y)) argument
71 #define status_r32(x) ltq_r32(status_membase + (x)) argument
/linux/include/linux/mux/
H A Ddriver.h26 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 Dnetwinder-hw.c74 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/drivers/net/fddi/skfp/
H A Dpmf.c50 #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
/linux/drivers/gpu/drm/
H A Ddrm_crtc_helper.c285 int x, int y, in drm_crtc_helper_set_mode()
552 int drm_crtc_helper_set_config(struct drm_mode_set *set, in drm_crtc_helper_set_config()
1052 struct drm_mode_set set = { in drm_helper_force_disable_all() local

12345