Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 596) sorted by relevance

12345678910>>...24

/linux/include/linux/
A Dvmstat.h146 enum numa_stat_item item) in zone_numa_event_add() argument
267 #define sum_zone_node_page_state(node, item) global_zone_page_state(item) argument
268 #define node_page_state(node, item) global_node_page_state(item) argument
269 #define node_page_state_pages(node, item) global_node_page_state_pages(item) argument
425 enum zone_stat_item item) in __zone_stat_add_folio() argument
431 enum zone_stat_item item) in __zone_stat_sub_folio() argument
502 return vmstat_text[item]; in zone_stat_name()
509 item]; in numa_stat_name()
517 item]; in node_stat_name()
530 item]; in writeback_stat_name()
[all …]
/linux/fs/configfs/
A Ditem.c73 if (item->ci_name && item->ci_name != item->ci_namebuf) in config_item_set_name()
74 kfree(item->ci_name); in config_item_set_name()
77 item->ci_name = name; in config_item_set_name()
87 item->ci_type = type; in config_item_init_type_name()
103 if (item) in config_item_get()
105 return item; in config_item_get()
111 if (item && kref_get_unless_zero(&item->ci_kref)) in config_item_get_unless_zero()
112 return item; in config_item_get_unless_zero()
124 if (item->ci_name != item->ci_namebuf) in config_item_cleanup()
126 item->ci_name = NULL; in config_item_cleanup()
[all …]
/linux/tools/testing/radix-tree/
A Dtest.c11 struct item *
17 struct item *
39 struct item *item = item_create(index, 0); in item_insert() local
40 int err = radix_tree_insert(root, item->index, item); in item_insert()
63 struct item *item = radix_tree_delete(root, index); in item_delete() local
65 if (!item) in item_delete()
74 struct item *item = container_of(head, struct item, rcu_head); in item_free_rcu() local
81 struct item *item = xa_erase(xa, index); in item_delete_rcu() local
93 struct item *item; in item_check_present() local
107 struct item *item; in item_check_absent() local
[all …]
A Dmultiorder.c19 struct item *item = item_create(index, order); in item_insert_order() local
23 xas_store(&xas, item); in item_insert_order()
30 free(item); in item_insert_order()
37 struct item *item; in multiorder_iteration() local
66 assert(item->order == order[i]); in multiorder_iteration()
77 struct item *item; in multiorder_tagged_iteration() local
115 assert(!xa_is_internal(item)); in multiorder_tagged_iteration()
117 assert(item->order == order[k]); in multiorder_tagged_iteration()
142 assert(!xa_is_internal(item)); in multiorder_tagged_iteration()
183 struct item *item; in iterator_func() local
[all …]
/linux/drivers/target/
A Dtarget_core_stat.c50 struct se_hba *hba = to_stat_dev(item)->se_hba; in target_stat_inst_show()
119 if (to_stat_tgt_dev(item)->export_count) in target_stat_tgt_status_show()
130 if (to_stat_tgt_dev(item)->export_count) in target_stat_tgt_non_access_lus_show()
206 to_stat_lu_dev(item)->dev_index); in target_stat_lu_dev_show()
222 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_lu_name_show()
232 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_vend_show()
423 struct se_lun *lun = to_stat_port(item); in target_stat_port_inst_show()
437 struct se_lun *lun = to_stat_port(item); in target_stat_port_dev_show()
451 struct se_lun *lun = to_stat_port(item); in target_stat_port_indx_show()
465 struct se_lun *lun = to_stat_port(item); in target_stat_port_role_show()
[all …]
A Dtarget_core_configfs.c271 struct config_item *item) in target_core_deregister_fabric() argument
287 config_item_put(item); in target_core_deregister_fabric()
2755 struct config_item *item) in target_core_alua_drop_lu_gp() argument
2767 config_item_put(item); in target_core_alua_drop_lu_gp()
3186 struct config_item *item) in target_core_alua_drop_tg_pt_gp() argument
3198 config_item_put(item); in target_core_alua_drop_tg_pt_gp()
3237 struct config_item *item) in target_core_stat_rmdir() argument
3331 struct config_item *item) in target_core_drop_subdev() argument
3356 config_item_put(item); in target_core_drop_subdev()
3511 struct config_item *item) in target_core_call_delhbafromtarget() argument
[all …]
/linux/drivers/net/wireless/st/cw1200/
A Dqueue.c72 list_del(&item->head); in cw1200_queue_post_gc()
73 stats->skb_dtor(stats->priv, item->skb, &item->txpriv); in cw1200_queue_post_gc()
74 kfree(item); in cw1200_queue_post_gc()
108 item->skb = NULL; in __cw1200_queue_gc()
120 } else if (item) { in __cw1200_queue_gc()
210 WARN_ON(!item->skb); in cw1200_queue_clear()
212 item->skb = NULL; in cw1200_queue_clear()
291 BUG_ON(item->skb); in cw1200_queue_put()
294 item->skb = skb; in cw1200_queue_put()
465 item->skb = NULL; in cw1200_queue_remove()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Ditem.h34 item->name, item->offset, item->step, in __mlxsw_item_offset()
39 return ((item->offset + item->step * index + item->in_step_offset) / in __mlxsw_item_offset()
52 tmp >>= item->shift; in __mlxsw_item_get8()
55 tmp <<= item->shift; in __mlxsw_item_get8()
65 u8 mask = GENMASK(item->size.bits - 1, 0) << item->shift; in __mlxsw_item_set8()
86 tmp >>= item->shift; in __mlxsw_item_get16()
99 u16 mask = GENMASK(item->size.bits - 1, 0) << item->shift; in __mlxsw_item_set16()
133 u32 mask = GENMASK(item->size.bits - 1, 0) << item->shift; in __mlxsw_item_set32()
166 u64 mask = GENMASK_ULL(item->size.bits - 1, 0) << item->shift; in __mlxsw_item_set64()
216 item->name, item->offset, item->element_size); in __mlxsw_item_bit_array_offset()
[all …]
/linux/drivers/target/iscsi/
A Discsi_target_stat.c54 iscsi_instance_tiqn(item)->tiqn_index); in iscsi_stat_instance_inst_show()
73 iscsi_instance_tiqn(item)->tiqn_num_tpg_nps); in iscsi_stat_instance_portals_show()
86 iscsi_instance_tiqn(item)->tiqn_nsessions); in iscsi_stat_instance_sessions_show()
92 struct iscsi_tiqn *tiqn = iscsi_instance_tiqn(item); in iscsi_stat_instance_fail_sess_show()
108 struct iscsi_tiqn *tiqn = iscsi_instance_tiqn(item); in iscsi_stat_instance_fail_type_show()
200 iscsi_sess_err_tiqn(item)->tiqn_index); in iscsi_stat_sess_err_inst_show()
262 iscsi_tgt_attr_tiqn(item)->tiqn_index); in iscsi_stat_tgt_attr_inst_show()
402 iscsi_login_stat_tiqn(item)->tiqn_index); in iscsi_stat_login_inst_show()
468 struct config_item *item, char *page) in iscsi_stat_login_authenticate_fails_show() argument
534 iscsi_logout_stat_tiqn(item)->tiqn_index); in iscsi_stat_logout_inst_show()
[all …]
/linux/drivers/input/rmi4/
A Drmi_f12.c78 if (!item) { in rmi_f12_read_sensor_tuning()
89 sizeof(buf), item->reg_size); in rmi_f12_read_sensor_tuning()
94 item->reg_size); in rmi_f12_read_sensor_tuning()
250 if (item) { in rmi_f12_write_control_regs()
443 if (item) { in rmi_f12_probe()
444 f12->data1 = item; in rmi_f12_probe()
465 if (item) { in rmi_f12_probe()
466 f12->data5 = item; in rmi_f12_probe()
474 f12->data6 = item; in rmi_f12_probe()
489 f12->data9 = item; in rmi_f12_probe()
[all …]
/linux/fs/nfs/
A Ddns_resolve.c111 kfree(item); in nfs_dns_ent_free_rcu()
124 struct nfs_dns_ent *item = kmalloc(sizeof(*item), GFP_KERNEL); in nfs_dns_ent_alloc() local
130 return &item->h; in nfs_dns_ent_alloc()
265 if (item == NULL) in nfs_dns_parse()
271 item = nfs_dns_update(cd, &key, item); in nfs_dns_parse()
272 if (item == NULL) in nfs_dns_parse()
289 if (*item) { in do_cache_lookup()
292 *item = NULL; in do_cache_lookup()
304 if (!*item) in do_cache_lookup_nowait()
318 *item = NULL; in do_cache_lookup_nowait()
[all …]
/linux/drivers/most/
A Dconfigfs.c18 struct config_item item; member
92 return container_of(item, struct mdev_link, item); in to_mdev_link()
245 to_mdev_link(item)->comp_params); in mdev_link_comp_params_show()
261 to_mdev_link(item)->num_buffers); in mdev_link_num_buffers_show()
279 to_mdev_link(item)->buffer_size); in mdev_link_buffer_size_show()
298 to_mdev_link(item)->subbuffer_size); in mdev_link_subbuffer_size_show()
399 kfree(to_mdev_link(item)); in mdev_link_release()
447 return &mdev_link->item; in most_common_make_item()
462 struct config_item *item) in most_common_disconnect() argument
537 return &mdev_link->item; in most_snd_grp_make_item()
[all …]
/linux/drivers/nvme/target/
A Dconfigfs.c338 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_path_store()
372 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_show()
380 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_store()
419 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_uuid_store()
447 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_nguid_store()
493 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_ana_grpid_store()
526 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_enable_store()
551 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_buffered_io_store()
574 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_revalidate_size_store()
962 to_subsys(item)->allow_any_host); in nvmet_subsys_attr_allow_any_host_show()
[all …]
/linux/drivers/platform/mellanox/
A Dmlxreg-hotplug.c226 if (item->health) { in mlxreg_hotplug_attr_show()
230 if (item->inversed) in mlxreg_hotplug_attr_show()
252 item = pdata->items; in mlxreg_hotplug_attr_init()
267 item->mask = GENMASK((regval & item->mask) - 1, 0); in mlxreg_hotplug_attr_init()
270 data = item->data; in mlxreg_hotplug_attr_init()
273 mask = item->mask; in mlxreg_hotplug_attr_init()
348 item->reg, item->mask); in mlxreg_hotplug_work_helper()
392 item->mask); in mlxreg_hotplug_work_helper()
543 if (item->health) in mlxreg_hotplug_work_handler()
601 data = item->data; in mlxreg_hotplug_set_irq()
[all …]
/linux/samples/configfs/
A Dconfigfs_sample.c45 struct childless *childless = to_childless(item); in childless_showme_show()
56 return sprintf(page, "%d\n", to_childless(item)->storeme); in childless_storeme_show()
62 struct childless *childless = to_childless(item); in childless_storeme_store()
122 struct config_item item; member
128 return container_of(item, struct simple_child, item); in to_simple_child()
156 static void simple_child_release(struct config_item *item) in simple_child_release() argument
158 kfree(to_simple_child(item)); in simple_child_release()
177 return container_of(to_config_group(item), in to_simple_children()
190 config_item_init_type_name(&simple_child->item, name, in simple_children_make_item()
193 return &simple_child->item; in simple_children_make_item()
[all …]
/linux/include/trace/
A Dtrace_events.h85 #define __field(type, item) type item; argument
88 #define __field_ext(type, item, filter_type) type item; argument
91 #define __field_struct(type, item) type item; argument
94 #define __field_struct_ext(type, item, filter_type) type item; argument
97 #define __array(type, item, len) type item[len]; argument
100 #define __dynamic_array(type, item, len) u32 __data_loc_##item; argument
103 #define __string(item, src) __dynamic_array(char, item, -1) argument
198 #define __dynamic_array(type, item, len) u32 item; argument
201 #define __string(item, src) __dynamic_array(char, item, -1) argument
466 #define __string(item, src) __dynamic_array(char, item, -1) argument
[all …]
/linux/drivers/net/
A Dnetconsole.c100 struct config_item item; member
131 if (config_item_name(&nt->item)) in netconsole_target_get()
132 config_item_get(&nt->item); in netconsole_target_get()
137 if (config_item_name(&nt->item)) in netconsole_target_put()
138 config_item_put(&nt->item); in netconsole_target_put()
238 return item ? in to_target()
239 container_of(item, struct netconsole_target, item) : in to_target()
601 kfree(to_target(item)); in netconsole_target_release()
646 return &nt->item; in make_netconsole_target()
650 struct config_item *item) in drop_netconsole_target() argument
[all …]
/linux/lib/
A Dparman.c45 struct parman_item *item);
135 struct parman_item *item; in parman_prio_shift_down() local
144 item->index = to_index; in parman_prio_shift_down()
150 struct parman_item *item; in parman_prio_shift_up() local
159 item->index = to_index; in parman_prio_shift_up()
170 if (last_item == item) { in parman_prio_item_remove()
171 list_del(&item->list); in parman_prio_item_remove()
174 to_index = item->index; in parman_prio_item_remove()
183 struct parman_item *item) in parman_lsort_item_add() argument
201 item->index = new_index; in parman_lsort_item_add()
[all …]
/linux/tools/testing/ktest/
A Dconfig-bisect.pl329 if (defined($b{$item}) && $b{$item} ne $a{$item}) {
330 $ret{$item} = $b{$item};
348 if (!defined($a{$item})) {
349 $ret{$item} = $b{$item};
370 if (!defined($a{$item})) {
373 if ($a{$item} ne $b{$item}) {
480 doprint "Updating $item to $source_configs{$item}\n";
481 $tmp_config{$item} = $source_configs{$item};
530 doprint " $good_configs{$item}\t$bad_configs{$item}\n";
598 if ($good_configs{$item} ne $bad_configs{$item}) {
[all …]
/linux/mm/
A Dvmstat.c40 int item, cpu; in zero_zone_numa_counters() local
42 for (item = 0; item < NR_VM_NUMA_EVENT_ITEMS; item++) { in zero_zone_numa_counters()
63 int item; in zero_global_numa_counters() local
65 for (item = 0; item < NR_VM_NUMA_EVENT_ITEMS; item++) in zero_global_numa_counters()
173 enum numa_stat_item item; in fold_vm_zone_numa_events() local
179 for (item = 0; item < NR_VM_NUMA_EVENT_ITEMS; item++) in fold_vm_zone_numa_events()
180 zone_numa_events[item] += xchg(&pzstats->vm_numa_event[item], 0); in fold_vm_zone_numa_events()
183 for (item = 0; item < NR_VM_NUMA_EVENT_ITEMS; item++) in fold_vm_zone_numa_events()
184 zone_numa_event_add(zone_numa_events[item], zone, item); in fold_vm_zone_numa_events()
720 __inc_zone_state(zone, item); in inc_zone_page_state()
[all …]
/linux/fs/ocfs2/cluster/
A Dnodemanager.c145 return item ? in to_o2nm_cluster()
153 return item ? container_of(item, struct o2nm_node, nd_item) : NULL; in to_o2nm_node()
158 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_release()
186 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_num_store()
481 struct config_item *item, char *page) in o2nm_cluster_keepalive_delay_ms_show() argument
518 struct config_item *item, char *page) in o2nm_cluster_reconnect_delay_ms_show() argument
532 struct config_item *item, char *page) in o2nm_cluster_fence_method_show() argument
603 struct config_item *item) in o2nm_node_group_drop_item() argument
637 config_item_put(item); in o2nm_node_group_drop_item()
740 config_item_put(item); in o2nm_cluster_group_drop_item()
[all …]
/linux/scripts/kconfig/
A Dqconf.cc256 if (!item || !item->menu || !menu_is_visible(item->menu)) in createEditor()
278 if (!item || !item->menu) in setModelData()
387 for (; item; item = item->nextItem) { in findConfigItem()
404 if (!item) in updateSelection()
491 sym = item->menu ? item->menu->sym : 0; in setValue()
522 item->setExpanded(!item->isExpanded()); in changeValue()
534 item->setExpanded(!item->isExpanded()); in changeValue()
635 if (!item || item->menu != child) in updateMenuList()
648 if (item && item->menu == child) { in updateMenuList()
700 if (!item || item->menu != child) in updateMenuList()
[all …]
/linux/drivers/usb/gadget/function/
A Du_ether_configfs.h17 static void _f_##_attr_release(struct config_item *item) \
19 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
32 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
45 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
67 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
80 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
102 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
114 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
141 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
154 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
[all …]
/linux/kernel/trace/
A Dtrace_export.c37 #define __field_struct(type, item) argument
40 #define __field(type, item) type item; argument
43 #define __field_fn(type, item) type item; argument
46 #define __field_desc(type, container, item) type item; argument
49 #define __field_packed(type, container, item) type item; argument
52 #define __array(type, item, size) type item[size]; argument
55 #define __array_desc(type, container, item, size) type item[size]; argument
58 #define __dynamic_array(type, item) type item[]; argument
137 #define __field(type, item) argument
140 #define __field_fn(type, item) argument
[all …]
/linux/drivers/usb/gadget/
A Dconfigfs.c378 struct config_item *item) in to_gadget_config_name() argument
385 struct config_item *item) in to_usb_function_instance() argument
636 struct config_item *item) in function_drop() argument
646 config_item_put(item); in function_drop()
745 struct config_item *item) in config_desc_drop() argument
747 config_item_put(item); in config_desc_drop()
792 struct config_item *item) in os_desc_item_to_gadget_info() argument
960 return container_of(item, struct usb_os_desc_ext_prop, item); in to_usb_os_desc_ext_prop()
1119 return &ext_prop->item; in ext_prop_make()
1135 config_item_put(item); in ext_prop_drop()
[all …]

Completed in 89 milliseconds

12345678910>>...24