/openbmc/linux/fs/configfs/ |
H A D | item.c | 3 * item.c - library routines for handling generic config items 31 * config_item_init - initialize item. 32 * @item: item in question. 34 static void config_item_init(struct config_item *item) in config_item_init() argument 36 kref_init(&item->ci_kref); in config_item_init() 37 INIT_LIST_HEAD(&item->ci_entry); in config_item_init() 41 * config_item_set_name - Set the name of an item 42 * @item: item. 46 * dynamically allocated string that @item->ci_name points to. 47 * Otherwise, use the static @item->ci_namebuf array. [all …]
|
/openbmc/linux/include/linux/ |
H A D | vmstat.h | 64 static inline void __count_vm_event(enum vm_event_item item) in __count_vm_event() argument 66 raw_cpu_inc(vm_event_states.event[item]); in __count_vm_event() 69 static inline void count_vm_event(enum vm_event_item item) in count_vm_event() argument 71 this_cpu_inc(vm_event_states.event[item]); in count_vm_event() 74 static inline void __count_vm_events(enum vm_event_item item, long delta) in __count_vm_events() argument 76 raw_cpu_add(vm_event_states.event[item], delta); in __count_vm_events() 79 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument 81 this_cpu_add(vm_event_states.event[item], delta); in count_vm_events() 91 static inline void count_vm_event(enum vm_event_item item) in count_vm_event() argument 94 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument [all …]
|
/openbmc/openbmc/meta-ibm/meta-genesis3/recipes-phosphor/inventory/static-inventory/ |
H A D | static-inventory.yaml | 13 xyz.openbmc_project.Inventory.Item: 24 xyz.openbmc_project.Inventory.Item.Bmc: 41 xyz.openbmc_project.Inventory.Item: 48 xyz.openbmc_project.Inventory.Item.Dimm: 64 xyz.openbmc_project.Inventory.Item: 71 xyz.openbmc_project.Inventory.Item.Dimm: 87 xyz.openbmc_project.Inventory.Item: 94 xyz.openbmc_project.Inventory.Item.Dimm: 110 xyz.openbmc_project.Inventory.Item: 117 xyz.openbmc_project.Inventory.Item.Dimm: [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 27 #define __string_len(item, src, len) __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 [all …]
|
H A D | stage2_data_offsets.h | 12 #define __field(type, item) argument 15 #define __field_ext(type, item, filter_type) argument 18 #define __field_struct(type, item) argument 21 #define __field_struct_ext(type, item, filter_type) argument 24 #define __array(type, item, len) 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 [all …]
|
H A D | stage5_get_offsets.h | 16 * type called "struct _test_no_array_##item" which will fail if "item" 22 #define __field(type, item) \ argument 23 { (void)sizeof(struct _test_no_array_##item *); } 26 #define __field_ext(type, item, filter_type) \ argument 27 { (void)sizeof(struct _test_no_array_##item *); } 30 #define __field_struct(type, item) \ argument 31 { (void)sizeof(struct _test_no_array_##item *); } 34 #define __field_struct_ext(type, item, filter_type) \ argument 35 { (void)sizeof(struct _test_no_array_##item *); } 38 #define __array(type, item, len) argument [all …]
|
/openbmc/openbmc/meta-ibm/meta-sbp1/recipes-phosphor/inventory/static-inventory/ |
H A D | static-inventory.yaml | 13 xyz.openbmc_project.Inventory.Item: 24 xyz.openbmc_project.Inventory.Item.Bmc: 41 xyz.openbmc_project.Inventory.Item: 48 xyz.openbmc_project.Inventory.Item.Dimm: 64 xyz.openbmc_project.Inventory.Item: 71 xyz.openbmc_project.Inventory.Item.Dimm: 87 xyz.openbmc_project.Inventory.Item: 94 xyz.openbmc_project.Inventory.Item.Dimm: 110 xyz.openbmc_project.Inventory.Item: 117 xyz.openbmc_project.Inventory.Item.Dimm: [all …]
|
/openbmc/u-boot/common/ |
H A D | menu.c | 15 * Internally, each item in a menu is represented by a struct menu_item. 45 * An iterator function for menu items. callback will be called for each item 46 * in m, with m, a pointer to the item, and extra being passed to callback. If 50 * item from the list of items. 57 struct menu_item *item; in menu_items_iter() local 61 item = list_entry(pos, struct menu_item, list); in menu_items_iter() 63 ret = callback(m, item, extra); in menu_items_iter() 74 * when creating the menu, call it with a pointer to the item's private data. 75 * Otherwise, print the key of the item. 78 struct menu_item *item, in menu_item_print() argument [all …]
|
/openbmc/u-boot/fs/btrfs/ |
H A D | dir-item.c | 10 static int verify_dir_item(struct btrfs_dir_item *item, u32 start, u32 total) in verify_dir_item() argument 15 if (item->type >= BTRFS_FT_MAX) { in verify_dir_item() 16 printf("%s: invalid dir item type: %i\n", __func__, item->type); in verify_dir_item() 20 if (item->type == BTRFS_FT_XATTR) in verify_dir_item() 23 end = start + sizeof(*item) + item->name_len; in verify_dir_item() 24 if (item->name_len > max_len || end > total) { in verify_dir_item() 25 printf("%s: invalid dir item name len: %u\n", __func__, 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 41 item = btrfs_path_item_ptr(path, struct btrfs_dir_item); in btrfs_match_dir_item_name() [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/ |
H A D | olympus-nuvoton-ipmi-fru.yaml | 20 xyz.openbmc_project.Inventory.Item.System: 38 xyz.openbmc_project.Inventory.Item: 51 xyz.openbmc_project.Inventory.Item.Board: 70 xyz.openbmc_project.Inventory.Item: 83 xyz.openbmc_project.Inventory.Item.Board: 84 xyz.openbmc_project.Inventory.Item.Bmc: 85 xyz.openbmc_project.Inventory.Item.NetworkInterface: 89 xyz.openbmc_project.Inventory.Item.Ethernet: 105 xyz.openbmc_project.Inventory.Item: 109 xyz.openbmc_project.Inventory.Item.Cpu: [all …]
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_stat.c | 43 static struct iscsi_tiqn *iscsi_instance_tiqn(struct config_item *item) in iscsi_instance_tiqn() argument 45 struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), in iscsi_instance_tiqn() 50 static ssize_t iscsi_stat_instance_inst_show(struct config_item *item, in iscsi_stat_instance_inst_show() argument 54 iscsi_instance_tiqn(item)->tiqn_index); in iscsi_stat_instance_inst_show() 57 static ssize_t iscsi_stat_instance_min_ver_show(struct config_item *item, in iscsi_stat_instance_min_ver_show() argument 63 static ssize_t iscsi_stat_instance_max_ver_show(struct config_item *item, in iscsi_stat_instance_max_ver_show() argument 69 static ssize_t iscsi_stat_instance_portals_show(struct config_item *item, in iscsi_stat_instance_portals_show() argument 73 iscsi_instance_tiqn(item)->tiqn_num_tpg_nps); in iscsi_stat_instance_portals_show() 76 static ssize_t iscsi_stat_instance_nodes_show(struct config_item *item, in iscsi_stat_instance_nodes_show() argument 82 static ssize_t iscsi_stat_instance_sessions_show(struct config_item *item, in iscsi_stat_instance_sessions_show() argument [all …]
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | test.c | 11 struct item * 17 struct item * 28 struct item *item_create(unsigned long index, unsigned int order) in item_create() 30 struct item *ret = malloc(sizeof(*ret)); in item_create() 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() 42 free(item); in item_insert() 46 void item_sanity(struct item *item, unsigned long index) in item_sanity() argument 49 assert(!radix_tree_is_internal_node(item)); in item_sanity() 50 assert(item->order < BITS_PER_LONG); in item_sanity() [all …]
|
/openbmc/linux/drivers/target/ |
H A D | target_core_stat.c | 41 static struct se_device *to_stat_dev(struct config_item *item) in to_stat_dev() argument 43 struct se_dev_stat_grps *sgrps = container_of(to_config_group(item), in to_stat_dev() 48 static ssize_t target_stat_inst_show(struct config_item *item, char *page) in target_stat_inst_show() argument 50 struct se_hba *hba = to_stat_dev(item)->se_hba; in target_stat_inst_show() 55 static ssize_t target_stat_indx_show(struct config_item *item, char *page) in target_stat_indx_show() argument 57 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show() 60 static ssize_t target_stat_role_show(struct config_item *item, char *page) in target_stat_role_show() argument 65 static ssize_t target_stat_ports_show(struct config_item *item, char *page) in target_stat_ports_show() argument 67 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show() 91 static struct se_device *to_stat_tgt_dev(struct config_item *item) in to_stat_tgt_dev() argument [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | item.h | 26 __mlxsw_item_offset(const struct mlxsw_item *item, unsigned short index, in __mlxsw_item_offset() argument 29 BUG_ON(index && !item->step); in __mlxsw_item_offset() 30 if (item->offset % typesize != 0 || in __mlxsw_item_offset() 31 item->step % typesize != 0 || in __mlxsw_item_offset() 32 item->in_step_offset % typesize != 0) { in __mlxsw_item_offset() 33 pr_err("mlxsw: item bug (name=%s,offset=%x,step=%x,in_step_offset=%x,typesize=%zx)\n", in __mlxsw_item_offset() 34 item->name, item->offset, item->step, in __mlxsw_item_offset() 35 item->in_step_offset, typesize); in __mlxsw_item_offset() 39 return ((item->offset + item->step * index + item->in_step_offset) / in __mlxsw_item_offset() 44 const struct mlxsw_item *item, in __mlxsw_item_get8() argument [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/p10bmc-yaml-config/ |
H A D | p10bmc-ipmi-fru.yaml | 18 xyz.openbmc_project.Inventory.Item: 39 xyz.openbmc_project.Inventory.Item.Dimm: 45 xyz.openbmc_project.Inventory.Item: 66 xyz.openbmc_project.Inventory.Item.Dimm: 72 xyz.openbmc_project.Inventory.Item: 93 xyz.openbmc_project.Inventory.Item.Dimm: 99 xyz.openbmc_project.Inventory.Item: 120 xyz.openbmc_project.Inventory.Item.Dimm: 126 xyz.openbmc_project.Inventory.Item: 147 xyz.openbmc_project.Inventory.Item.Dimm: [all …]
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Inventory/Item/ |
H A D | meson.build | 34 sdbusplus_current_path = 'xyz/openbmc_project/Inventory/Item' 39 '../../../../../yaml/xyz/openbmc_project/Inventory/Item.interface.yaml', 54 'xyz/openbmc_project/Inventory/Item', 68 'xyz/openbmc_project/Inventory/Item/Accelerator__markdown'.underscorify(), 69 … input: [ '../../../../../yaml/xyz/openbmc_project/Inventory/Item/Accelerator.interface.yaml', ], 77 'xyz/openbmc_project/Inventory/Item/Accelerator', 85 'xyz/openbmc_project/Inventory/Item/Battery__markdown'.underscorify(), 86 input: [ '../../../../../yaml/xyz/openbmc_project/Inventory/Item/Battery.interface.yaml', ], 94 'xyz/openbmc_project/Inventory/Item/Battery', 102 'xyz/openbmc_project/Inventory/Item/Bmc__markdown'.underscorify(), [all …]
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_f12.c | 65 const struct rmi_register_desc_item *item; in rmi_f12_read_sensor_tuning() local 77 item = rmi_get_register_desc_item(&f12->control_reg_desc, 8); in rmi_f12_read_sensor_tuning() 78 if (!item) { in rmi_f12_read_sensor_tuning() 86 if (item->reg_size > sizeof(buf)) { 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() 99 if (rmi_register_desc_has_subpacket(item, 0)) { in rmi_f12_read_sensor_tuning() 108 if (rmi_register_desc_has_subpacket(item, 1)) { in rmi_f12_read_sensor_tuning() 114 if (rmi_register_desc_has_subpacket(item, 2)) { in rmi_f12_read_sensor_tuning() 125 if (rmi_register_desc_has_subpacket(item, 3)) { in rmi_f12_read_sensor_tuning() [all …]
|
/openbmc/openpower-vpd-parser/configuration/ibm/ |
H A D | 50001002.json | 48 "xyz.openbmc_project.Inventory.Item.Board.Motherboard": null, 52 "xyz.openbmc_project.Inventory.Item": { 62 "xyz.openbmc_project.Inventory.Item": { 74 "xyz.openbmc_project.Inventory.Item.System": null, 92 "xyz.openbmc_project.Inventory.Item": { 102 "xyz.openbmc_project.Inventory.Item.Chassis": { 103 "Type": "xyz.openbmc_project.Inventory.Item.Chassis.ChassisType.RackMount" 105 "xyz.openbmc_project.Inventory.Item.Global": null, 109 "xyz.openbmc_project.Inventory.Item": { 121 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { [all …]
|
H A D | 50001000_v2.json | 58 "xyz.openbmc_project.Inventory.Item.Board.Motherboard": null, 62 "xyz.openbmc_project.Inventory.Item": { 72 "xyz.openbmc_project.Inventory.Item": { 84 "xyz.openbmc_project.Inventory.Item.System": null, 102 "xyz.openbmc_project.Inventory.Item": { 112 "xyz.openbmc_project.Inventory.Item.Chassis": { 113 "Type": "xyz.openbmc_project.Inventory.Item.Chassis.ChassisType.RackMount" 115 "xyz.openbmc_project.Inventory.Item.Global": null, 119 "xyz.openbmc_project.Inventory.Item": { 131 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { [all …]
|
H A D | 50001000.json | 36 "xyz.openbmc_project.Inventory.Item.Board.Motherboard": null, 40 "xyz.openbmc_project.Inventory.Item": { 50 "xyz.openbmc_project.Inventory.Item": { 62 "xyz.openbmc_project.Inventory.Item.System": null, 80 "xyz.openbmc_project.Inventory.Item": { 90 "xyz.openbmc_project.Inventory.Item.Chassis": { 91 "Type": "xyz.openbmc_project.Inventory.Item.Chassis.ChassisType.RackMount" 93 "xyz.openbmc_project.Inventory.Item.Global": null, 97 "xyz.openbmc_project.Inventory.Item": { 109 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { [all …]
|
H A D | 50003000.json | 53 "xyz.openbmc_project.Inventory.Item.Board.Motherboard": null, 57 "xyz.openbmc_project.Inventory.Item": { 67 "xyz.openbmc_project.Inventory.Item": { 79 "xyz.openbmc_project.Inventory.Item.System": null, 97 "xyz.openbmc_project.Inventory.Item": { 107 "xyz.openbmc_project.Inventory.Item.Chassis": { 108 "Type": "xyz.openbmc_project.Inventory.Item.Chassis.ChassisType.RackMount" 110 "xyz.openbmc_project.Inventory.Item.Global": null, 114 "xyz.openbmc_project.Inventory.Item": { 126 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { [all …]
|
H A D | 50003000_v2.json | 53 "xyz.openbmc_project.Inventory.Item.Board.Motherboard": null, 57 "xyz.openbmc_project.Inventory.Item": { 67 "xyz.openbmc_project.Inventory.Item": { 79 "xyz.openbmc_project.Inventory.Item.System": null, 97 "xyz.openbmc_project.Inventory.Item": { 107 "xyz.openbmc_project.Inventory.Item.Chassis": { 108 "Type": "xyz.openbmc_project.Inventory.Item.Chassis.ChassisType.RackMount" 110 "xyz.openbmc_project.Inventory.Item.Global": null, 114 "xyz.openbmc_project.Inventory.Item": { 126 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { [all …]
|
/openbmc/linux/lib/ |
H A D | parman.c | 45 struct parman_item *item); 47 struct parman_item *item); 126 struct parman_item *item, unsigned long to_index, in __parman_prio_move() argument 129 parman->ops->move(parman->priv, item->index, to_index, count); in __parman_prio_move() 135 struct parman_item *item; in parman_prio_shift_down() local 140 item = parman_prio_first_item(prio); in parman_prio_shift_down() 142 __parman_prio_move(parman, prio, item, to_index, 1); in parman_prio_shift_down() 143 list_move_tail(&item->list, &prio->item_list); in parman_prio_shift_down() 144 item->index = to_index; in parman_prio_shift_down() 150 struct parman_item *item; in parman_prio_shift_up() local [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | taskdata.py | 206 def add_build_target(self, fn, item): argument 211 if item in self.build_targets: 212 if fn in self.build_targets[item]: 214 self.build_targets[item].append(fn) 216 self.build_targets[item] = [fn] 225 def add_runtime_target(self, fn, item): argument 230 if item in self.run_targets: 231 if fn in self.run_targets[item]: 233 self.run_targets[item].append(fn) 235 self.run_targets[item] = [fn] [all …]
|
/openbmc/linux/drivers/net/wireless/st/cw1200/ |
H A D | queue.c | 70 struct cw1200_queue_item *item, *tmp; in cw1200_queue_post_gc() local 72 list_for_each_entry_safe(item, tmp, gc_list, head) { in cw1200_queue_post_gc() 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() 80 struct cw1200_queue_item *item) in cw1200_queue_register_post_gc() argument 83 gc_item = kmemdup(item, sizeof(struct cw1200_queue_item), in cw1200_queue_register_post_gc() 94 struct cw1200_queue_item *item = NULL, *iter, *tmp; in __cw1200_queue_gc() local 99 item = iter; in __cw1200_queue_gc() 123 } else if (item) { in __cw1200_queue_gc() [all …]
|