Home
last modified time | relevance | path

Searched refs:total_used (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport_buffer.c39 u32 total_used = 0; in mlx5e_port_query_buffer() local
65 total_used += port_buffer->buffer[i].size; in mlx5e_port_query_buffer()
78 port_buffer->port_buffer_size - total_used; in mlx5e_port_query_buffer()
242 u32 total_used = 0; in mlx5e_port_manual_buffer_config() local
293 total_used += buffer_size[i]; in mlx5e_port_manual_buffer_config()
296 mlx5e_dbg(HW, priv, "%s: total buffer requested=%d\n", __func__, total_used); in mlx5e_port_manual_buffer_config()
298 if (total_used > port_buffer.port_buffer_size) in mlx5e_port_manual_buffer_config()
/Linux-v4.19/fs/ubifs/
Dmaster.c209 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master()
215 c->lst.total_used > main_sz) { in validate_master()
221 c->lst.total_used + c->bi.old_idx_sz > main_sz) { in validate_master()
304 c->lst.total_used = le64_to_cpu(c->mst_node->total_used); in ubifs_read_master()
Dlprops.c555 ubifs_assert(c, !(c->lst.total_used & 7)); in ubifs_change_lp()
581 c->lst.total_used -= c->leb_size - old_spc; in ubifs_change_lp()
622 c->lst.total_used += c->leb_size - new_spc; in ubifs_change_lp()
1224 lst->total_used += c->leb_size - free - dirty; in scan_check_cb()
1293 lst.total_used != c->lst.total_used) { in dbg_check_lprops()
1297 lst.total_dirty, lst.total_used); in dbg_check_lprops()
1300 c->lst.total_dirty, c->lst.total_used); in dbg_check_lprops()
Dcommit.c194 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit()
Dubifs-media.h715 __le64 total_used; member
Dbudget.c214 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
Dsb.c254 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
Dubifs.h535 long long total_used; member
Ddebug.c402 (unsigned long long)le64_to_cpu(mst->total_used)); in ubifs_dump_node()
577 lst->total_used, lst->total_dark, lst->total_dead); in ubifs_dump_lstats()
/Linux-v4.19/fs/reiserfs/
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()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_mm.c976 u64 total_used = 0, total_free = 0, total = 0; in drm_mm_print() local
983 total_used += entry->size; in drm_mm_print()
986 total = total_free + total_used; in drm_mm_print()
989 total_used, total_free); in drm_mm_print()
/Linux-v4.19/tools/vm/
Dslabinfo.c795 avg_used, total_used = 0; in totals() local
910 total_used += used; in totals()
935 avg_used = total_used / used_slabs; in totals()
941 avg_objsize = total_used / total_objects; in totals()
952 store_size(b3, total_waste * 100 / total_used); in totals()
1003 store_size(b3, max_used);store_size(b4, total_used); in totals()
/Linux-v4.19/fs/btrfs/
Dsuper.c2089 u64 total_used = 0; in btrfs_statfs() local
2127 total_used += found->disk_used; in btrfs_statfs()
2134 buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); in btrfs_statfs()