| /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() 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() 46 btrfs_dir_item_to_cpu(item); in btrfs_match_dir_item_name() [all …]
|
| H A D | root.c | 10 static void read_root_item(struct btrfs_path *p, struct btrfs_root_item *item) in read_root_item() argument 16 memcpy(item, btrfs_path_item_ptr(p, struct btrfs_root_item), len); in read_root_item() 17 btrfs_root_item_to_cpu(item); in read_root_item() 19 if (len < sizeof(*item)) in read_root_item() 21 if (!reset && item->generation != item->generation_v2) { in read_root_item() 22 if (item->generation_v2 != 0) in read_root_item() 28 memset(&item->generation_v2, 0, in read_root_item() 29 sizeof(*item) - offsetof(struct btrfs_root_item, in read_root_item()
|
| H A D | btrfs.c | 16 struct btrfs_dir_item *item) in readdir_callback() argument 30 const char *name = (const char *) (item + 1); in readdir_callback() 34 if (btrfs_lookup_inode(root, &item->location, &inode, NULL)) { in readdir_callback() 36 __func__, item->name_len, name); in readdir_callback() 43 if (item->type == BTRFS_FT_SYMLINK) { in readdir_callback() 47 if (target && btrfs_readlink(root, item->location.objectid, in readdir_callback() 57 printf("<%s> ", typestr[item->type]); in readdir_callback() 58 if (item->type == BTRFS_FT_CHRDEV || item->type == BTRFS_FT_BLKDEV) in readdir_callback() 64 printf("%24.24s %.*s", filetime, item->name_len, name); in readdir_callback() 66 if (item->type == BTRFS_FT_SYMLINK) { in readdir_callback()
|
| /openbmc/phosphor-mrw-tools/ |
| H A D | inventory.pl | 18 my @items, my %item, my %inventory; 63 $item{name} = $target; 64 $item{orig_name} = $target; 65 $item{fru_type} = $type; 66 $item{target_type} = $targetType; 69 $item{is_fru} = 1; 71 $item{is_fru} = 0; 73 push @items, { %item }; 159 for my $item (@$items) { 160 my @segments = split('/', $item->{orig_name}); [all …]
|
| H A D | Inventory.pm | 62 my %item; 63 $item{TARGET} = $target; 64 $item{OBMC_NAME} = $target; #Will fixup later 65 push @$inventory, { %item }; 86 for my $item (@$inventory) { 88 if (exists $MODULE_TYPES{$targetObj->getType($item->{TARGET})}) { 89 my $card = $targetObj->getTargetParent($item->{TARGET}); 154 for my $item (@$inventory) { 159 my @segments = split('/', $item->{TARGET}); 175 $item->{OBMC_NAME} =~ s/\b$segment-\d+\b\///; [all …]
|
| H A D | gen_fru_properties.pl | 62 for my $item (@inventory) { 66 if (!$targets->isBadAttribute($item->{TARGET}, "TYPE")) { 67 $targetType = $targets->getAttribute($item->{TARGET}, "TYPE"); 72 $item, 108 my ($type, $item, $yamlDict) = @_; 109 print $fh $item->{OBMC_NAME}.":"; 117 $value = getValue($item, $property, $value); 127 my ($item, $property, $value) = @_; 133 if (!$targets->isBadAttribute($item->{TARGET}, "RU_TYPE")) 135 my $ruType = $targets->getAttribute($item->{TARGET}, "RU_TYPE");
|
| /openbmc/u-boot/common/ |
| H A D | menu.c | 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() 78 struct menu_item *item, in menu_item_print() argument 82 puts(item->key); in menu_item_print() 85 m->item_data_print(item->data); in menu_item_print() 96 struct menu_item *item, in menu_item_destroy() argument 99 if (item->key) in menu_item_destroy() 100 free(item->key); in menu_item_destroy() 102 free(item); in menu_item_destroy() [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… 95 …for item in native_rpm_file_list:# will copy all versions of package. Used version will be selecte… 96 bb.plain("Copying native package file: %s" % item) 97 …sh.copy(os.path.join(rpm_deploy_dir, native_rpm_dir, item), os.path.join(d.getVar("TEST_EXPORT_DIR… 104 …target_rpm_file_list = [item for item in os.listdir(arch_rpm_dir) if re.search(param_list[0] + "-(… 110 …for item in target_rpm_file_list: # copying all related rpm packages. "Intuition" reasons, someone… 111 bb.plain("Copying target specific packaged file: %s" % item) 112 sh.copy(os.path.join(arch_rpm_dir, item), packaged_bin_dir) 116 for item in target_rpm_file_list: 117 if re.match(".*-{}-.*\.rpm".format(param_list[1]), item): [all …]
|
| /openbmc/u-boot/test/env/ |
| H A D | hashtable.c | 21 ENTRY item; in htab_fill() local 27 item.callback = NULL; in htab_fill() 28 item.data = key; in htab_fill() 29 item.flags = 0; in htab_fill() 30 item.key = key; in htab_fill() 31 ut_asserteq(1, hsearch_r(item, ENTER, &ritem, htab, 0)); in htab_fill() 41 ENTRY item; in htab_check_fill() local 47 item.callback = NULL; in htab_check_fill() 48 item.flags = 0; in htab_check_fill() 49 item.data = key; in htab_check_fill() [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 …]
|
| H A D | providers.py | 118 def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None): argument 131 if item: 132 itemstr = " (for item %s)" % item 218 def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None): argument 227 …ed_ver, preferred_file, required) = findPreferredProvider(pn, cfgData, dataCache, sortpkg_pn, item) 237 def _filterProviders(providers, item, cfgData, dataCache): argument 259 logger.debug("providers for %s are: %s", item, list(sorted(pkg_pn.keys()))) 264 …ver, preferred_file, required = findPreferredProvider(pn, cfgData, dataCache, sortpkg_pn[pn], item) 285 if pn != item: 295 def filterProviders(providers, item, cfgData, dataCache): argument [all …]
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | pldm_utils.py | 82 for item in attr_val_table_data: 83 for attr in item: 86 for i in range(0, int(item[attr])): 87 attr_values = item[ 97 r"\(.*?\)", item["AttributeNameHandle"] 117 for item in attr_val_table_data: 119 attr_handle = re.findall(r"\(.*?\)", item["AttributeNameHandle"]) 122 if item["AttributeType"] == "BIOSInteger": 123 value_dict["LowerBound"] = item["LowerBound"] 124 value_dict["UpperBound"] = item["UpperBound"] [all …]
|
| /openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
| H A D | firmware_handler.cpp | 201 auto item = lookup.find(session); in stat() local 202 if (item == lookup.end()) in stat() 209 meta->size = (item->second->imageHandler) in stat() 210 ? item->second->imageHandler->getSize() in stat() 215 if (item->second->activePath == verifyBlobId || in stat() 216 item->second->activePath == updateBlobId) in stat() 227 if (item->second->activePath == verifyBlobId) in stat() 237 item->second->flags &= ~blobs::StateFlags::committing; in stat() 241 item->second->flags |= blobs::StateFlags::committed; in stat() 245 item->second->flags |= blobs::StateFlags::commit_error; in stat() [all …]
|
| /openbmc/u-boot/scripts/kconfig/ |
| H A D | qconf.cc | 284 item = i; in show() 285 if (sym_get_string_value(item->menu->sym)) in show() 286 setText(QString::fromLocal8Bit(sym_get_string_value(item->menu->sym))); in show() 300 sym_set_string_value(item->menu->sym, text().toLatin1()); in keyPressEvent() 301 parent()->updateList(item); in keyPressEvent() 396 ConfigItem* item = (ConfigItem*)menu->data; in findConfigItem() local 398 for (; item; item = item->nextItem) { in findConfigItem() 399 if (this == item->listView()) in findConfigItem() 403 return item; in findConfigItem() 414 ConfigItem* item = (ConfigItem*)selectedItems().first(); in updateSelection() local [all …]
|
| /openbmc/u-boot/tools/patman/ |
| H A D | checkpatch.py | 64 item = {} 88 if not line and item: 89 result.problems.append(item) 90 item = {} 111 item['msg'] = err_match.group(1) 112 item['type'] = 'error' 114 item['msg'] = warn_match.group(1) 115 item['type'] = 'warning' 117 item['msg'] = check_match.group(1) 118 item['type'] = 'check' [all …]
|
| /openbmc/webui-vue/src/views/HardwareStatus/Inventory/ |
| H A D | InventoryTableBmcManager.vue | 37 v-if="hasIdentifyLed(row.item.identifyLed)" 38 v-model="row.item.identifyLed" 41 @change="toggleIdentifyLedValue(row.item)" 43 <span v-if="row.item.identifyLed"> 51 <template #row-details="{ item }"> 58 <dd>{{ dataFormatter(item.name) }}</dd> 61 <dd>{{ dataFormatter(item.partNumber) }}</dd> 64 <dd>{{ dataFormatter(item.serialNumber) }}</dd> 68 {{ dataFormatter(item.sparePartNumber) }} 72 <dd>{{ dataFormatter(item.model) }}</dd> [all …]
|
| H A D | InventoryTableSystem.vue | 34 <template #cell(locationIndicatorActive)="{ item }"> 37 v-model="item.locationIndicatorActive" 42 <span v-if="item.locationIndicatorActive"> 49 <template #row-details="{ item }"> 56 <dd>{{ dataFormatter(item.serialNumber) }}</dd> 59 <dd>{{ dataFormatter(item.model) }}</dd> 63 {{ dataFormatter(item.assetTag) }} 71 <dd>{{ dataFormatter(item.statusState) }}</dd> 74 <dd>{{ dataFormatter(item.powerState) }}</dd> 77 <dd>{{ dataFormatter(item.healthRollup) }}</dd> [all …]
|
| H A D | InventoryTableChassis.vue | 36 v-if="hasIdentifyLed(row.item.identifyLed)" 37 v-model="row.item.identifyLed" 40 @change="toggleIdentifyLedValue(row.item)" 42 <span v-if="row.item.identifyLed"> 49 <template #row-details="{ item }"> 56 <dd>{{ dataFormatter(item.name) }}</dd> 59 <dd>{{ dataFormatter(item.partNumber) }}</dd> 62 <dd>{{ dataFormatter(item.serialNumber) }}</dd> 66 {{ dataFormatter(item.model) }} 71 {{ dataFormatter(item.assetTag) }} [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/gpm/gpm/ |
| H A D | 0002-Fix-function-definition-in-yacc-source-file-until-va.patch | 39 DrawItem *item; 75 for (item=draw->menu; y++, item; item=item->next) { 76 - if (item->fun) (*(item->fun))(F_POST,item); 77 + if (item->fun) (*(item->fun))(F_POST,item,0); 79 for (i=0;i<item->pad;i++) PUTC(' ',draw->fore,draw->back); 80 PUTS(item->name,draw->fore,draw->back); i+=strlen(item->name);
|
| /openbmc/phosphor-webui/app/server-health/controllers/ |
| H A D | log-controller.js | 60 var log = result.data.filter(function(item) { argument 61 return item.Id == eventId; 158 $scope.filteredLogs.forEach(function(item) { argument 159 item.selected = $scope.all; 168 $scope.selectedEvents.forEach(function(item) { argument 169 data[item.data.key] = item.data.value; 182 var events = $scope.selectedEvents.filter(function(item) { argument 183 return item.Resolved != 1; 190 events.forEach(function(item) { argument 191 item.Resolved = 1; [all …]
|
| /openbmc/webui-vue/tests/unit/__snapshots__/ |
| H A D | AppNavigation.spec.js.snap | 15 class="nav-item" 16 data-test-id="nav-item-overview" 47 class="nav-item" 109 class="nav-item" 113 data-test-id="nav-item-event-logs" 122 data-test-id="nav-item-post-code-logs" 134 class="nav-item" 211 class="nav-item" 215 data-test-id="nav-item-inventory" 224 data-test-id="nav-item-sensors" [all …]
|
| /openbmc/u-boot/test/py/ |
| H A D | conftest.py | 353 def pytest_itemcollected(item): argument 366 tests_not_run.append(item.name) 420 def setup_boardspec(item): argument 434 mark = item.get_marker('boardspec') 448 def setup_buildconfigspec(item): argument 462 mark = item.get_marker('buildconfigspec') 476 def setup_requiredtool(item): argument 490 mark = item.get_marker('requiredtool') 497 def start_test_section(item): argument 498 anchors[item.name] = log.start_section(item.name) [all …]
|
| /openbmc/u-boot/arch/arm/mach-davinci/include/mach/ |
| H A D | davinci_misc.h | 29 #define PINMUX_ITEM(item) { \ argument 30 .pins = item, \ 31 .n_pins = ARRAY_SIZE(item) \ 41 int davinci_configure_pin_mux_items(const struct pinmux_resource *item, 48 int da8xx_configure_lpsc_items(const struct lpsc_resource *item,
|
| /openbmc/openbmc/poky/meta/recipes-devtools/python/python3/ |
| H A D | get_module_deps3.py | 87 for item in dif: 89 if 'main__' in item: 95 log.write('\nCalling: sys.modules[' + '%s' % item + '].__file__\n') 96 dep_path = sys.modules['%s' % item].__file__ 100 log.write(item + ' ') 108 log.write(item+' ') 149 log.write('\nCalling: sys.modules[' + '%s' % item + '].__cached__\n') 150 cached = sys.modules['%s' % item].__cached__ 154 log.write(item + ' ') 161 log.write(item+' ')
|
| /openbmc/openbmc/poky/meta/lib/oeqa/core/decorator/ |
| H A D | __init__.py | 67 def decorator(item): argument 68 if hasattr(item, "__oeqa_testtags"): 70 item.__oeqa_testtags = list(item.__oeqa_testtags) + list(tags) 72 item.__oeqa_testtags = tags 73 return item
|