/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | dsp_pipeline.c | 21 struct mISDN_dsp_element *elem; member 26 struct mISDN_dsp_element *elem; member 39 struct mISDN_dsp_element *elem = dev_get_drvdata(dev); in attr_show_args() local 44 for (i = 0; i < elem->num_args; i++) in attr_show_args() 46 elem->args[i].name, in attr_show_args() 47 elem->args[i].def ? "Default: " : "", in attr_show_args() 48 elem->args[i].def ? elem->args[i].def : "", in attr_show_args() 49 elem->args[i].def ? "\n" : "", in attr_show_args() 50 elem->args[i].desc); in attr_show_args() 68 int mISDN_dsp_element_register(struct mISDN_dsp_element *elem) in mISDN_dsp_element_register() argument [all …]
|
/kernel/linux/linux-5.10/sound/usb/ |
D | mixer_scarlett.c | 235 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett_ctl_switch_info() local 238 uinfo->count = elem->channels; in scarlett_ctl_switch_info() 247 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett_ctl_switch_get() local 250 for (i = 0; i < elem->channels; i++) { in scarlett_ctl_switch_get() 251 err = snd_usb_get_cur_mix_value(elem, i, i, &val); in scarlett_ctl_switch_get() 265 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett_ctl_switch_put() local 269 for (i = 0; i < elem->channels; i++) { in scarlett_ctl_switch_put() 270 err = snd_usb_get_cur_mix_value(elem, i, i, &oval); in scarlett_ctl_switch_put() 277 err = snd_usb_set_cur_mix_value(elem, i, i, val); in scarlett_ctl_switch_put() 290 struct usb_mixer_elem_info *elem = mixer_elem_list_to_info(list); in scarlett_ctl_resume() local [all …]
|
D | mixer_us16x08.c | 183 struct usb_mixer_elem_info *elem = kcontrol->private_data; in snd_us16x08_route_get() local 187 ucontrol->value.enumerated.item[0] = elem->cache_val[index]; in snd_us16x08_route_get() 195 struct usb_mixer_elem_info *elem = kcontrol->private_data; in snd_us16x08_route_put() local 196 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_route_put() 229 elem->cached |= 1 << index; in snd_us16x08_route_put() 230 elem->cache_val[index] = val; in snd_us16x08_route_put() 252 struct usb_mixer_elem_info *elem = kcontrol->private_data; in snd_us16x08_master_get() local 255 ucontrol->value.integer.value[0] = elem->cache_val[index]; in snd_us16x08_master_get() 263 struct usb_mixer_elem_info *elem = kcontrol->private_data; in snd_us16x08_master_put() local 264 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_master_put() [all …]
|
D | mixer_scarlett_gen2.c | 945 struct usb_mixer_elem_info *elem; in scarlett2_add_new_ctl() local 948 elem = kzalloc(sizeof(*elem), GFP_KERNEL); in scarlett2_add_new_ctl() 949 if (!elem) in scarlett2_add_new_ctl() 956 elem->head.mixer = mixer; in scarlett2_add_new_ctl() 957 elem->control = index; in scarlett2_add_new_ctl() 958 elem->head.id = 0; in scarlett2_add_new_ctl() 959 elem->channels = channels; in scarlett2_add_new_ctl() 960 elem->val_type = USB_MIXER_BESPOKEN; in scarlett2_add_new_ctl() 962 kctl = snd_ctl_new1(ncontrol, elem); in scarlett2_add_new_ctl() 964 kfree(elem); in scarlett2_add_new_ctl() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_pool.c | 204 struct rxe_pool_entry *elem; in insert_index() local 208 elem = rb_entry(parent, struct rxe_pool_entry, node); in insert_index() 210 if (elem->index == new->index) { in insert_index() 215 if (elem->index > new->index) in insert_index() 231 struct rxe_pool_entry *elem; in insert_key() local 236 elem = rb_entry(parent, struct rxe_pool_entry, node); in insert_key() 238 cmp = memcmp((u8 *)elem + pool->key_offset, in insert_key() 260 struct rxe_pool_entry *elem = arg; in rxe_add_key() local 261 struct rxe_pool *pool = elem->pool; in rxe_add_key() 265 memcpy((u8 *)elem + pool->key_offset, key, pool->key_size); in rxe_add_key() [all …]
|
D | rxe_mcast.c | 55 struct rxe_mc_elem *elem; in rxe_mcast_add_grp_elem() local 60 list_for_each_entry(elem, &grp->qp_list, qp_list) { in rxe_mcast_add_grp_elem() 61 if (elem->qp == qp) { in rxe_mcast_add_grp_elem() 72 elem = rxe_alloc(&rxe->mc_elem_pool); in rxe_mcast_add_grp_elem() 73 if (!elem) { in rxe_mcast_add_grp_elem() 82 elem->qp = qp; in rxe_mcast_add_grp_elem() 83 elem->grp = grp; in rxe_mcast_add_grp_elem() 85 list_add(&elem->qp_list, &grp->qp_list); in rxe_mcast_add_grp_elem() 86 list_add(&elem->grp_list, &qp->grp_list); in rxe_mcast_add_grp_elem() 99 struct rxe_mc_elem *elem, *tmp; in rxe_mcast_drop_grp_elem() local [all …]
|
D | rxe_pool.h | 102 int rxe_add_to_pool(struct rxe_pool *pool, struct rxe_pool_entry *elem); 107 void rxe_add_index(void *elem); 110 void rxe_drop_index(void *elem); 115 void rxe_add_key(void *elem, void *key); 118 void rxe_drop_key(void *elem); 130 #define rxe_add_ref(elem) kref_get(&(elem)->pelem.ref_cnt) argument 133 #define rxe_drop_ref(elem) kref_put(&(elem)->pelem.ref_cnt, rxe_elem_release) argument
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_mru_cache.c | 192 struct xfs_mru_cache_elem *elem) in _xfs_mru_cache_list_insert() argument 215 list_add_tail(&elem->list_node, mru->lists + grp); in _xfs_mru_cache_list_insert() 232 struct xfs_mru_cache_elem *elem, *next; in _xfs_mru_cache_clear_reap_list() local 236 list_for_each_entry_safe(elem, next, &mru->reap_list, list_node) { in _xfs_mru_cache_clear_reap_list() 239 radix_tree_delete(&mru->store, elem->key); in _xfs_mru_cache_clear_reap_list() 245 list_move(&elem->list_node, &tmp); in _xfs_mru_cache_clear_reap_list() 249 list_for_each_entry_safe(elem, next, &tmp, list_node) { in _xfs_mru_cache_clear_reap_list() 250 list_del_init(&elem->list_node); in _xfs_mru_cache_clear_reap_list() 251 mru->free_func(mru->data, elem); in _xfs_mru_cache_clear_reap_list() 422 struct xfs_mru_cache_elem *elem) in xfs_mru_cache_insert() argument [all …]
|
/kernel/linux/linux-5.10/samples/kmemleak/ |
D | kmemleak-test.c | 37 struct test_node *elem; in kmemleak_test_init() local 68 elem = kzalloc(sizeof(*elem), GFP_KERNEL); in kmemleak_test_init() 69 pr_info("kzalloc(sizeof(*elem)) = %p\n", elem); in kmemleak_test_init() 70 if (!elem) in kmemleak_test_init() 72 INIT_LIST_HEAD(&elem->list); in kmemleak_test_init() 73 list_add_tail(&elem->list, &test_list); in kmemleak_test_init() 88 struct test_node *elem, *tmp; in kmemleak_test_exit() local 94 list_for_each_entry_safe(elem, tmp, &test_list, list) in kmemleak_test_exit() 95 list_del(&elem->list); in kmemleak_test_exit()
|
/kernel/linux/linux-5.10/sound/pci/cs5535audio/ |
D | cs5535audio_olpc.c | 146 struct snd_ctl_elem_id elem; in olpc_quirks() local 159 memset(&elem, 0, sizeof(elem)); in olpc_quirks() 160 elem.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in olpc_quirks() 161 strlcpy(elem.name, "High Pass Filter Enable", sizeof(elem.name)); in olpc_quirks() 162 snd_ctl_remove_id(card, &elem); in olpc_quirks() 165 memset(&elem, 0, sizeof(elem)); in olpc_quirks() 166 elem.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in olpc_quirks() 167 strlcpy(elem.name, "V_REFOUT Enable", sizeof(elem.name)); in olpc_quirks() 168 snd_ctl_remove_id(card, &elem); in olpc_quirks()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/base/circbuf/interface/ |
D | ia_css_circbuf.h | 101 ia_css_circbuf_elem_t *elem, in ia_css_circbuf_elem_set_val() argument 104 OP___assert(elem); in ia_css_circbuf_elem_set_val() 106 elem->val = val; in ia_css_circbuf_elem_set_val() 115 ia_css_circbuf_elem_t *elem) in ia_css_circbuf_elem_init() argument 117 OP___assert(elem); in ia_css_circbuf_elem_init() 118 ia_css_circbuf_elem_set_val(elem, 0); in ia_css_circbuf_elem_init() 279 ia_css_circbuf_elem_t elem) in ia_css_circbuf_write() argument 287 ia_css_circbuf_elem_cpy(&elem, &cb->elems[cb->desc->end]); in ia_css_circbuf_write() 305 ia_css_circbuf_elem_t elem; in ia_css_circbuf_push() local 310 ia_css_circbuf_elem_init(&elem); in ia_css_circbuf_push() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
D | csio_defs.h | 47 #define CSIO_INC_STATS(elem, val) ((elem)->stats.val++) argument 48 #define CSIO_DEC_STATS(elem, val) ((elem)->stats.val--) argument 72 #define csio_list_next(elem) (((struct list_head *)(elem))->next) argument 73 #define csio_list_prev(elem) (((struct list_head *)(elem))->prev) argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | ch.c | 221 ch_elem_to_typecode(scsi_changer *ch, u_int elem) in ch_elem_to_typecode() argument 226 if (elem >= ch->firsts[i] && in ch_elem_to_typecode() 227 elem < ch->firsts[i] + in ch_elem_to_typecode() 235 ch_read_element_status(scsi_changer *ch, u_int elem, char *data) in ch_read_element_status() argument 250 ch_elem_to_typecode(ch,elem); in ch_read_element_status() 251 cmd[2] = (elem >> 8) & 0xff; in ch_read_element_status() 252 cmd[3] = elem & 0xff; in ch_read_element_status() 257 if (((buffer[16] << 8) | buffer[17]) != elem) { in ch_read_element_status() 259 elem,(buffer[16] << 8) | buffer[17]); in ch_read_element_status() 270 DPRINTK("READ ELEMENT STATUS for element 0x%x failed\n",elem); in ch_read_element_status() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/cs-etm-decoder/ |
D | cs-etm-decoder.c | 295 const ocsd_generic_trace_elem *elem, in cs_etm_decoder__do_hard_timestamp() argument 311 packet_queue->next_timestamp = elem->timestamp; in cs_etm_decoder__do_hard_timestamp() 322 packet_queue->timestamp = elem->timestamp - packet_queue->instr_count; in cs_etm_decoder__do_hard_timestamp() 323 packet_queue->next_timestamp = elem->timestamp; in cs_etm_decoder__do_hard_timestamp() 384 const ocsd_generic_trace_elem *elem, in cs_etm_decoder__buffer_range() argument 397 switch (elem->isa) { in cs_etm_decoder__buffer_range() 415 packet->start_addr = elem->st_addr; in cs_etm_decoder__buffer_range() 416 packet->end_addr = elem->en_addr; in cs_etm_decoder__buffer_range() 417 packet->instr_count = elem->num_instr_range; in cs_etm_decoder__buffer_range() 418 packet->last_instr_type = elem->last_i_type; in cs_etm_decoder__buffer_range() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
D | ip_set_bitmap_ipmac.c | 86 const struct bitmap_ipmac_elem *elem; in bitmap_ipmac_do_test() local 90 elem = get_const_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_test() 91 if (e->add_mac && elem->filled == MAC_FILLED) in bitmap_ipmac_do_test() 92 return ether_addr_equal(e->ether, elem->ether); in bitmap_ipmac_do_test() 100 const struct bitmap_ipmac_elem *elem; in bitmap_ipmac_gc_test() local 104 elem = get_const_elem(map->extensions, id, dsize); in bitmap_ipmac_gc_test() 106 return elem->filled == MAC_FILLED; in bitmap_ipmac_gc_test() 110 bitmap_ipmac_is_filled(const struct bitmap_ipmac_elem *elem) in bitmap_ipmac_is_filled() argument 112 return elem->filled == MAC_FILLED; in bitmap_ipmac_is_filled() 146 struct bitmap_ipmac_elem *elem; in bitmap_ipmac_do_add() local [all …]
|
D | ip_set_hash_netnet.c | 65 hash_netnet4_do_data_match(const struct hash_netnet4_elem *elem) in hash_netnet4_do_data_match() argument 67 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netnet4_do_data_match() 71 hash_netnet4_data_set_flags(struct hash_netnet4_elem *elem, u32 flags) in hash_netnet4_data_set_flags() argument 73 elem->nomatch = (flags >> 16) & IPSET_FLAG_NOMATCH; in hash_netnet4_data_set_flags() 77 hash_netnet4_data_reset_flags(struct hash_netnet4_elem *elem, u8 *flags) in hash_netnet4_data_reset_flags() argument 79 swap(*flags, elem->nomatch); in hash_netnet4_data_reset_flags() 83 hash_netnet4_data_reset_elem(struct hash_netnet4_elem *elem, in hash_netnet4_data_reset_elem() argument 86 elem->ip[1] = orig->ip[1]; in hash_netnet4_data_reset_elem() 90 hash_netnet4_data_netmask(struct hash_netnet4_elem *elem, u8 cidr, bool inner) in hash_netnet4_data_netmask() argument 93 elem->ip[1] &= ip_set_netmask(cidr); in hash_netnet4_data_netmask() [all …]
|
D | ip_set_hash_netiface.c | 51 u8 elem; member 60 u8 elem; member 82 hash_netiface4_do_data_match(const struct hash_netiface4_elem *elem) in hash_netiface4_do_data_match() argument 84 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netiface4_do_data_match() 88 hash_netiface4_data_set_flags(struct hash_netiface4_elem *elem, u32 flags) in hash_netiface4_data_set_flags() argument 90 elem->nomatch = (flags >> 16) & IPSET_FLAG_NOMATCH; in hash_netiface4_data_set_flags() 94 hash_netiface4_data_reset_flags(struct hash_netiface4_elem *elem, u8 *flags) in hash_netiface4_data_reset_flags() argument 96 swap(*flags, elem->nomatch); in hash_netiface4_data_reset_flags() 100 hash_netiface4_data_netmask(struct hash_netiface4_elem *elem, u8 cidr) in hash_netiface4_data_netmask() argument 102 elem->ip &= ip_set_netmask(cidr); in hash_netiface4_data_netmask() [all …]
|
D | ip_set_hash_net.c | 60 hash_net4_do_data_match(const struct hash_net4_elem *elem) in hash_net4_do_data_match() argument 62 return elem->nomatch ? -ENOTEMPTY : 1; in hash_net4_do_data_match() 66 hash_net4_data_set_flags(struct hash_net4_elem *elem, u32 flags) in hash_net4_data_set_flags() argument 68 elem->nomatch = (flags >> 16) & IPSET_FLAG_NOMATCH; in hash_net4_data_set_flags() 72 hash_net4_data_reset_flags(struct hash_net4_elem *elem, u8 *flags) in hash_net4_data_reset_flags() argument 74 swap(*flags, elem->nomatch); in hash_net4_data_reset_flags() 78 hash_net4_data_netmask(struct hash_net4_elem *elem, u8 cidr) in hash_net4_data_netmask() argument 80 elem->ip &= ip_set_netmask(cidr); in hash_net4_data_netmask() 81 elem->cidr = cidr; in hash_net4_data_netmask() 231 hash_net6_do_data_match(const struct hash_net6_elem *elem) in hash_net6_do_data_match() argument [all …]
|
D | ip_set_hash_netportnet.c | 72 hash_netportnet4_do_data_match(const struct hash_netportnet4_elem *elem) in hash_netportnet4_do_data_match() argument 74 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netportnet4_do_data_match() 78 hash_netportnet4_data_set_flags(struct hash_netportnet4_elem *elem, u32 flags) in hash_netportnet4_data_set_flags() argument 80 elem->nomatch = !!((flags >> 16) & IPSET_FLAG_NOMATCH); in hash_netportnet4_data_set_flags() 84 hash_netportnet4_data_reset_flags(struct hash_netportnet4_elem *elem, u8 *flags) in hash_netportnet4_data_reset_flags() argument 86 swap(*flags, elem->nomatch); in hash_netportnet4_data_reset_flags() 90 hash_netportnet4_data_reset_elem(struct hash_netportnet4_elem *elem, in hash_netportnet4_data_reset_elem() argument 93 elem->ip[1] = orig->ip[1]; in hash_netportnet4_data_reset_elem() 97 hash_netportnet4_data_netmask(struct hash_netportnet4_elem *elem, in hash_netportnet4_data_netmask() argument 101 elem->ip[1] &= ip_set_netmask(cidr); in hash_netportnet4_data_netmask() [all …]
|
/kernel/linux/linux-5.10/drivers/soc/ti/ |
D | k3-ringacc.c | 232 static int k3_ringacc_ring_push_mem(struct k3_ring *ring, void *elem); 233 static int k3_ringacc_ring_pop_mem(struct k3_ring *ring, void *elem); 240 static int k3_ringacc_ring_push_io(struct k3_ring *ring, void *elem); 241 static int k3_ringacc_ring_pop_io(struct k3_ring *ring, void *elem); 242 static int k3_ringacc_ring_push_head_io(struct k3_ring *ring, void *elem); 243 static int k3_ringacc_ring_pop_tail_io(struct k3_ring *ring, void *elem); 252 static int k3_ringacc_ring_push_head_proxy(struct k3_ring *ring, void *elem); 253 static int k3_ringacc_ring_push_tail_proxy(struct k3_ring *ring, void *elem); 254 static int k3_ringacc_ring_pop_head_proxy(struct k3_ring *ring, void *elem); 255 static int k3_ringacc_ring_pop_tail_proxy(struct k3_ring *ring, void *elem); [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | sock_map.c | 893 struct bpf_shtab_elem *elem; in sock_hash_lookup_elem_raw() local 895 hlist_for_each_entry_rcu(elem, head, node) { in sock_hash_lookup_elem_raw() 896 if (elem->hash == hash && in sock_hash_lookup_elem_raw() 897 !memcmp(&elem->key, key, key_size)) in sock_hash_lookup_elem_raw() 898 return elem; in sock_hash_lookup_elem_raw() 909 struct bpf_shtab_elem *elem; in __sock_hash_lookup_elem() local 915 elem = sock_hash_lookup_elem_raw(&bucket->head, hash, key, key_size); in __sock_hash_lookup_elem() 917 return elem ? elem->sk : NULL; in __sock_hash_lookup_elem() 921 struct bpf_shtab_elem *elem) in sock_hash_free_elem() argument 924 kfree_rcu(elem, rcu); in sock_hash_free_elem() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
D | sym_misc.h | 121 struct sym_quehead *elem = head->flink; in sym_remque_head() local 123 if (elem != head) in sym_remque_head() 124 __sym_que_del(head, elem->flink); in sym_remque_head() 126 elem = NULL; in sym_remque_head() 127 return elem; in sym_remque_head() 134 struct sym_quehead *elem = head->blink; in sym_remque_tail() local 136 if (elem != head) in sym_remque_tail() 137 __sym_que_del(elem->blink, head); in sym_remque_tail() 139 elem = 0; in sym_remque_tail() 140 return elem; in sym_remque_tail()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | vmem.c | 74 hive_wide elem, in hive_sim_wide_unpack() argument 86 elem[0] = vector[index]; in hive_sim_wide_unpack() 89 move_subword(elem, 0, vector[start_elem], start_bit, end_bit); in hive_sim_wide_unpack() 95 move_upper_bits(elem, bits_written, vector[start_elem], start_bit); in hive_sim_wide_unpack() 98 move_word(elem, bits_written, vector[i]); in hive_sim_wide_unpack() 101 move_lower_bits(elem, bits_written, vector[end_elem], end_bit); in hive_sim_wide_unpack() 108 hive_wide elem, in hive_sim_wide_pack() argument 117 vector[start_elem] = elem[0]; in hive_sim_wide_pack() 125 move_word(vector, start_bit, elem[i]); in hive_sim_wide_pack() 127 move_lower_bits(vector, start_bit, elem[i], bits_to_write); in hive_sim_wide_pack() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_set_hash.c | 96 const struct nft_set_elem *elem, unsigned int flags) in nft_rhash_get() argument 103 .key = elem->key.val.data, in nft_rhash_get() 161 const struct nft_set_elem *elem, in nft_rhash_insert() argument 165 struct nft_rhash_elem *he = elem->priv; in nft_rhash_insert() 169 .key = elem->key.val.data, in nft_rhash_insert() 185 const struct nft_set_elem *elem) in nft_rhash_activate() argument 187 struct nft_rhash_elem *he = elem->priv; in nft_rhash_activate() 208 const struct nft_set_elem *elem) in nft_rhash_deactivate() argument 215 .key = elem->key.val.data, in nft_rhash_deactivate() 231 const struct nft_set_elem *elem) in nft_rhash_remove() argument [all …]
|
D | nft_set_bitmap.c | 107 const struct nft_set_elem *elem, unsigned int flags) in nft_bitmap_get() argument 114 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) || in nft_bitmap_get() 124 const struct nft_set_elem *elem, in nft_bitmap_insert() argument 128 struct nft_bitmap_elem *new = elem->priv, *be; in nft_bitmap_insert() 148 const struct nft_set_elem *elem) in nft_bitmap_remove() argument 151 struct nft_bitmap_elem *be = elem->priv; in nft_bitmap_remove() 163 const struct nft_set_elem *elem) in nft_bitmap_activate() argument 166 struct nft_bitmap_elem *be = elem->priv; in nft_bitmap_activate() 194 const struct nft_set_elem *elem) in nft_bitmap_deactivate() argument 197 struct nft_bitmap_elem *this = elem->priv, *be; in nft_bitmap_deactivate() [all …]
|