/linux-master/drivers/s390/cio/ |
H A D | idset.h | 14 void idset_free(struct idset *set); 15 void idset_fill(struct idset *set); 18 void idset_sch_add(struct idset *set, struct subchannel_id id); 19 void idset_sch_del(struct idset *set, struct subchannel_id id); 20 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid); 21 int idset_sch_contains(struct idset *set, struct subchannel_id id); 22 int idset_is_empty(struct idset *set);
|
H A D | idset.c | 26 struct idset *set; local 28 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); 29 if (set) { 30 set->num_ssid = num_ssid; 31 set->num_id = num_id; 32 memset(set->bitmap, 0, bitmap_size(num_ssid, num_id)); 34 return set; 37 void idset_free(struct idset *set) argument 39 vfree(set); 42 void idset_fill(struct idset *set) argument 47 idset_add(struct idset *set, int ssid, int id) argument 52 idset_del(struct idset *set, int ssid, int id) argument 57 idset_contains(struct idset *set, int ssid, int id) argument 67 idset_sch_add(struct idset *set, struct subchannel_id schid) argument 72 idset_sch_del(struct idset *set, struct subchannel_id schid) argument 78 idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) argument 85 idset_sch_contains(struct idset *set, struct subchannel_id schid) argument 90 idset_is_empty(struct idset *set) argument [all...] |
/linux-master/tools/lib/bpf/ |
H A D | strset.h | 13 void strset__free(struct strset *set); 15 const char *strset__data(const struct strset *set); 16 size_t strset__data_size(const struct strset *set); 18 int strset__find_str(struct strset *set, const char *s); 19 int strset__add_str(struct strset *set, const char *s);
|
H A D | strset.c | 18 /* lookup index for each unique string in strings set */ 41 struct strset *set = calloc(1, sizeof(*set)); local 45 if (!set) 48 hash = hashmap__new(strset_hash_fn, strset_equal_fn, set); 52 set->strs_data_max_len = max_data_sz; 53 set->strs_hash = hash; 58 set->strs_data = malloc(init_data_sz); 59 if (!set->strs_data) 62 memcpy(set 84 strset__free(struct strset *set) argument 94 strset__data_size(const struct strset *set) argument 99 strset__data(const struct strset *set) argument 104 strset_add_str_mem(struct strset *set, size_t add_sz) argument 116 strset__find_str(struct strset *set, const char *s) argument 142 strset__add_str(struct strset *set, const char *s) argument [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | arg_parsing.c | 6 static void init_test_filter_set(struct test_filter_set *set) argument 8 set->cnt = 0; 9 set->tests = NULL; 12 static void free_test_filter_set(struct test_filter_set *set) argument 16 for (i = 0; i < set->cnt; i++) { 17 for (j = 0; j < set->tests[i].subtest_cnt; j++) 18 free((void *)set->tests[i].subtests[j]); 19 free(set->tests[i].subtests); 20 free(set->tests[i].name); 23 free(set 29 struct test_filter_set set; local 118 struct test_filter_set set; local [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | signal.h | 27 static inline void sigaddset(sigset_t *set, int _sig) argument 30 : "+o" (*set) 35 static inline void sigdelset(sigset_t *set, int _sig) argument 38 : "+o" (*set) 43 static inline int __const_sigismember(sigset_t *set, int _sig) argument 46 return 1 & (set->sig[sig / _NSIG_BPW] >> (sig % _NSIG_BPW)); 49 static inline int __gen_sigismember(sigset_t *set, int _sig) argument 54 : "o" (*set), "id" ((_sig-1) ^ 31) 59 #define sigismember(set,sig) \ 61 __const_sigismember(set,si [all...] |
/linux-master/drivers/media/pci/bt8xx/ |
H A D | bttv-audio-hook.h | 14 void lt9415_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 15 void avermedia_tvphone_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 16 void avermedia_tv_stereo_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 17 void terratv_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 18 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 19 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 20 void winfast2000_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 21 void pvbt878p9b_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 22 void fv2000s_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 23 void windvr_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | signal.h | 44 #define sigaddset(set,sig) \ 46 ? __const_sigaddset((set), (sig)) \ 47 : __gen_sigaddset((set), (sig))) 49 static inline void __gen_sigaddset(sigset_t *set, int _sig) argument 51 asm("btsl %1,%0" : "+m"(*set) : "Ir"(_sig - 1) : "cc"); 54 static inline void __const_sigaddset(sigset_t *set, int _sig) argument 57 set->sig[sig / _NSIG_BPW] |= 1 << (sig % _NSIG_BPW); 60 #define sigdelset(set, sig) \ 62 ? __const_sigdelset((set), (sig)) \ 63 : __gen_sigdelset((set), (si 66 __gen_sigdelset(sigset_t *set, int _sig) argument 71 __const_sigdelset(sigset_t *set, int _sig) argument 77 __const_sigismember(sigset_t *set, int _sig) argument 83 __gen_sigismember(sigset_t *set, int _sig) argument [all...] |
H A D | unwind_hints.h | 26 .set sp_reg, ORC_REG_SP_INDIRECT 28 .set sp_reg, ORC_REG_SP 31 .set sp_reg, ORC_REG_BP 33 .set sp_reg, ORC_REG_DI 35 .set sp_reg, ORC_REG_DX 37 .set sp_reg, ORC_REG_R10 42 .set sp_offset, \offset 45 .set type, UNWIND_HINT_TYPE_REGS_PARTIAL 47 .set type, UNWIND_HINT_TYPE_REGS_PARTIAL 48 .set sp_offse [all...] |
/linux-master/arch/mips/mm/ |
H A D | cex-oct.S | 21 .set push 22 .set mips64r2 23 .set noreorder 24 .set noat 51 .set pop 58 .set push 59 .set noreorder 60 .set noat 69 .set pop
|
H A D | cex-gen.S | 21 .set noreorder 22 .set noat 23 .set mips0
|
/linux-master/arch/powerpc/mm/ptdump/ |
H A D | book3s64.c | 16 .set = "user", 21 .set = "r", 26 .set = "w", 31 .set = " X ", 36 .set = "pte", 41 .set = "valid", 46 .set = " ", 51 .set = "hpte", 56 .set = "dirty", 61 .set [all...] |
H A D | 8xx.c | 21 .set = "huge", 26 .set = "rw", 30 .set = "r ", 34 .set = " ", 38 .set = " X ", 43 .set = "present", 48 .set = "guarded", 53 .set = "dirty", 58 .set = "accessed", 63 .set [all...] |
H A D | shared.c | 16 .set = " ", 21 .set = " ", 26 .set = " X ", 31 .set = "present", 36 .set = "coherent", 41 .set = "guarded", 46 .set = "dirty", 51 .set = "accessed", 56 .set = "write through", 61 .set [all...] |
/linux-master/arch/riscv/include/asm/ |
H A D | signal32.h | 7 int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set, 11 int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set, argument
|
/linux-master/tools/tracing/rtla/src/ |
H A D | timerlat_u.h | 13 cpu_set_t *set; member in struct:timerlat_u_params
|
/linux-master/arch/m68k/fpsp040/ |
H A D | fpsp.h | 79 .set LOCAL_SIZE,192 | bytes needed for local variables 80 .set LV,-LOCAL_SIZE | convenient base value 82 .set USER_DA,LV+0 | save space for D0-D1,A0-A1 83 .set USER_D0,LV+0 | saved user D0 84 .set USER_D1,LV+4 | saved user D1 85 .set USER_A0,LV+8 | saved user A0 86 .set USER_A1,LV+12 | saved user A1 87 .set USER_FP0,LV+16 | saved user FP0 88 .set USER_FP1,LV+28 | saved user FP1 89 .set USER_FP [all...] |
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_bitmap_gen.h | 36 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) 39 mtype_gc_init(struct ip_set *set, void (*gc)(struct timer_list *t)) argument 41 struct mtype *map = set->data; 44 mod_timer(&map->gc, jiffies + IPSET_GC_PERIOD(set->timeout) * HZ); 48 mtype_ext_cleanup(struct ip_set *set) argument 50 struct mtype *map = set->data; 55 ip_set_ext_destroy(set, get_ext(set, map, id)); 59 mtype_destroy(struct ip_set *set) argument 72 mtype_flush(struct ip_set *set) argument 92 mtype_head(struct ip_set *set, struct sk_buff *skb) argument 116 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, struct ip_set_ext *mext, u32 flags) argument 130 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, struct ip_set_ext *mext, u32 flags) argument 155 mtype_add_timeout(ext_timeout(x, set), e, ext, set, map, ret); local 175 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, struct ip_set_ext *mext, u32 flags) argument 203 mtype_list(const struct ip_set *set, struct sk_buff *skb, struct netlink_callback *cb) argument 268 struct ip_set *set = map->set; local 292 mtype_cancel_gc(struct ip_set *set) argument [all...] |
/linux-master/arch/arm/mach-s3c/ |
H A D | platformdata.c | 35 struct s3c_sdhci_platdata *set) 37 set->cd_type = pd->cd_type; 38 set->ext_cd_init = pd->ext_cd_init; 39 set->ext_cd_cleanup = pd->ext_cd_cleanup; 40 set->ext_cd_gpio = pd->ext_cd_gpio; 41 set->ext_cd_gpio_invert = pd->ext_cd_gpio_invert; 44 set->max_width = pd->max_width; 46 set->cfg_gpio = pd->cfg_gpio; 48 set->host_caps |= pd->host_caps; 50 set 34 s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd, struct s3c_sdhci_platdata *set) argument [all...] |
/linux-master/include/soc/fsl/qe/ |
H A D | ucc.h | 45 int ucc_mux_set_grant_tsa_bkpt(unsigned int ucc_num, int set, u32 mask); 49 static inline int ucc_set_qe_mux_grant(unsigned int ucc_num, int set) argument 51 return ucc_mux_set_grant_tsa_bkpt(ucc_num, set, QE_CMXUCR_GRANT); 54 static inline int ucc_set_qe_mux_tsa(unsigned int ucc_num, int set) argument 56 return ucc_mux_set_grant_tsa_bkpt(ucc_num, set, QE_CMXUCR_TSA); 59 static inline int ucc_set_qe_mux_bkpt(unsigned int ucc_num, int set) argument 61 return ucc_mux_set_grant_tsa_bkpt(ucc_num, set, QE_CMXUCR_BKPT);
|
/linux-master/arch/sh/boards/mach-se/7724/ |
H A D | irq.c | 44 struct fpga_irq set; local 48 set.sraddr = IRQ0_SR; 49 set.mraddr = IRQ0_MR; 50 set.mask = IRQ0_MASK; 51 set.base = IRQ0_BASE; 54 set.sraddr = IRQ1_SR; 55 set.mraddr = IRQ1_MR; 56 set.mask = IRQ1_MASK; 57 set.base = IRQ1_BASE; 60 set 73 struct fpga_irq set = get_fpga_irq(fpga2irq(irq)); local 81 struct fpga_irq set = get_fpga_irq(fpga2irq(irq)); local 95 struct fpga_irq set = get_fpga_irq(irq); local [all...] |
/linux-master/arch/mips/include/asm/ |
H A D | asmmacro.h | 22 /* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */ 85 .set push 86 .set hardfloat 105 .set pop 109 .set push 110 .set mips64r2 111 .set fp=64 112 .set hardfloat 129 .set pop 144 .set pus [all...] |
/linux-master/net/netfilter/ |
H A D | nft_lookup.c | 19 struct nft_set *set; member in struct:nft_lookup 28 bool nft_set_do_lookup(const struct net *net, const struct nft_set *set, argument 31 if (set->ops == &nft_set_hash_fast_type.ops) 32 return nft_hash_lookup_fast(net, set, key, ext); 33 if (set->ops == &nft_set_hash_type.ops) 34 return nft_hash_lookup(net, set, key, ext); 36 if (set->ops == &nft_set_rhash_type.ops) 37 return nft_rhash_lookup(net, set, key, ext); 39 if (set->ops == &nft_set_bitmap_type.ops) 40 return nft_bitmap_lookup(net, set, ke 63 const struct nft_set *set = priv->set; local 103 struct nft_set *set; local [all...] |
H A D | nft_dynset.c | 16 struct nft_set *set; member in struct:nft_dynset 47 static struct nft_elem_priv *nft_dynset_new(struct nft_set *set, argument 56 if (!atomic_add_unless(&set->nelems, 1, set->size)) 59 timeout = priv->timeout ? : set->timeout; 60 elem_priv = nft_set_elem_init(set, &priv->tmpl, 67 ext = nft_set_elem_ext(set, elem_priv); 74 nft_set_elem_destroy(set, elem_priv, false); 76 if (set->size) 77 atomic_dec(&set 85 struct nft_set *set = priv->set; local 126 nft_dynset_expr_alloc(const struct nft_ctx *ctx, const struct nft_set *set, const struct nlattr *attr, int pos) argument 168 struct nft_set *set; local [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_crtc_helper.c | 264 * drm_crtc_helper_set_mode - internal helper to set a mode 271 * Try to set @mode on @crtc. Give @crtc and its associated connectors a chance 272 * to fixup or reject the mode prior to trying to set it. This is an internal 281 * True if the mode was set successfully, false otherwise. 393 DRM_DEBUG_KMS("[ENCODER:%d:%s] set [MODE:%s]\n", 399 /* Now enable the clocks, plane, pipe, and connectors that we set up. */ 514 * drm_crtc_helper_set_config - set a new config from userspace 515 * @set: mode set configuration 538 * performs a full mode set sequenc 551 drm_crtc_helper_set_config(struct drm_mode_set *set, struct drm_modeset_acquire_ctx *ctx) argument 1045 struct drm_mode_set set = { local [all...] |