Searched refs:mem_bytes (Results 1 – 4 of 4) sorted by relevance
3188 unsigned old_bytes = trans->mem_bytes; in __bch2_trans_kmalloc()3229 EBUG_ON(trans->mem_bytes >= new_bytes); in __bch2_trans_kmalloc()3256 trans->mem_bytes = new_bytes; in __bch2_trans_kmalloc()3264 trans->mem_bytes = new_bytes; in __bch2_trans_kmalloc()3327 EBUG_ON(!trans->mem || !trans->mem_bytes); in bch2_trans_begin()3344 trans->mem_bytes = new_bytes; in bch2_trans_begin()3499 trans->mem_bytes = expected_mem_bytes; in __bch2_trans_get()
580 if (likely(trans->mem_top + size <= trans->mem_bytes)) { in bch2_trans_kmalloc_nomemzero_ip()597 if (likely(trans->mem_top + size <= trans->mem_bytes)) { in bch2_trans_kmalloc_ip()
499 unsigned mem_bytes; member
753 u64 mem_bytes = i.totalram * i.mem_unit; in mem_may_pin_bytes() local754 return div_u64(mem_bytes * c->opts.fsck_memory_usage_percent, 100); in mem_may_pin_bytes()
Completed in 20 milliseconds