Home
last modified time | relevance | path

Searched refs:total_used (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport_buffer.c40 u32 total_used = 0; in mlx5e_port_query_buffer() local
66 total_used += port_buffer->buffer[i].size; in mlx5e_port_query_buffer()
79 port_buffer->port_buffer_size - total_used; in mlx5e_port_query_buffer()
276 u32 total_used = 0; in mlx5e_port_manual_buffer_config() local
328 total_used += buffer_size[i]; in mlx5e_port_manual_buffer_config()
331 mlx5e_dbg(HW, priv, "%s: total buffer requested=%d\n", __func__, total_used); in mlx5e_port_manual_buffer_config()
333 if (total_used > port_buffer.port_buffer_size) in mlx5e_port_manual_buffer_config()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport_buffer.c40 u32 total_used = 0; in mlx5e_port_query_buffer() local
66 total_used += port_buffer->buffer[i].size; in mlx5e_port_query_buffer()
86 port_buffer->headroom_size = total_used; in mlx5e_port_query_buffer()
495 u32 total_used = 0; in mlx5e_port_manual_buffer_config() local
554 total_used += buffer_size[i]; in mlx5e_port_manual_buffer_config()
557 netdev_dbg(priv->netdev, "%s: total buffer requested=%d\n", __func__, total_used); in mlx5e_port_manual_buffer_config()
559 if (total_used > port_buffer.headroom_size && in mlx5e_port_manual_buffer_config()
560 (total_used - port_buffer.headroom_size) > in mlx5e_port_manual_buffer_config()
/kernel/linux/linux-5.10/fs/ubifs/
H A Dmaster.c282 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master()
288 c->lst.total_used > main_sz) { in validate_master()
294 c->lst.total_used + c->bi.old_idx_sz > main_sz) { in validate_master()
377 c->lst.total_used = le64_to_cpu(c->mst_node->total_used); in ubifs_read_master()
H A Dlprops.c543 ubifs_assert(c, !(c->lst.total_used & 7)); in ubifs_change_lp()
569 c->lst.total_used -= c->leb_size - old_spc; in ubifs_change_lp()
610 c->lst.total_used += c->leb_size - new_spc; in ubifs_change_lp()
1212 lst->total_used += c->leb_size - free - dirty; in scan_check_cb()
1281 lst.total_used != c->lst.total_used) { in dbg_check_lprops()
1283 ubifs_err(c, "calculated: empty_lebs %d, idx_lebs %d, total_free %lld, total_dirty %lld, total_used %lld", in dbg_check_lprops()
1285 lst.total_dirty, lst.total_used); in dbg_check_lprops()
1286 ubifs_err(c, "read from lprops: empty_lebs %d, idx_lebs %d, total_free %lld, total_dirty %lld, total_used %lld", in dbg_check_lprops()
1288 c->lst.total_dirty, c->lst.total_used); in dbg_check_lprops()
[all...]
H A Dcommit.c182 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit()
H A Dubifs-media.h702 * @total_used: total used space in bytes (includes only data LEBs)
737 __le64 total_used; member
H A Dbudget.c202 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
H A Dsb.c267 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
H A Ddebug.c422 (unsigned long long)le64_to_cpu(mst->total_used)); in ubifs_dump_node()
608 lst->total_used, lst->total_dark, lst->total_dead); in ubifs_dump_lstats()
/kernel/linux/linux-6.6/fs/ubifs/
H A Dmaster.c282 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master()
288 c->lst.total_used > main_sz) { in validate_master()
294 c->lst.total_used + c->bi.old_idx_sz > main_sz) { in validate_master()
377 c->lst.total_used = le64_to_cpu(c->mst_node->total_used); in ubifs_read_master()
H A Dlprops.c543 ubifs_assert(c, !(c->lst.total_used & 7)); in ubifs_change_lp()
569 c->lst.total_used -= c->leb_size - old_spc; in ubifs_change_lp()
610 c->lst.total_used += c->leb_size - new_spc; in ubifs_change_lp()
1212 lst->total_used += c->leb_size - free - dirty; in scan_check_cb()
1281 lst.total_used != c->lst.total_used) { in dbg_check_lprops()
1283 ubifs_err(c, "calculated: empty_lebs %d, idx_lebs %d, total_free %lld, total_dirty %lld, total_used %lld", in dbg_check_lprops()
1285 lst.total_dirty, lst.total_used); in dbg_check_lprops()
1286 ubifs_err(c, "read from lprops: empty_lebs %d, idx_lebs %d, total_free %lld, total_dirty %lld, total_used %lld", in dbg_check_lprops()
1288 c->lst.total_dirty, c->lst.total_used); in dbg_check_lprops()
[all...]
H A Dcommit.c182 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit()
H A Dubifs-media.h702 * @total_used: total used space in bytes (includes only data LEBs)
737 __le64 total_used; member
H A Dbudget.c199 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
H A Dsb.c270 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
/kernel/linux/linux-5.10/fs/reiserfs/
H A Dprocfs.c275 unsigned long total_used = 0; in show_oidmap() local
285 total_used += right - MAP(i); in show_oidmap()
291 total_used += size / sizeof(reiserfs_oidinterval_d_t); in show_oidmap()
296 mapsize, le16_to_cpu(rs->s_v1.s_oid_maxsize), total_used); in show_oidmap()
/kernel/linux/linux-6.6/fs/reiserfs/
H A Dprocfs.c275 unsigned long total_used = 0; in show_oidmap() local
285 total_used += right - MAP(i); in show_oidmap()
291 total_used += size / sizeof(reiserfs_oidinterval_d_t); in show_oidmap()
296 mapsize, le16_to_cpu(rs->s_v1.s_oid_maxsize), total_used); in show_oidmap()
/kernel/linux/linux-5.10/tools/vm/
H A Dslabinfo.c802 avg_used, total_used = 0; in totals() local
917 total_used += used; in totals()
942 avg_used = total_used / used_slabs; in totals()
948 avg_objsize = total_used / total_objects; in totals()
959 store_size(b3, total_waste * 100 / total_used); in totals()
1010 store_size(b3, max_used);store_size(b4, total_used); in totals()
/kernel/linux/linux-6.6/tools/mm/
H A Dslabinfo.c826 avg_used, total_used = 0; in totals() local
941 total_used += used; in totals()
966 avg_used = total_used / used_slabs; in totals()
972 avg_objsize = total_used / total_objects; in totals()
983 store_size(b3, total_waste * 100 / total_used); in totals()
1034 store_size(b3, max_used);store_size(b4, total_used); in totals()
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_mm.c1025 u64 total_used = 0, total_free = 0, total = 0; in drm_mm_print() local
1032 total_used += entry->size; in drm_mm_print()
1035 total = total_free + total_used; in drm_mm_print()
1038 total_used, total_free); in drm_mm_print()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_mm.c1026 u64 total_used = 0, total_free = 0, total = 0; in drm_mm_print() local
1033 total_used += entry->size; in drm_mm_print()
1036 total = total_free + total_used; in drm_mm_print()
1039 total_used, total_free); in drm_mm_print()
/kernel/linux/linux-6.6/include/linux/
H A Dswiotlb.h118 * @total_used: The total number of slots in the pool that are currently used
121 * @used_hiwater: The high water mark for total_used. Used only for reporting
138 atomic_long_t total_used; member
/kernel/linux/linux-6.6/kernel/dma/
H A Dswiotlb.c936 new_used = atomic_long_add_return(nslots, &mem->total_used); in inc_used_and_hiwater()
947 atomic_long_sub(nslots, &mem->total_used); in dec_used()
1215 return atomic_long_read(&mem->total_used); in mem_used()
1571 atomic_long_set(&mem->total_used, 0); in swiotlb_create_debugfs_files()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dsuper.c2187 u64 total_used = 0; in btrfs_statfs() local
2224 total_used += found->disk_used; in btrfs_statfs()
2229 buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); in btrfs_statfs()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dsuper.c2040 u64 total_used = 0; in btrfs_statfs() local
2077 total_used += found->disk_used; in btrfs_statfs()
2082 buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); in btrfs_statfs()

Completed in 44 milliseconds

12