/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | master.c | 261 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 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 in ubifs_change_lp() 627 ubifs_get_lp_stats(struct ubifs_info *c, struct ubifs_lp_stats *lst) ubifs_get_lp_stats() argument 1015 scan_check_cb(struct ubifs_info *c, const struct ubifs_lprops *lp, int in_tree, struct ubifs_lp_stats *lst) scan_check_cb() argument 1255 struct ubifs_lp_stats lst; dbg_check_lprops() local [all...] |
H A D | budget.c | 202 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available() 226 available -= c->lst.total_dead; in ubifs_calc_available() 234 available -= c->lst.total_dark; in ubifs_calc_available() 242 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available() 243 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available() 282 * Notes about @c->bi.min_idx_lebs and @c->lst.idx_lebs variables: 283 * o @c->lst.idx_lebs is the number of LEBs the index currently uses. It might 302 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space() 303 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space() 310 * @c->lst in do_budget_space() [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() 492 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space() 493 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_free_space() 496 lebs = c->lst in ubifs_find_free_space() [all...] |
H A D | commit.c | 101 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 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() 397 * oob, because @c->lst.idx_lebs could be increased by 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()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | master.c | 261 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 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 in ubifs_change_lp() 627 ubifs_get_lp_stats(struct ubifs_info *c, struct ubifs_lp_stats *lst) ubifs_get_lp_stats() argument 1015 scan_check_cb(struct ubifs_info *c, const struct ubifs_lprops *lp, int in_tree, struct ubifs_lp_stats *lst) scan_check_cb() argument 1255 struct ubifs_lp_stats lst; dbg_check_lprops() local [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() 279 * Notes about @c->bi.min_idx_lebs and @c->lst.idx_lebs variables: 280 * o @c->lst.idx_lebs is the number of LEBs the index currently uses. It might 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() 307 * @c->lst in do_budget_space() [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() 492 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space() 493 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_free_space() 496 lebs = c->lst in ubifs_find_free_space() [all...] |
H A D | commit.c | 101 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 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()
|
/kernel/linux/linux-5.10/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 [all...] |
H A D | pvrusb2-devattr.h | 45 const struct pvr2_device_client_desc *lst; member 51 const char **lst; member
|
/kernel/linux/linux-6.6/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 [all...] |
H A D | pvrusb2-devattr.h | 45 const struct pvr2_device_client_desc *lst; member 51 const char **lst; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
H A D | tdc_helper.py | 18 def get_unique_item(lst): 20 if len(lst) > 1: 21 return list(set(lst)) 23 return lst
|
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/ |
H A D | tdc_helper.py | 18 def get_unique_item(lst): 20 if len(lst) > 1: 21 return list(set(lst)) 23 return lst
|
/kernel/linux/linux-5.10/samples/trace_events/ |
H A D | trace-events-sample.h | 231 TP_PROTO(const char *foo, int bar, const int *lst, 234 TP_ARGS(foo, bar, lst, string, mask), 239 __dynamic_array(int, list, __length_of(lst)) 247 memcpy(__get_dynamic_array(list), lst, 248 __length_of(lst) * sizeof(int));
|
/kernel/linux/linux-6.6/samples/trace_events/ |
H A D | trace-events-sample.h | 291 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));
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/alacritech/ |
H A D | slicoss.c | 1461 struct rtnl_link_stats64 *lst) in slic_get_stats() 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 in slic_get_stats() 1460 slic_get_stats(struct net_device *dev, struct rtnl_link_stats64 *lst) slic_get_stats() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/alacritech/ |
H A D | slicoss.c | 1461 struct rtnl_link_stats64 *lst) in slic_get_stats() 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 in slic_get_stats() 1460 slic_get_stats(struct net_device *dev, struct rtnl_link_stats64 *lst) slic_get_stats() argument [all...] |