/openbmc/linux/include/linux/ |
H A D | vmstat.h | 146 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 …]
|
/openbmc/linux/include/trace/stages/ |
H A D | stage1_struct_define.h | 6 #define __field(type, item) type item; argument 9 #define __field_ext(type, item, filter_type) type item; argument 12 #define __field_struct(type, item) type item; argument 15 #define __field_struct_ext(type, item, filter_type) type item; argument 18 #define __array(type, item, len) type item[len]; argument 21 #define __dynamic_array(type, item, len) u32 __data_loc_##item; argument 24 #define __string(item, src) __dynamic_array(char, item, -1) argument 30 #define __vstring(item, fmt, ap) __dynamic_array(char, item, -1) argument 33 #define __bitmask(item, nr_bits) __dynamic_array(char, item, -1) argument 36 #define __cpumask(item) __dynamic_array(char, item, -1) argument [all …]
|
H A D | stage5_get_offsets.h | 22 #define __field(type, item) \ argument 38 #define __array(type, item, len) argument 49 #define __string(item, src) __dynamic_array(char, item, \ argument 53 #define __string_len(item, src, len) __dynamic_array(char, item, (len) + 1) argument 56 #define __vstring(item, fmt, ap) __dynamic_array(char, item, \ argument 70 #define __rel_string(item, src) __rel_dynamic_array(char, item, \ argument 74 #define __rel_string_len(item, src, len) __rel_dynamic_array(char, item, (len) + 1) argument 95 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, \ argument 99 #define __cpumask(item) __bitmask(item, nr_cpumask_bits) argument 102 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, \ argument [all …]
|
H A D | stage2_data_offsets.h | 12 #define __field(type, item) argument 27 #define __dynamic_array(type, item, len) u32 item; argument 30 #define __string(item, src) __dynamic_array(char, item, -1) argument 33 #define __string_len(item, src, len) __dynamic_array(char, item, -1) argument 36 #define __vstring(item, fmt, ap) __dynamic_array(char, item, -1) argument 39 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) argument 42 #define __cpumask(item) __dynamic_array(unsigned long, item, -1) argument 48 #define __rel_dynamic_array(type, item, len) u32 item; argument 51 #define __rel_string(item, src) __rel_dynamic_array(char, item, -1) argument 54 #define __rel_string_len(item, src, len) __rel_dynamic_array(char, item, -1) argument [all …]
|
H A D | stage4_event_fields.h | 20 #define __field(type, item) __field_ext(type, item, FILTER_OTHER) argument 23 #define __field_struct(type, item) __field_struct_ext(type, item, FILTER_OTHER) argument 39 #define __string(item, src) __dynamic_array(char, item, -1) argument 42 #define __string_len(item, src, len) __dynamic_array(char, item, -1) argument 45 #define __vstring(item, fmt, ap) __dynamic_array(char, item, -1) argument 48 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) argument 51 #define __cpumask(item) { \ argument 66 #define __rel_string(item, src) __rel_dynamic_array(char, item, -1) argument 69 #define __rel_string_len(item, src, len) __rel_dynamic_array(char, item, -1) argument 72 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, -1) argument [all …]
|
H A D | stage6_event_callback.h | 12 #define __field(type, item) argument 22 __entry->__data_loc_##item = __data_offsets.item; 25 #define __string(item, src) __dynamic_array(char, item, -1) argument 28 #define __string_len(item, src, len) __dynamic_array(char, item, -1) argument 31 #define __vstring(item, fmt, ap) __dynamic_array(char, item, -1) argument 54 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) argument 64 #define __cpumask(item) __dynamic_array(unsigned long, item, -1) argument 85 __entry->__rel_loc_##item = __data_offsets.item; 88 #define __rel_string(item, src) __rel_dynamic_array(char, item, -1) argument 91 #define __rel_string_len(item, src, len) __rel_dynamic_array(char, item, -1) argument [all …]
|
/openbmc/linux/fs/configfs/ |
H A D | item.c | 73 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 …]
|
/openbmc/u-boot/fs/btrfs/ |
H A D | dir-item.c | 15 if (item->type >= BTRFS_FT_MAX) { in verify_dir_item() 23 end = start + sizeof(*item) + item->name_len; in verify_dir_item() 26 item->name_len); in verify_dir_item() 37 struct btrfs_dir_item *item; in btrfs_match_dir_item_name() local 46 btrfs_dir_item_to_cpu(item); in btrfs_match_dir_item_name() 47 this_len = sizeof(*item) + item->name_len + item->data_len; in btrfs_match_dir_item_name() 54 return item; in btrfs_match_dir_item_name() 57 item = (struct btrfs_dir_item *) ((u8 *) item + this_len); in btrfs_match_dir_item_name() 83 *item = *res; in btrfs_lookup_dir_item() 112 if (verify_dir_item(item, 0, sizeof(*item) + item->name_len)) in btrfs_readdir() [all …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | inventory.pl | 63 $item{name} = $target; 69 $item{is_fru} = 1; 71 $item{is_fru} = 0; 159 for my $item (@$items) { 182 $item->{name} =~ 205 for my $item (@$items) { 225 $item->{name} =~ 252 my $item; 254 for $item (@$items) { 374 my $segment, my $item; [all …]
|
H A D | Inventory.pm | 62 my %item; 86 for my $item (@$inventory) { 154 for my $item (@$inventory) { 193 for my $item (@$inventory) { 225 for my $item (@$inventory) { 261 for my $item (@$inventory) { 291 for my $item (@$inventory) { 299 for my $item (@$inventory) { 315 for my $item (@$inventory) { 342 for my $item (@$inventory) { [all …]
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | test.c | 11 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 …]
|
/openbmc/linux/drivers/target/ |
H A D | target_core_stat.c | 50 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 …]
|
/openbmc/u-boot/common/ |
H A D | menu.c | 82 puts(item->key); in menu_item_print() 99 if (item->key) in menu_item_destroy() 100 free(item->key); in menu_item_destroy() 102 free(item); in menu_item_destroy() 141 return item; in menu_item_key_match() 147 return item; in menu_item_key_match() 246 if (!item) in menu_default_set() 307 if (item) { in menu_item_add() 312 item = malloc(sizeof *item); in menu_item_add() 313 if (!item) in menu_item_add() [all …]
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_stat.c | 54 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 …]
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_f12.c | 78 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 …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | uvc_configfs.h | 19 static inline struct f_uvc_opts *to_f_uvc_opts(struct config_item *item) in to_f_uvc_opts() argument 21 return container_of(to_config_group(item), struct f_uvc_opts, in to_f_uvc_opts() 30 struct config_item item; member 37 return container_of(item, struct uvcg_control_header, item); in to_uvcg_control_header() 75 struct config_item item; member 84 return container_of(item, struct uvcg_streaming_header, item); in to_uvcg_streaming_header() 93 struct config_item item; member 114 return container_of(item, struct uvcg_frame, item); in to_uvcg_frame() 142 return container_of(to_uvcg_format(item), struct uvcg_mjpeg, fmt); in to_uvcg_mjpeg() 164 struct config_item item; member [all …]
|
/openbmc/linux/drivers/net/wireless/st/cw1200/ |
H A D | queue.c | 73 list_del(&item->head); in cw1200_queue_post_gc() 74 stats->skb_dtor(stats->priv, item->skb, &item->txpriv); in cw1200_queue_post_gc() 75 kfree(item); in cw1200_queue_post_gc() 99 item = iter; in __cw1200_queue_gc() 123 } else if (item) { in __cw1200_queue_gc() 213 WARN_ON(!item->skb); in cw1200_queue_clear() 215 item->skb = NULL; in cw1200_queue_clear() 294 BUG_ON(item->skb); in cw1200_queue_put() 297 item->skb = skb; in cw1200_queue_put() 468 item->skb = NULL; in cw1200_queue_remove() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | item.h | 34 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 …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | testexport.py | 91 …tive_rpm_file_list = [item for item in os.listdir(native_rpm_dir) if re.search("nativesdk-" + para… 104 …target_rpm_file_list = [item for item in os.listdir(arch_rpm_dir) if re.search(param_list[0] + "-(… 137 for item in native_rpm_file_list: 155 extracted_bin_list = [item for item in os.listdir(extracted_bin_path)] 198 for item in os.listdir(dir): 199 … if os.path.isdir(os.path.join(dir, item)) and os.path.join(dir, item) not in dir_list: 202 … elif os.path.join(dir, item) not in files_list and os.path.isfile(os.path.join(dir, item)): 233 for item in os.listdir(arch_rpms_dir): 235 rpm_to_send = item 238 rpm_to_send = item [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | dns_resolve.c | 110 kfree(item); in nfs_dns_ent_free_rcu() 123 struct nfs_dns_ent *item = kmalloc(sizeof(*item), GFP_KERNEL); in nfs_dns_ent_alloc() local 129 return &item->h; in nfs_dns_ent_alloc() 264 if (item == NULL) in nfs_dns_parse() 270 item = nfs_dns_update(cd, &key, item); in nfs_dns_parse() 271 if (item == NULL) in nfs_dns_parse() 288 if (*item) { in do_cache_lookup() 291 *item = NULL; in do_cache_lookup() 303 if (!*item) in do_cache_lookup_nowait() 317 *item = NULL; in do_cache_lookup_nowait() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | taskdata.py | 211 if item in self.build_targets: 216 self.build_targets[item] = [fn] 230 if item in self.run_targets: 235 self.run_targets[item] = [fn] 274 def get_provider(self, item): argument 280 def get_dependees(self, item): argument 290 def get_rdependees(self, item): argument 355 …bb.event.fire(bb.event.NoProvider(item, dependees=self.get_dependees(item), reasons=self.get_reaso… 367 …nt.fire(bb.event.NoProvider(item, dependees=self.get_dependees(item), reasons=["No eligible PROVID… 403 …b.event.fire(bb.event.NoProvider(item, runtime=True, dependees=self.get_rdependees(item), reasons=… [all …]
|
/openbmc/linux/drivers/most/ |
H A D | configfs.c | 18 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 …]
|
/openbmc/linux/drivers/platform/mellanox/ |
H A D | mlxreg-hotplug.c | 225 if (item->health) { in mlxreg_hotplug_attr_show() 229 if (item->inversed) in mlxreg_hotplug_attr_show() 262 item = pdata->items; in mlxreg_hotplug_attr_init() 277 item->mask = GENMASK((regval & item->mask) - 1, 0); in mlxreg_hotplug_attr_init() 280 data = item->data; in mlxreg_hotplug_attr_init() 283 mask = item->mask; in mlxreg_hotplug_attr_init() 285 count = item->ind ? item->ind : item->count; in mlxreg_hotplug_attr_init() 360 item->reg, item->mask); in mlxreg_hotplug_work_helper() 409 item->mask); in mlxreg_hotplug_work_helper() 560 if (item->health) in mlxreg_hotplug_work_handler() [all …]
|
/openbmc/linux/samples/configfs/ |
H A D | configfs_sample.c | 45 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 …]
|
/openbmc/linux/drivers/nvme/target/ |
H A D | configfs.c | 345 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_path_store() 379 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_show() 387 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_store() 426 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_uuid_store() 454 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_nguid_store() 500 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_ana_grpid_store() 534 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_enable_store() 567 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_buffered_io_store() 590 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_revalidate_size_store() 1011 to_subsys(item)->allow_any_host); in nvmet_subsys_attr_allow_any_host_show() [all …]
|