Searched refs:total_used (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | port_buffer.c | 40 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 D | master.c | 285 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 D | lprops.c | 543 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 D | commit.c | 193 c->mst_node->total_used = cpu_to_le64(lst.total_used); in do_commit()
|
H A D | ubifs-media.h | 737 __le64 total_used; member
|
H A D | budget.c | 199 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
|
H A D | sb.c | 270 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
|
H A D | ubifs.h | 537 long long total_used; member
|
H A D | debug.c | 422 (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 D | slabinfo.c | 826 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 D | swiotlb.h | 122 atomic_long_t total_used; member
|
/linux/kernel/dma/ |
H A D | swiotlb.c | 955 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 D | super.c | 1719 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()
|