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()
498 u32 total_used = 0; in mlx5e_port_manual_buffer_config() local
557 total_used += buffer_size[i]; in mlx5e_port_manual_buffer_config()
560 netdev_dbg(priv->netdev, "%s: total buffer requested=%d\n", __func__, total_used); in mlx5e_port_manual_buffer_config()
562 if (total_used > port_buffer.headroom_size && in mlx5e_port_manual_buffer_config()
563 (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 Dcommit.c193 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()
H A Dubifs.h507 * @total_used: total used space in bytes (does not include index LEBs)
523 * @total_used, @total_dead and @total_dark fields do not account indexing
532 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/drivers/gpu/drm/
H A Ddrm_mm.c991 u64 total_used = 0, total_free = 0, total = 0; in drm_mm_print() local
998 total_used += entry->size; in drm_mm_print()
1001 total = total_free + total_used; in drm_mm_print()
1004 total_used, total_free); in drm_mm_print()
/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.h100 * @total_used: The total number of slots in the pool that are currently used
103 * @used_hiwater: The high water mark for total_used. Used only for reporting
122 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.c1726 u64 total_used = 0; in btrfs_statfs() local
1763 total_used += found->disk_used; in btrfs_statfs()
1768 buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); in btrfs_statfs()