Home
last modified time | relevance | path

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

/linux/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()
/linux/fs/ubifs/
H A Dmaster.c285 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) { in validate_master()
291 c->lst.total_used > main_sz) { in validate_master()
297 c->lst.total_used + c->bi.old_idx_sz > main_sz) { in validate_master()
380 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()
1213 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()
H A Dcommit.c193 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit()
H A Dubifs-media.h737 __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()
H A Dubifs.h537 long long total_used; member
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()
/linux/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()
/linux/include/linux/
H A Dswiotlb.h122 atomic_long_t total_used; member
/linux/kernel/dma/
H A Dswiotlb.c955 new_used = atomic_long_add_return(nslots, &mem->total_used); in inc_used_and_hiwater()
966 atomic_long_sub(nslots, &mem->total_used); in dec_used()
1293 return atomic_long_read(&mem->total_used); in mem_used()
/linux/fs/btrfs/
H A Dsuper.c1719 u64 total_used = 0; in btrfs_statfs() local
1756 total_used += found->disk_used; in btrfs_statfs()
1761 buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); in btrfs_statfs()