Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
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()
/linux-6.1.9/fs/ubifs/
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()
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()
1285 lst.total_dirty, lst.total_used); in dbg_check_lprops()
1288 c->lst.total_dirty, c->lst.total_used); in dbg_check_lprops()
Dcommit.c182 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit()
Dubifs-media.h737 __le64 total_used; member
Dbudget.c199 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
Dsb.c270 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
Dubifs.h544 long long total_used; member
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()
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/
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()
/linux-6.1.9/tools/vm/
Dslabinfo.c824 avg_used, total_used = 0; in totals() local
939 total_used += used; in totals()
964 avg_used = total_used / used_slabs; in totals()
970 avg_objsize = total_used / total_objects; in totals()
981 store_size(b3, total_waste * 100 / total_used); in totals()
1032 store_size(b3, max_used);store_size(b4, total_used); in totals()
/linux-6.1.9/fs/btrfs/
Dsuper.c2334 u64 total_used = 0; in btrfs_statfs() local
2371 total_used += found->disk_used; in btrfs_statfs()
2376 buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); in btrfs_statfs()