Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 25 of 192) sorted by relevance

12345678

/linux/sound/usb/
H A Dmixer_scarlett.c256 static int forte_set_ctl_value(struct usb_mixer_elem_info *elem, int value) in forte_set_ctl_value() argument
258 struct snd_usb_audio *chip = elem->head.mixer->chip; in forte_set_ctl_value()
260 int wValue = elem->control; /* Just control code, NO shift, NO channel */ in forte_set_ctl_value()
261 int idx = snd_usb_ctrl_intf(elem->head.mixer->hostif) | (elem->head.id << 8); in forte_set_ctl_value()
267 buf[0] = elem->idx_off; /* Channel: 0 or 1 */ in forte_set_ctl_value()
290 static int forte_get_ctl_value(struct usb_mixer_elem_info *elem, int *value) in forte_get_ctl_value() argument
295 if (test_bit(0, elem->cached)) in forte_get_ctl_value()
296 *value = elem->cache_val[0]; in forte_get_ctl_value()
327 struct usb_mixer_elem_info *elem in forte_input_gain_get() local
342 struct usb_mixer_elem_info *elem = kctl->private_data; forte_input_gain_put() local
365 struct usb_mixer_elem_info *elem = mixer_elem_list_to_info(list); forte_input_gain_resume() local
379 struct usb_mixer_elem_info *elem = kctl->private_data; forte_ctl_enum_get() local
395 struct usb_mixer_elem_info *elem = kctl->private_data; forte_ctl_enum_put() local
417 struct usb_mixer_elem_info *elem = mixer_elem_list_to_info(list); forte_ctl_enum_resume() local
431 struct usb_mixer_elem_info *elem = kctl->private_data; forte_ctl_switch_get() local
445 struct usb_mixer_elem_info *elem = kctl->private_data; forte_ctl_switch_put() local
466 struct usb_mixer_elem_info *elem = mixer_elem_list_to_info(list); forte_ctl_switch_resume() local
476 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_switch_info() local
488 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_switch_get() local
506 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_switch_put() local
531 struct usb_mixer_elem_info *elem = mixer_elem_list_to_info(list); scarlett_ctl_resume() local
544 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_info() local
558 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_get() local
577 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_put() local
621 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_enum_dynamic_info() local
644 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_enum_info() local
654 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_enum_get() local
672 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_enum_put() local
693 struct usb_mixer_elem_info *elem = mixer_elem_list_to_info(list); scarlett_ctl_enum_resume() local
703 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_meter_get() local
825 struct usb_mixer_elem_info *elem; add_new_ctl() local
869 struct usb_mixer_elem_info *elem; add_output_ctls() local
1180 struct usb_mixer_elem_info *elem; scarlett_controls_create_generic() local
1306 struct usb_mixer_elem_info *elem; snd_scarlett_controls_create() local
1409 struct usb_mixer_elem_info *elem; snd_forte_controls_create() local
[all...]
H A Dmixer_us16x08.c189 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); in snd_us16x08_route_get() local
192 guard(mutex)(&elem->head.mixer->lock); in snd_us16x08_route_get()
194 ucontrol->value.enumerated.item[0] = elem->cache_val[index]; in snd_us16x08_route_get()
202 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); in snd_us16x08_route_put()
203 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_route_put()
208 guard(mutex)(&elem->head.mixer->lock); in snd_us16x08_route_put()
241 set_bit(index, elem->cached); in snd_us16x08_route_put()
242 elem->cache_val[index] = val; in snd_us16x08_route_put()
260 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); in snd_us16x08_master_get()
263 guard(mutex)(&elem in snd_us16x08_master_get()
201 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_route_put() local
258 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_master_get() local
269 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_master_put() local
306 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_bus_put() local
347 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_bus_get() local
368 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_channel_get() local
379 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_channel_put() local
426 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_comp_get() local
439 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_comp_put() local
520 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_eqswitch_get() local
535 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_eqswitch_put() local
579 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_eq_get() local
595 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_eq_put() local
727 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_meter_get() local
787 struct usb_mixer_elem_info *elem = snd_kcontrol_chip(kcontrol); snd_us16x08_meter_put() local
1074 struct usb_mixer_elem_info *elem = kctl->private_data; elem_private_free() local
1090 struct usb_mixer_elem_info *elem; add_new_ctl() local
1335 struct usb_mixer_elem_info *elem; snd_us16x08_controls_create() local
[all...]
H A Dmixer_scarlett2.c3453 struct usb_mixer_elem_info *elem; in scarlett2_add_new_ctl() local
3456 elem = kzalloc_obj(*elem); in scarlett2_add_new_ctl()
3457 if (!elem) in scarlett2_add_new_ctl()
3464 elem->head.mixer = mixer; in scarlett2_add_new_ctl()
3465 elem->control = index; in scarlett2_add_new_ctl()
3466 elem->head.id = 0; in scarlett2_add_new_ctl()
3467 elem->channels = channels; in scarlett2_add_new_ctl()
3468 elem->val_type = USB_MIXER_BESPOKEN; in scarlett2_add_new_ctl()
3470 kctl = snd_ctl_new1(ncontrol, elem); in scarlett2_add_new_ctl()
3472 kfree(elem); in scarlett2_add_new_ctl()
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Dnlspec.py220 for elem in self.yaml['attributes']:
221 if 'value' in elem:
222 val = elem['value']
224 attr = self.new_attr(elem, val)
230 for elem in self.yaml['attributes']:
231 real_attr = real_set[elem['name']]
232 combined_elem = real_attr.yaml | elem
238 def new_attr(self, elem, value): argument
239 return SpecAttr(self.family, self, elem, value)
293 def new_member(self, family, elem): argument
[all …]
/linux/net/netfilter/
H A Dnf_flow_table_xdp.c53 struct flow_offload_xdp *iter, *elem = NULL; in nf_flowtable_by_dev_insert() local
67 elem = iter; in nf_flowtable_by_dev_insert()
72 if (!elem) { in nf_flowtable_by_dev_insert()
73 elem = kzalloc_obj(*elem, GFP_KERNEL_ACCOUNT); in nf_flowtable_by_dev_insert()
74 if (!elem) in nf_flowtable_by_dev_insert()
77 elem->net_device_addr = key; in nf_flowtable_by_dev_insert()
78 INIT_LIST_HEAD(&elem->head); in nf_flowtable_by_dev_insert()
79 hash_add_rcu(nf_xdp_hashtable, &elem->hnode, key); in nf_flowtable_by_dev_insert()
81 list_add_tail_rcu(&ft_elem->head, &elem->head); in nf_flowtable_by_dev_insert()
97 struct flow_offload_xdp *iter, *elem = NULL; in nf_flowtable_by_dev_remove() local
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Drhash.c17 struct elem { struct
32 __type(value, struct elem); argument
50 struct elem empty = {.val = 3, .arr = {0}}; in test_rhash_lookup_update()
51 struct elem *e; in test_rhash_lookup_update()
76 struct elem empty = {.val = 4, .arr = {0}}; in test_rhash_update_delete()
77 struct elem *e; in test_rhash_update_delete()
106 struct elem empty = {.val = 4, .arr = {0}}; in test_rhash_update_elements()
107 struct elem *e; in test_rhash_update_elements()
151 struct elem val1 = {.val = 100, .arr = {0}}; in test_rhash_update_exist()
152 struct elem val2 = {.val = 200, .arr = {0}}; in test_rhash_update_exist()
[all …]
H A Dtask_work.c16 struct elem { struct
26 __type(value, struct elem); argument
33 __type(value, struct elem);
40 __type(value, struct elem);
45 struct elem *work = value; in process_work()
56 struct elem empty_work = { .data = { 0 } }; in oncpu_hash_map()
57 struct elem *work; in oncpu_hash_map()
75 struct elem *work; in oncpu_array_map()
89 struct elem empty_work = { .data = { 0 } }; in oncpu_lru_map()
90 struct elem *wor in oncpu_lru_map()
[all...]
H A Dasync_stack_depth.c78 struct hmap_elem *elem;
81 elem = bpf_map_lookup_elem(&hmap, &(int){0});
82 if (!elem)
86 return bpf_timer_set_callback(&elem->timer, timer_cb) + buf[0];
95 struct hmap_elem *elem;
98 elem = bpf_map_lookup_elem(&hmap, &(int){0});
99 if (!elem)
103 return bpf_timer_set_callback(&elem->timer, timer_cb_large_3) + buf[0];
111 struct hmap_elem *elem;
114 elem
36 struct hmap_elem *elem; pseudo_call_check() local
51 struct hmap_elem *elem; async_call_root_check() local
[all...]
/linux/fs/xfs/
H A Dxfs_mru_cache.c192 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
235 list_for_each_entry_safe(elem, next, &mru->reap_list, list_node) { in _xfs_mru_cache_clear_reap_list()
238 radix_tree_delete(&mru->store, elem->key); in _xfs_mru_cache_clear_reap_list()
244 list_move(&elem->list_node, &tmp); in _xfs_mru_cache_clear_reap_list()
248 list_for_each_entry_safe(elem, next, &tmp, list_node) { in _xfs_mru_cache_clear_reap_list()
249 list_del_init(&elem->list_node); in _xfs_mru_cache_clear_reap_list()
250 mru->free_func(mru->data, elem); in _xfs_mru_cache_clear_reap_list()
418 struct xfs_mru_cache_elem *elem) in xfs_mru_cache_insert() argument
[all …]
/linux/drivers/infiniband/sw/rxe/
H A Drxe_pool.h34 void (*cleanup)(struct rxe_pool_elem *elem);
58 int __rxe_add_to_pool(struct rxe_pool *pool, struct rxe_pool_elem *elem,
60 #define rxe_add_to_pool(pool, obj) __rxe_add_to_pool(pool, &(obj)->elem, true)
62 &(obj)->elem, sleepable)
67 int __rxe_get(struct rxe_pool_elem *elem);
68 #define rxe_get(obj) __rxe_get(&(obj)->elem)
70 int __rxe_put(struct rxe_pool_elem *elem);
71 #define rxe_put(obj) __rxe_put(&(obj)->elem)
73 int __rxe_cleanup(struct rxe_pool_elem *elem, bool sleepable);
74 #define rxe_cleanup(obj) __rxe_cleanup(&(obj)->elem, true)
[all …]
/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Denum-attributes.c134 int elem = 0; in hp_populate_enumeration_elements_from_package() local
140 for (elem = 1, eloc = 1; elem < enum_obj_count; elem++, eloc++) { in hp_populate_enumeration_elements_from_package()
145 switch (enum_obj[elem].type) { in hp_populate_enumeration_elements_from_package()
147 if (PREREQUISITES != elem && ENUM_POSSIBLE_VALUES != elem) { in hp_populate_enumeration_elements_from_package()
148 ret = hp_convert_hexstr_to_str(enum_obj[elem].string.pointer, in hp_populate_enumeration_elements_from_package()
149 enum_obj[elem].string.length, in hp_populate_enumeration_elements_from_package()
156 int_value = (u32)enum_obj[elem] in hp_populate_enumeration_elements_from_package()
[all...]
H A Dorder-list-attributes.c139 int elem; in hp_populate_ordered_list_elements_from_package()
151 for (elem = 1, eloc = 1; eloc < ORD_ELEM_CNT && elem < order_obj_count; elem++, eloc++) { in hp_populate_ordered_list_elements_from_package()
153 switch (order_obj[elem].type) { in hp_populate_ordered_list_elements_from_package()
155 if (elem != PREREQUISITES && elem != ORD_LIST_ELEMENTS) { in hp_populate_ordered_list_elements_from_package()
156 ret = hp_convert_hexstr_to_str(order_obj[elem].string.pointer, in hp_populate_ordered_list_elements_from_package()
157 order_obj[elem].string.length, in hp_populate_ordered_list_elements_from_package()
164 int_value = (u32)order_obj[elem] in hp_populate_ordered_list_elements_from_package()
135 int elem; hp_populate_ordered_list_elements_from_package() local
[all...]
H A Dstring-attributes.c142 int elem; in hp_populate_string_elements_from_package()
149 for (elem = 1, eloc = 1; elem < string_obj_count; elem++, eloc++) { in hp_populate_string_elements_from_package()
154 switch (string_obj[elem].type) { in hp_populate_string_elements_from_package()
156 if (elem != PREREQUISITES) { in hp_populate_string_elements_from_package()
157 ret = hp_convert_hexstr_to_str(string_obj[elem].string.pointer, in hp_populate_string_elements_from_package()
158 string_obj[elem].string.length, in hp_populate_string_elements_from_package()
166 int_value = (u32)string_obj[elem].integer.value; in hp_populate_string_elements_from_package()
169 pr_warn("Unsupported object type [%d]\n", string_obj[elem] in hp_populate_string_elements_from_package()
137 int elem; hp_populate_string_elements_from_package() local
[all...]
H A Dpasswdobj-attributes.c232 int elem; in hp_populate_password_elements_from_package()
240 for (elem = 1, eloc = 1; elem < password_obj_count; elem++, eloc++) { in hp_populate_password_elements_from_package()
245 switch (password_obj[elem].type) { in hp_populate_password_elements_from_package()
247 if (PREREQUISITES != elem && PSWD_ENCODINGS != elem) { in hp_populate_password_elements_from_package()
248 ret = hp_convert_hexstr_to_str(password_obj[elem].string.pointer, in hp_populate_password_elements_from_package()
249 password_obj[elem].string.length, in hp_populate_password_elements_from_package()
256 int_value = (u32)password_obj[elem] in hp_populate_password_elements_from_package()
226 int elem; hp_populate_password_elements_from_package() local
[all...]
H A Dint-attributes.c147 int elem; in hp_populate_integer_elements_from_package() local
154 for (elem = 1, eloc = 1; elem < integer_obj_count; elem++, eloc++) { in hp_populate_integer_elements_from_package()
159 switch (integer_obj[elem].type) { in hp_populate_integer_elements_from_package()
161 if (elem != PREREQUISITES) { in hp_populate_integer_elements_from_package()
162 ret = hp_convert_hexstr_to_str(integer_obj[elem].string.pointer, in hp_populate_integer_elements_from_package()
163 integer_obj[elem].string.length, in hp_populate_integer_elements_from_package()
170 int_value = (u32)integer_obj[elem].integer.value; in hp_populate_integer_elements_from_package()
173 pr_warn("Unsupported object type [%d]\n", integer_obj[elem] in hp_populate_integer_elements_from_package()
[all...]
/linux/sound/pci/cs5535audio/
H A Dcs5535audio_olpc.c146 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 strscpy(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 in olpc_quirks()
[all...]
/linux/tools/perf/util/cs-etm-decoder/
H A Dcs-etm-decoder.c287 const ocsd_generic_trace_elem *elem, in cs_etm_decoder__do_hard_timestamp() argument
304 converted_timestamp = elem->timestamp ? in cs_etm_decoder__do_hard_timestamp()
305 cs_etm__convert_sample_time(etmq, elem->timestamp) : 0; in cs_etm_decoder__do_hard_timestamp()
336 * Sanity check that the elem->timestamp - packet_queue->instr_count would not in cs_etm_decoder__do_hard_timestamp()
417 const ocsd_generic_trace_elem *elem, in cs_etm_decoder__buffer_range()
430 switch (elem->isa) { in cs_etm_decoder__buffer_range()
448 packet->start_addr = elem->st_addr; in cs_etm_decoder__buffer_range()
449 packet->end_addr = elem->en_addr; in cs_etm_decoder__buffer_range()
450 packet->instr_count = elem->num_instr_range; in cs_etm_decoder__buffer_range()
451 packet->last_instr_type = elem in cs_etm_decoder__buffer_range()
415 cs_etm_decoder__buffer_range(struct cs_etm_queue * etmq,struct cs_etm_packet_queue * packet_queue,const ocsd_generic_trace_elem * elem,const uint8_t trace_chan_id) cs_etm_decoder__buffer_range() argument
497 cs_etm_decoder__buffer_exception(struct cs_etm_queue * etmq,struct cs_etm_packet_queue * queue,const ocsd_generic_trace_elem * elem,const uint8_t trace_chan_id) cs_etm_decoder__buffer_exception() argument
525 cs_etm_decoder__set_tid(struct cs_etm_queue * etmq,struct cs_etm_packet_queue * packet_queue,const ocsd_generic_trace_elem * elem,const uint8_t trace_chan_id) cs_etm_decoder__set_tid() argument
569 cs_etm_decoder__gen_trace_elem_printer(const void * context,const ocsd_trc_index_t indx,const u8 trace_chan_id __maybe_unused,const ocsd_generic_trace_elem * elem) cs_etm_decoder__gen_trace_elem_printer() argument
[all...]
/linux/net/netfilter/ipset/
H A Dip_set_bitmap_ipmac.c87 const struct bitmap_ipmac_elem *elem; in bitmap_ipmac_do_test() local
91 elem = get_const_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_test()
92 if (e->add_mac && elem->filled == MAC_FILLED) in bitmap_ipmac_do_test()
93 return ether_addr_equal(e->ether, elem->ether); in bitmap_ipmac_do_test()
101 const struct bitmap_ipmac_elem *elem; in bitmap_ipmac_gc_test() local
105 elem = get_const_elem(map->extensions, id, dsize); in bitmap_ipmac_gc_test()
107 return elem->filled == MAC_FILLED; in bitmap_ipmac_gc_test()
111 bitmap_ipmac_is_filled(const struct bitmap_ipmac_elem *elem) in bitmap_ipmac_is_filled() argument
113 return elem->filled == MAC_FILLED; in bitmap_ipmac_is_filled()
147 struct bitmap_ipmac_elem *elem; in bitmap_ipmac_do_add() local
[all …]
H A Dip_set_hash_netiface.c51 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 …]
H A Dip_set_hash_netnet.c69 hash_netnet4_do_data_match(const struct hash_netnet4_elem *elem) in hash_netnet4_do_data_match() argument
71 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netnet4_do_data_match()
75 hash_netnet4_data_set_flags(struct hash_netnet4_elem *elem, u32 flags) in hash_netnet4_data_set_flags() argument
77 elem->nomatch = (flags >> 16) & IPSET_FLAG_NOMATCH; in hash_netnet4_data_set_flags()
81 hash_netnet4_data_reset_flags(struct hash_netnet4_elem *elem, u8 *flags) in hash_netnet4_data_reset_flags() argument
83 swap(*flags, elem->nomatch); in hash_netnet4_data_reset_flags()
87 hash_netnet4_data_reset_elem(struct hash_netnet4_elem *elem, in hash_netnet4_data_reset_elem() argument
90 elem->ip[1] = orig->ip[1]; in hash_netnet4_data_reset_elem()
94 hash_netnet4_data_netmask(struct hash_netnet4_elem *elem, u8 cidr, bool inner) in hash_netnet4_data_netmask() argument
97 elem->ip[1] &= ip_set_netmask(cidr); in hash_netnet4_data_netmask()
[all …]
/linux/drivers/scsi/
H A Dch.c218 ch_elem_to_typecode(scsi_changer *ch, u_int elem) in ch_do_scsi()
223 if (elem >= ch->firsts[i] &&
224 elem < ch->firsts[i] +
232 ch_read_element_status(scsi_changer *ch, u_int elem, char *data) in ch_elem_to_typecode()
247 ch_elem_to_typecode(ch,elem); in ch_read_element_status()
248 cmd[2] = (elem >> 8) & 0xff; in ch_read_element_status()
249 cmd[3] = elem & 0xff; in ch_read_element_status()
254 if (((buffer[16] << 8) | buffer[17]) != elem) { in ch_read_element_status()
256 elem,(buffer[16] << 8) | buffer[17]); in ch_read_element_status()
267 DPRINTK("READ ELEMENT STATUS for element 0x%x failed\n",elem); in ch_read_element_status()
227 ch_elem_to_typecode(scsi_changer * ch,u_int elem) ch_elem_to_typecode() argument
241 ch_read_element_status(scsi_changer * ch,u_int elem,char * data) ch_read_element_status() argument
303 u_int elem; ch_readconfig() local
417 ch_position(scsi_changer * ch,u_int trans,u_int elem,int rotate) ch_position() argument
499 ch_set_voltag(scsi_changer * ch,u_int elem,int alternate,int clear,u_char * tag) ch_set_voltag() argument
774 unsigned int elem; ch_ioctl() local
857 int elem; ch_ioctl() local
[all...]
/linux/tools/testing/selftests/arm64/gcs/
H A Dbasic-gcs.c185 int elem; in map_guarded_stack()
199 elem = (page_size / sizeof(uint64_t)) - 1; in map_guarded_stack()
200 if (buf[elem]) { in map_guarded_stack()
201 ksft_print_msg("Last entry is 0x%llx not 0x0\n", buf[elem]); in map_guarded_stack()
206 elem--; in map_guarded_stack()
210 if (buf[elem] != expected_cap) { in map_guarded_stack()
212 buf[elem], expected_cap); in map_guarded_stack()
215 ksft_print_msg("cap token is 0x%llx\n", buf[elem]); in map_guarded_stack()
218 for (elem = 0; elem < page_siz in map_guarded_stack()
188 int elem; map_guarded_stack() local
[all...]
/linux/drivers/scsi/csiostor/
H A Dcsio_defs.h47 #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
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_spq.c143 le32_to_cpu(p_ent->elem.hdr.cid), in qed_spq_block()
144 qed_get_ramrod_cmd_id_str(p_ent->elem.hdr.protocol_id, in qed_spq_block()
145 p_ent->elem.hdr.cmd_id), in qed_spq_block()
146 p_ent->elem.hdr.cmd_id, in qed_spq_block()
147 qed_get_protocol_type_str(p_ent->elem.hdr.protocol_id), in qed_spq_block()
148 p_ent->elem.hdr.protocol_id, in qed_spq_block()
149 le16_to_cpu(p_ent->elem.hdr.echo)); in qed_spq_block()
179 p_ent->elem.hdr.cid, in qed_spq_fill_entry()
180 qed_get_ramrod_cmd_id_str(p_ent->elem.hdr.protocol_id, in qed_spq_fill_entry()
181 p_ent->elem.hdr.cmd_id), in qed_spq_fill_entry()
[all …]
/linux/kernel/bpf/
H A Dhashtab.c127 struct htab_elem elem;
142 struct htab_elem elem; in htab_init_buckets()
248 return container_of(l, struct htab_elem_hashed, elem)->hash; in htab_free_prealloced_fields()
253 container_of(l, struct htab_elem_hashed, elem)->hash = hash; in htab_free_prealloced_fields()
278 return &container_of(l, struct htab_elem_lru, elem)->lru_node; in htab_free_elems()
308 * extra elem. LRU itself can remove the least used element, so in prealloc_lru_pop()
309 * there is no need for an extra elem during map_update. in prealloc_lru_pop()
325 struct htab_elem *elem; in prealloc_init()
327 elem = get_htab_elem(htab, i); in prealloc_init()
329 htab_elem_value(elem, hta in prealloc_init()
231 struct htab_elem *elem; htab_free_prealloced_internal_structs() local
254 struct htab_elem *elem; htab_free_prealloced_fields() local
474 struct htab_elem *elem = obj; htab_mem_dtor() local
859 check_and_cancel_fields(struct bpf_htab * htab,struct htab_elem * elem) check_and_cancel_fields() argument
1295 htab_lru_push_free(struct bpf_htab * htab,struct htab_elem * elem) htab_lru_push_free() argument
2138 struct htab_elem *elem; bpf_hash_map_seq_find_next() local
2188 struct htab_elem *elem; bpf_hash_map_seq_start() local
2208 __bpf_hash_map_seq_show(struct seq_file * seq,struct htab_elem * elem) __bpf_hash_map_seq_show() argument
2311 struct htab_elem *elem; bpf_for_each_hash_elem() local
2910 struct rhtab_elem *elem = obj; rhtab_mem_dtor() local
2922 struct rhtab_elem *elem = ptr; rhtab_free_elem() local
2958 rhtab_read_elem_value(struct bpf_map * map,void * dst,struct rhtab_elem * elem,u64 flags) rhtab_read_elem_value() argument
2969 rhtab_delete_elem(struct bpf_rhtab * rhtab,struct rhtab_elem * elem,void * copy,u64 flags) rhtab_delete_elem() argument
3005 struct rhtab_elem *elem; rhtab_map_delete_elem() local
3019 struct rhtab_elem *elem; rhtab_map_lookup_and_delete_elem() local
3035 rhtab_map_update_existing(struct bpf_map * map,struct rhtab_elem * elem,void * value,u64 map_flags) rhtab_map_update_existing() argument
3064 struct rhtab_elem *elem, *tmp; rhtab_map_update_elem() local
3151 struct rhtab_elem *elem; rhtab_map_free_internal_structs() local
3192 struct rhtab_elem *elem; rhtab_map_get_next_key() local
3231 struct rhtab_elem *elem; bpf_each_rhash_elem() local
3287 struct rhtab_elem *elem; __rhtab_map_lookup_and_delete_batch() local
3434 struct rhtab_elem *elem; bpf_rhash_map_seq_start() local
3457 struct rhtab_elem *elem; bpf_rhash_map_seq_next() local
3472 __bpf_rhash_map_seq_show(struct seq_file * seq,struct rhtab_elem * elem) __bpf_rhash_map_seq_show() argument
[all...]

12345678