Home
last modified time | relevance | path

Searched refs:lst (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/u-boot/fs/ubifs/
H A Dmaster.c181 if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) { in validate_master()
186 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master()
191 if (c->lst.total_free < 0 || c->lst.total_free > main_sz || in validate_master()
192 c->lst.total_free & 7) { in validate_master()
197 if (c->lst.total_dirty < 0 || (c->lst.total_dirty & 7)) { in validate_master()
202 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master()
207 if (c->lst.total_free + c->lst.total_dirty + in validate_master()
213 if (c->lst.total_dead + c->lst.total_dark + in validate_master()
219 if (c->lst.total_dead < 0 || in validate_master()
220 c->lst.total_dead > c->lst.total_free + c->lst.total_dirty || in validate_master()
[all …]
H A Dlprops.c1282 if (lst.empty_lebs != c->lst.empty_lebs || in dbg_check_lprops()
1283 lst.idx_lebs != c->lst.idx_lebs || in dbg_check_lprops()
1284 lst.total_free != c->lst.total_free || in dbg_check_lprops()
1286 lst.total_used != c->lst.total_used) { in dbg_check_lprops()
1289 lst.empty_lebs, lst.idx_lebs, lst.total_free, in dbg_check_lprops()
1290 lst.total_dirty, lst.total_used); in dbg_check_lprops()
1292 c->lst.empty_lebs, c->lst.idx_lebs, c->lst.total_free, in dbg_check_lprops()
1298 if (lst.total_dead != c->lst.total_dead || in dbg_check_lprops()
1299 lst.total_dark != c->lst.total_dark) { in dbg_check_lprops()
1302 lst.total_dead, lst.total_dark); in dbg_check_lprops()
[all …]
H A Dbudget.c209 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
234 available -= c->lst.total_dead; in ubifs_calc_available()
242 available -= c->lst.total_dark; in ubifs_calc_available()
250 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
251 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
310 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
311 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
338 c->lst.taken_empty_lebs; in do_budget_space()
695 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_get_free_space_nolock()
696 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_get_free_space_nolock()
[all …]
H A Dmisc.h278 ubifs_assert(c->lst.empty_lebs >= 0 && in ubifs_release_lprops()
279 c->lst.empty_lebs <= c->main_lebs); in ubifs_release_lprops()
/openbmc/linux/fs/ubifs/
H A Dmaster.c261 if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) { in validate_master()
266 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master()
271 if (c->lst.total_free < 0 || c->lst.total_free > main_sz || in validate_master()
272 c->lst.total_free & 7) { in validate_master()
277 if (c->lst.total_dirty < 0 || (c->lst.total_dirty & 7)) { in validate_master()
282 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master()
287 if (c->lst.total_free + c->lst.total_dirty + in validate_master()
293 if (c->lst.total_dead + c->lst.total_dark + in validate_master()
299 if (c->lst.total_dead < 0 || in validate_master()
300 c->lst.total_dead > c->lst.total_free + c->lst.total_dirty || in validate_master()
[all …]
H A Dlprops.c1277 if (lst.empty_lebs != c->lst.empty_lebs || in dbg_check_lprops()
1278 lst.idx_lebs != c->lst.idx_lebs || in dbg_check_lprops()
1279 lst.total_free != c->lst.total_free || in dbg_check_lprops()
1281 lst.total_used != c->lst.total_used) { in dbg_check_lprops()
1284 lst.empty_lebs, lst.idx_lebs, lst.total_free, in dbg_check_lprops()
1285 lst.total_dirty, lst.total_used); in dbg_check_lprops()
1287 c->lst.empty_lebs, c->lst.idx_lebs, c->lst.total_free, in dbg_check_lprops()
1293 if (lst.total_dead != c->lst.total_dead || in dbg_check_lprops()
1294 lst.total_dark != c->lst.total_dark) { in dbg_check_lprops()
1297 lst.total_dead, lst.total_dark); in dbg_check_lprops()
[all …]
H A Dbudget.c199 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
223 available -= c->lst.total_dead; in ubifs_calc_available()
231 available -= c->lst.total_dark; in ubifs_calc_available()
239 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
240 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
299 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
300 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
327 c->lst.taken_empty_lebs; in do_budget_space()
682 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_get_free_space_nolock()
683 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_get_free_space_nolock()
[all …]
H A Dfind.c58 n = c->lst.empty_lebs + c->freeable_cnt - in valuable()
59 c->lst.taken_empty_lebs; in valuable()
234 lebs = c->lst.empty_lebs + c->idx_gc_cnt; in ubifs_find_dirty_leb()
243 if (c->bi.min_idx_lebs >= c->lst.idx_lebs) { in ubifs_find_dirty_leb()
492 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space()
497 c->lst.taken_empty_lebs; in ubifs_find_free_space()
503 if (c->lst.empty_lebs - c->lst.taken_empty_lebs > 0) { in ubifs_find_free_space()
524 c->lst.taken_empty_lebs += 1; in ubifs_find_free_space()
545 c->lst.taken_empty_lebs -= 1; in ubifs_find_free_space()
571 c->lst.taken_empty_lebs -= 1; in ubifs_find_free_space()
[all …]
H A Dcommit.c101 struct ubifs_lp_stats lst; in do_commit() local
144 ubifs_get_lp_stats(c, &lst); in do_commit()
178 c->mst_node->empty_lebs = cpu_to_le32(lst.empty_lebs); in do_commit()
179 c->mst_node->idx_lebs = cpu_to_le32(lst.idx_lebs); in do_commit()
180 c->mst_node->total_free = cpu_to_le64(lst.total_free); in do_commit()
181 c->mst_node->total_dirty = cpu_to_le64(lst.total_dirty); in do_commit()
182 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit()
183 c->mst_node->total_dead = cpu_to_le64(lst.total_dead); in do_commit()
184 c->mst_node->total_dark = cpu_to_le64(lst.total_dark); in do_commit()
H A Dmisc.h257 ubifs_assert(c, c->lst.empty_lebs >= 0 && in ubifs_release_lprops()
258 c->lst.empty_lebs <= c->main_lebs); in ubifs_release_lprops()
/openbmc/qemu/migration/
H A Dexec.c60 strList *lst; in init_exec_array() local
62 for (lst = command; lst; lst = lst->next) { in init_exec_array()
63 argv[i++] = lst->value; in init_exec_array()
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-devattr.c54 .client_table.lst = pvr2_cli_29xxx,
56 .fx2_firmware.lst = pvr2_fw1_names_29xxx,
88 .client_table.lst = pvr2_cli_24xxx,
118 .client_table.lst = pvr2_cli_gotview_2,
139 .client_table.lst = pvr2_cli_gotview_2,
162 .client_table.lst = pvr2_cli_av400,
371 .client_table.lst = pvr2_cli_73xxx,
478 .client_table.lst = pvr2_cli_73xxx,
501 .client_table.lst = pvr2_cli_73xxx,
637 .client_table.lst = pvr2_cli_160xxx,
[all …]
H A Dpvrusb2-devattr.h45 const struct pvr2_device_client_desc *lst; member
51 const char **lst; member
/openbmc/qemu/block/monitor/
H A Dbitmap-qmp-cmds.c268 BlockDirtyBitmapOrStrList *lst; in block_dirty_bitmap_merge() local
279 for (lst = bms; lst; lst = lst->next) { in block_dirty_bitmap_merge()
280 switch (lst->value->type) { in block_dirty_bitmap_merge()
282 src_bitmap = lst->value->u.local; in block_dirty_bitmap_merge()
290 src_node = lst->value->u.external.node; in block_dirty_bitmap_merge()
291 src_bitmap = lst->value->u.external.name; in block_dirty_bitmap_merge()
/openbmc/linux/tools/testing/selftests/tc-testing/
H A Dtdc_helper.py18 def get_unique_item(lst): argument
20 if len(lst) > 1:
21 return list(set(lst))
23 return lst
/openbmc/openbmc/meta-phosphor/classes/
H A Dobmc-phosphor-utils.bbclass17 lst = [fmt.format(*x) for x in itertools.product(*lists)]
18 return (kw.get('sep') or ' ').join(lst)
24 lst = [fmt.format(*x) for x in zip(*lists)]
25 return (kw.get('sep') or ' ').join(lst)
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/files/
H A Dinit-install-testfs.sh202 echo "default 0" > /boot/grub/menu.lst
203 echo "timeout 30" >> /boot/grub/menu.lst
204 echo "title Live Boot/Install-Image" >> /boot/grub/menu.lst
205 echo "root (hd0,0)" >> /boot/grub/menu.lst
206 echo "kernel /vmlinuz root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst
H A Dinit-install.sh319 echo "default 0" > /boot/grub/menu.lst
320 echo "timeout 30" >> /boot/grub/menu.lst
321 echo "title Live Boot/Install-Image" >> /boot/grub/menu.lst
322 echo "root (hd0,0)" >> /boot/grub/menu.lst
323 echo "kernel /$kernel root=$rootfs rw $3 $4 quiet" >> /boot/grub/menu.lst
/openbmc/linux/samples/trace_events/
H A Dtrace-events-sample.h291 TP_PROTO(const char *foo, int bar, const int *lst,
295 TP_ARGS(foo, bar, lst, string, mask, fmt, va),
300 __dynamic_array(int, list, __length_of(lst))
310 memcpy(__get_dynamic_array(list), lst,
311 __length_of(lst) * sizeof(int));
/openbmc/pyphosphor/obmc/utils/
H A Dmisc.py33 def find_case_insensitive(value, lst): argument
34 return next((x for x in lst if x.lower() == value.lower()), None)
/openbmc/openbmc/poky/meta/lib/oe/
H A Dcachedpath.py62 lst = os.lstat(path)
63 self.lstatcache[path] = lst
64 if not statmod.S_ISLNK(lst.st_mode):
65 self.statcache[path] = lst
68 return lst
/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py557 def get_cluster_id(lst, length): argument
561 if len(lst) != 0:
563 pair = (lst[0], 1)
564 for i in range(1, len(lst)):
565 if lst[i] == lst[i-1] + 1:
566 pair = (lst[i], pair[1] + 1)
569 pair = (lst[i], 1)
/openbmc/u-boot/scripts/
H A DMakefile.build148 $(real-objs-m:.o=.lst): part-of-module := y
153 $(real-objs-m:.o=.lst): quiet_modtag := [M]
163 $(multi-objs-m:.o=.lst) : modname = $(modname-multi)
167 $(multi-objs-y:.o=.lst) : modname = $(modname-multi)
293 $(obj)/%.lst: $(src)/%.c FORCE
/openbmc/linux/
H A D.get_maintainer.ignore3 Christoph Hellwig <hch@lst.de>
/openbmc/linux/drivers/cpufreq/
H A Dcpufreq_governor.c274 u64 delta_ns, lst; in dbs_update_util_handler() local
293 lst = READ_ONCE(policy_dbs->last_sample_time); in dbs_update_util_handler()
294 delta_ns = time - lst; in dbs_update_util_handler()
311 if (unlikely(lst != READ_ONCE(policy_dbs->last_sample_time))) { in dbs_update_util_handler()

1234