/linux/fs/ubifs/ |
H A D | master.c | 264 if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) { in validate_master() 269 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master() 274 if (c->lst.total_free < 0 || c->lst.total_free > main_sz || in validate_master() 275 c->lst.total_free & 7) { in validate_master() 280 if (c->lst.total_dirty < 0 || (c->lst.total_dirty & 7)) { in validate_master() 285 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master() 290 if (c->lst.total_free + c->lst.total_dirty + in validate_master() 291 c->lst.total_used > main_sz) { in validate_master() 296 if (c->lst.total_dead + c->lst.total_dark + in validate_master() 297 c->lst.total_used + c->bi.old_idx_sz > main_sz) { in validate_master() [all …]
|
H A D | lprops.c | 535 ubifs_assert(c, c->lst.empty_lebs >= 0 && in ubifs_change_lp() 536 c->lst.empty_lebs <= c->main_lebs); in ubifs_change_lp() 539 ubifs_assert(c, c->lst.taken_empty_lebs >= 0); in ubifs_change_lp() 540 ubifs_assert(c, c->lst.taken_empty_lebs <= c->lst.empty_lebs); in ubifs_change_lp() 541 ubifs_assert(c, !(c->lst.total_free & 7) && !(c->lst.total_dirty & 7)); in ubifs_change_lp() 542 ubifs_assert(c, !(c->lst.total_dead & 7) && !(c->lst.total_dark & 7)); in ubifs_change_lp() 543 ubifs_assert(c, !(c->lst.total_used & 7)); in ubifs_change_lp() 558 c->lst.taken_empty_lebs -= 1; in ubifs_change_lp() 565 c->lst.total_dead -= old_spc; in ubifs_change_lp() 567 c->lst.total_dark -= ubifs_calc_dark(c, old_spc); in ubifs_change_lp() [all …]
|
H A D | budget.c | 199 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() 326 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - 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() [all …]
|
H A D | find.c | 58 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() 235 lebs += c->freeable_cnt - c->lst.taken_empty_lebs; in ubifs_find_dirty_leb() 243 if (c->bi.min_idx_lebs >= c->lst.idx_lebs) { in ubifs_find_dirty_leb() 244 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_dirty_leb() 267 exclude_index = (c->bi.min_idx_lebs >= c->lst.idx_lebs); in ubifs_find_dirty_leb() 493 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space() 494 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_free_space() 497 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in ubifs_find_free_space() [all …]
|
H A D | commit.c | 112 struct ubifs_lp_stats lst; in do_commit() local 155 ubifs_get_lp_stats(c, &lst); in do_commit() 189 c->mst_node->empty_lebs = cpu_to_le32(lst.empty_lebs); in do_commit() 190 c->mst_node->idx_lebs = cpu_to_le32(lst.idx_lebs); in do_commit() 191 c->mst_node->total_free = cpu_to_le64(lst.total_free); in do_commit() 192 c->mst_node->total_dirty = cpu_to_le64(lst.total_dirty); in do_commit() 193 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit() 194 c->mst_node->total_dead = cpu_to_le64(lst.total_dead); in do_commit() 195 c->mst_node->total_dark = cpu_to_le64(lst.total_dark); in do_commit()
|
H A D | misc.h | 257 ubifs_assert(c, c->lst.empty_lebs >= 0 && in ubifs_release_lprops() 258 c->lst.empty_lebs <= c->main_lebs); in ubifs_release_lprops()
|
H A D | tnc_commit.c | 362 c->gap_lebs = kmalloc_array(c->lst.idx_lebs + 1, sizeof(int), in layout_in_gaps() 367 old_idx_lebs = c->lst.idx_lebs; in layout_in_gaps() 369 ubifs_assert(c, p < c->lst.idx_lebs); in layout_in_gaps() 404 old_idx_lebs < c->lst.idx_lebs) { in layout_in_gaps() 405 old_idx_lebs = c->lst.idx_lebs; in layout_in_gaps() 806 dbg_cmt("number of index LEBs %d", c->lst.idx_lebs); in ubifs_tnc_start_commit()
|
H A D | super.c | 1241 if (c->lst.total_free + c->lst.total_dirty < c->dark_wm) { in check_free_space() 1546 ubifs_assert(c, c->lst.taken_empty_lebs > 0); in mount_ubifs() 1549 ubifs_assert(c, c->lst.taken_empty_lebs > 0); in mount_ubifs() 1588 dbg_gen("index LEBs: %d", c->lst.idx_lebs); in mount_ubifs() 2051 ubifs_assert(c, c->lst.taken_empty_lebs > 0); in ubifs_remount_fs()
|
H A D | debug.h | 249 void ubifs_dump_lstats(const struct ubifs_lp_stats *lst);
|
/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-devattr.c | 54 .client_table.lst = pvr2_cli_29xxx, 56 .fx2_firmware.lst = pvr2_fw1_names_29xxx, 88 .client_table.lst = pvr2_cli_24xxx, 90 .fx2_firmware.lst = pvr2_fw1_names_24xxx, 118 .client_table.lst = pvr2_cli_gotview_2, 139 .client_table.lst = pvr2_cli_gotview_2, 162 .client_table.lst = pvr2_cli_av400, 217 .client_table.lst = pvr2_cli_onair_creator, 277 .client_table.lst = pvr2_cli_onair_usb2, 371 .client_table.lst = pvr2_cli_73xxx, [all …]
|
H A D | pvrusb2-devattr.h | 45 const struct pvr2_device_client_desc *lst; member 51 const char **lst; member
|
/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc_helper.py | 18 def get_unique_item(lst): argument 20 if len(lst) > 1: 21 return list(set(lst)) 23 return lst
|
/linux/samples/trace_events/ |
H A D | trace-events-sample.h | 293 TP_PROTO(const char *foo, int bar, const int *lst, 297 TP_ARGS(foo, bar, lst, string, mask, fmt, va), 302 __dynamic_array(int, list, __length_of(lst)) 313 memcpy(__get_dynamic_array(list), lst, 314 __length_of(lst) * sizeof(int));
|
/linux/drivers/cpufreq/ |
H A D | cpufreq_governor.c | 274 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()
|
/linux/drivers/net/ethernet/alacritech/ |
H A D | slicoss.c | 1461 struct rtnl_link_stats64 *lst) in slic_get_stats() argument 1466 SLIC_GET_STATS_COUNTER(lst->rx_packets, stats, rx_packets); in slic_get_stats() 1467 SLIC_GET_STATS_COUNTER(lst->tx_packets, stats, tx_packets); in slic_get_stats() 1468 SLIC_GET_STATS_COUNTER(lst->rx_bytes, stats, rx_bytes); in slic_get_stats() 1469 SLIC_GET_STATS_COUNTER(lst->tx_bytes, stats, tx_bytes); in slic_get_stats() 1470 SLIC_GET_STATS_COUNTER(lst->rx_errors, stats, rx_errors); in slic_get_stats() 1471 SLIC_GET_STATS_COUNTER(lst->rx_dropped, stats, rx_buff_miss); in slic_get_stats() 1472 SLIC_GET_STATS_COUNTER(lst->tx_dropped, stats, tx_dropped); in slic_get_stats() 1473 SLIC_GET_STATS_COUNTER(lst->multicast, stats, rx_mcasts); in slic_get_stats() 1474 SLIC_GET_STATS_COUNTER(lst->rx_over_errors, stats, rx_buffoflow); in slic_get_stats() [all …]
|
/linux/drivers/usb/usbip/ |
H A D | vudc_dev.c | 338 struct vrequest *lst; in vep_dequeue() local 353 list_for_each_entry(lst, &ep->req_queue, req_entry) { in vep_dequeue() 354 if (&lst->req == _req) { in vep_dequeue() 355 list_del_init(&lst->req_entry); in vep_dequeue()
|
/linux/scripts/gdb/linux/ |
H A D | proc.py | 116 def info_opts(lst, opt): argument 118 for key, string in lst.items():
|
/linux/scripts/gcc-plugins/ |
H A D | latent_entropy_plugin.c | 167 tree fld, lst = TYPE_FIELDS(type); in handle_latent_entropy_attribute() local 170 for (fld = lst; fld; nelt++, fld = TREE_CHAIN(fld)) { in handle_latent_entropy_attribute() 188 for (fld = lst; fld; fld = TREE_CHAIN(fld)) { in handle_latent_entropy_attribute()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
H A D | base.c | 364 struct nvkm_acr_lsf *lsf, *lst; in nvkm_acr_dtor() local 378 list_for_each_entry_safe(lsf, lst, &acr->lsf, head) { in nvkm_acr_dtor()
|
/linux/scripts/ |
H A D | checkkconfigsymbols.py | 260 def partition(lst, size): argument 262 return [lst[i::size] for i in range(size)]
|
/linux/ |
H A D | .gitignore | 33 *.lst
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_flex_pipe.c | 3492 struct list_head *lst) in ice_get_profs_vsig() argument 3507 list_add_tail(&p->list, lst); in ice_get_profs_vsig() 3513 list_for_each_entry_safe(ent1, ent2, lst, list) { in ice_get_profs_vsig() 3530 struct list_head *lst, u64 hdl) in ice_add_prof_to_lst() argument 3560 list_add(&p->list, lst); in ice_add_prof_to_lst() 3943 struct list_head *lst, u16 *new_vsig, in ice_create_vsig_from_lst() argument 3958 list_for_each_entry(t, lst, list) { in ice_create_vsig_from_lst() 3982 struct list_head lst; in ice_find_prof_vsig() local 3985 INIT_LIST_HEAD(&lst); in ice_find_prof_vsig() 3992 list_add(&t->list, &lst); in ice_find_prof_vsig() [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | TODO.txt | 38 https://lore.kernel.org/linux-mm/20210301083320.943079-1-hch@lst.de/
|
/linux/Documentation/ |
H A D | dontdiff | 28 *.lst
|
/linux/fs/nfsd/ |
H A D | nfs4state.c | 7757 struct nfs4_ol_stateid *lst; in find_lock_stateid() local 7763 list_for_each_entry(lst, &ost->st_locks, st_locks) { in find_lock_stateid() 7764 if (lst->st_stateowner == &lo->lo_owner) { in find_lock_stateid() 7765 refcount_inc(&lst->st_stid.sc_count); in find_lock_stateid() 7766 return lst; in find_lock_stateid() 7825 struct nfs4_ol_stateid *lst; in find_or_create_lock_stateid() local 7831 lst = find_lock_stateid(lo, ost); in find_or_create_lock_stateid() 7833 if (lst != NULL) { in find_or_create_lock_stateid() 7834 if (nfsd4_lock_ol_stateid(lst) == nfs_ok) in find_or_create_lock_stateid() 7836 nfs4_put_stid(&lst->st_stid); in find_or_create_lock_stateid() [all …]
|