Searched refs:lst (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/tools/testing/selftests/tc-testing/
H A Dtdc_helper.py18 def get_unique_item(lst):
20 if len(lst) > 1:
21 return list(set(lst))
23 return lst
/linux-master/fs/ubifs/
H A Dmaster.c261 if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) {
266 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) {
271 if (c->lst.total_free < 0 || c->lst.total_free > main_sz ||
272 c->lst.total_free & 7) {
277 if (c->lst.total_dirty < 0 || (c->lst.total_dirty & 7)) {
282 if (c->lst
[all...]
H A Dlprops.c535 ubifs_assert(c, c->lst.empty_lebs >= 0 &&
536 c->lst.empty_lebs <= c->main_lebs);
539 ubifs_assert(c, c->lst.taken_empty_lebs >= 0);
540 ubifs_assert(c, c->lst.taken_empty_lebs <= c->lst.empty_lebs);
541 ubifs_assert(c, !(c->lst.total_free & 7) && !(c->lst.total_dirty & 7));
542 ubifs_assert(c, !(c->lst.total_dead & 7) && !(c->lst.total_dark & 7));
543 ubifs_assert(c, !(c->lst
627 ubifs_get_lp_stats(struct ubifs_info *c, struct ubifs_lp_stats *lst) argument
1019 struct ubifs_lp_stats *lst = arg; local
1256 struct ubifs_lp_stats lst; local
[all...]
H A Dbudget.c199 available = c->main_bytes - c->lst.total_used;
223 available -= c->lst.total_dead;
231 available -= c->lst.total_dark;
239 if (c->lst.idx_lebs > min_idx_lebs) {
240 subtract_lebs = c->lst.idx_lebs - min_idx_lebs;
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)
300 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs;
307 * @c->lst
[all...]
H A Dfind.c58 n = c->lst.empty_lebs + c->freeable_cnt -
59 c->lst.taken_empty_lebs;
234 lebs = c->lst.empty_lebs + c->idx_gc_cnt;
235 lebs += c->freeable_cnt - c->lst.taken_empty_lebs;
243 if (c->bi.min_idx_lebs >= c->lst.idx_lebs) {
244 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs;
267 exclude_index = (c->bi.min_idx_lebs >= c->lst.idx_lebs);
493 if (c->bi.min_idx_lebs > c->lst.idx_lebs)
494 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs;
497 lebs = c->lst
[all...]
H A Dcommit.c112 struct ubifs_lp_stats lst; local
155 ubifs_get_lp_stats(c, &lst);
189 c->mst_node->empty_lebs = cpu_to_le32(lst.empty_lebs);
190 c->mst_node->idx_lebs = cpu_to_le32(lst.idx_lebs);
191 c->mst_node->total_free = cpu_to_le64(lst.total_free);
192 c->mst_node->total_dirty = cpu_to_le64(lst.total_dirty);
193 c->mst_node->total_used = cpu_to_le64(lst.total_used);
194 c->mst_node->total_dead = cpu_to_le64(lst.total_dead);
195 c->mst_node->total_dark = cpu_to_le64(lst.total_dark);
H A Dmisc.h257 ubifs_assert(c, c->lst.empty_lebs >= 0 &&
258 c->lst.empty_lebs <= c->main_lebs);
H A Ddebug.c600 void ubifs_dump_lstats(const struct ubifs_lp_stats *lst) argument
604 current->pid, lst->empty_lebs, lst->idx_lebs);
606 lst->taken_empty_lebs, lst->total_free, lst->total_dirty);
608 lst->total_used, lst->total_dark, lst->total_dead);
775 struct ubifs_lp_stats lst; local
1042 struct ubifs_lp_stats lst; local
[all...]
H A Dtnc_commit.c362 c->gap_lebs = kmalloc_array(c->lst.idx_lebs + 1, sizeof(int),
367 old_idx_lebs = c->lst.idx_lebs;
369 ubifs_assert(c, p < c->lst.idx_lebs);
397 * oob, because @c->lst.idx_lebs could be increased by
404 old_idx_lebs < c->lst.idx_lebs) {
405 old_idx_lebs = c->lst.idx_lebs;
806 dbg_cmt("number of index LEBs %d", c->lst.idx_lebs);
H A Ddebug.h248 void ubifs_dump_lstats(const struct ubifs_lp_stats *lst);
H A Dsuper.c1241 if (c->lst.total_free + c->lst.total_dirty < c->dark_wm) {
1546 ubifs_assert(c, c->lst.taken_empty_lebs > 0);
1549 ubifs_assert(c, c->lst.taken_empty_lebs > 0);
1588 dbg_gen("index LEBs: %d", c->lst.idx_lebs);
2051 ubifs_assert(c, c->lst.taken_empty_lebs > 0);
H A Dubifs.h1140 * @space_lock: protects @bi and @lst
1141 * @lst: lprops statistics
1398 struct ubifs_lp_stats lst; member in struct:ubifs_info
2012 void ubifs_get_lp_stats(struct ubifs_info *c, struct ubifs_lp_stats *lst);
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-devattr.h45 const struct pvr2_device_client_desc *lst; member in struct:pvr2_device_client_table
51 const char **lst; member in struct:pvr2_string_table
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,
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...]
/linux-master/samples/trace_events/
H A Dtrace-events-sample.h292 TP_PROTO(const char *foo, int bar, const int *lst,
296 TP_ARGS(foo, bar, lst, string, mask, fmt, va),
301 __dynamic_array(int, list, __length_of(lst))
312 memcpy(__get_dynamic_array(list), lst,
313 __length_of(lst) * sizeof(int));
/linux-master/drivers/cpufreq/
H A Dcpufreq_governor.c274 u64 delta_ns, lst; local
293 lst = READ_ONCE(policy_dbs->last_sample_time);
294 delta_ns = time - lst;
311 if (unlikely(lst != READ_ONCE(policy_dbs->last_sample_time))) {
/linux-master/scripts/gdb/linux/
H A Dproc.py115 def info_opts(lst, opt):
117 for key, string in lst.items():
/linux-master/drivers/net/ethernet/alacritech/
H A Dslicoss.c1461 struct rtnl_link_stats64 *lst)
1466 SLIC_GET_STATS_COUNTER(lst->rx_packets, stats, rx_packets);
1467 SLIC_GET_STATS_COUNTER(lst->tx_packets, stats, tx_packets);
1468 SLIC_GET_STATS_COUNTER(lst->rx_bytes, stats, rx_bytes);
1469 SLIC_GET_STATS_COUNTER(lst->tx_bytes, stats, tx_bytes);
1470 SLIC_GET_STATS_COUNTER(lst->rx_errors, stats, rx_errors);
1471 SLIC_GET_STATS_COUNTER(lst->rx_dropped, stats, rx_buff_miss);
1472 SLIC_GET_STATS_COUNTER(lst->tx_dropped, stats, tx_dropped);
1473 SLIC_GET_STATS_COUNTER(lst->multicast, stats, rx_mcasts);
1474 SLIC_GET_STATS_COUNTER(lst
1460 slic_get_stats(struct net_device *dev, struct rtnl_link_stats64 *lst) argument
[all...]
/linux-master/scripts/gcc-plugins/
H A Dlatent_entropy_plugin.c167 tree fld, lst = TYPE_FIELDS(type); local
170 for (fld = lst; fld; nelt++, fld = TREE_CHAIN(fld)) {
188 for (fld = lst; fld; fld = TREE_CHAIN(fld)) {
/linux-master/drivers/usb/usbip/
H A Dvudc_dev.c338 struct vrequest *lst; local
353 list_for_each_entry(lst, &ep->req_queue, req_entry) {
354 if (&lst->req == _req) {
355 list_del_init(&lst->req_entry);
/linux-master/scripts/
H A Dcheckkconfigsymbols.py260 def partition(lst, size):
261 """Partition list @lst into eveni-sized lists of size @size."""
262 return [lst[i::size] for i in range(size)]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dbase.c364 struct nvkm_acr_lsf *lsf, *lst; local
378 list_for_each_entry_safe(lsf, lst, &acr->lsf, head) {
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c3439 * @lst: output list
3445 struct list_head *lst)
3460 list_add_tail(&p->list, lst);
3466 list_for_each_entry_safe(ent1, ent2, lst, list) {
3478 * @lst: the list to be added to
3483 struct list_head *lst, u64 hdl)
3513 list_add(&p->list, lst);
3890 * @lst: the list of profile that will be added to the VSIG
3896 struct list_head *lst, u16 *new_vsig,
3911 list_for_each_entry(t, lst, lis
3444 ice_get_profs_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, struct list_head *lst) argument
3482 ice_add_prof_to_lst(struct ice_hw *hw, enum ice_block blk, struct list_head *lst, u64 hdl) argument
3895 ice_create_vsig_from_lst(struct ice_hw *hw, enum ice_block blk, u16 vsi, struct list_head *lst, u16 *new_vsig, struct list_head *chg) argument
3935 struct list_head lst; local
4108 ice_rem_prof_from_list(struct ice_hw *hw, struct list_head *lst, u64 hdl) argument
[all...]
/linux-master/tools/testing/ktest/
H A Dktest.pl458 and will search in /boot/grub/menu.lst for the title \$GRUB_MENU
463 The entry in /boot/grub/menu.lst must be entered in manually.
481 Note, ktest.pl will not update the grub menu.lst, you need to
483 the grub menu.lst for this option to find what kernel to
486 For example, if in the /boot/grub/menu.lst the test kernel title has:
2044 $command = "cat /boot/grub/menu.lst";
/linux-master/fs/nfsd/
H A Dnfs4state.c7679 struct nfs4_ol_stateid *lst; local
7685 list_for_each_entry(lst, &ost->st_locks, st_locks) {
7686 if (lst->st_stateowner == &lo->lo_owner) {
7687 refcount_inc(&lst->st_stid.sc_count);
7688 return lst;
7747 struct nfs4_ol_stateid *lst; local
7753 lst = find_lock_stateid(lo, ost);
7755 if (lst != NULL) {
7756 if (nfsd4_lock_ol_stateid(lst) == nfs_ok)
7758 nfs4_put_stid(&lst
7804 struct nfs4_ol_stateid *lst; local
[all...]

Completed in 244 milliseconds

12