Home
last modified time | relevance | path

Searched refs:DIV_ROUND_UP (Results 1 – 8 of 8) sorted by relevance

/fs/squashfs/
A Dsqfs_inode.c38 blk_list_size = DIV_ROUND_UP(file_size, blk_size); in sqfs_inode_size()
74 blk_list_size = DIV_ROUND_UP(file_size, blk_size); in sqfs_inode_size()
A Dsqfs.c98 return DIV_ROUND_UP(table_size + *offset, ctxt.cur_dev->blksz); in sqfs_calc_n_blks()
1315 datablk_count = DIV_ROUND_UP(finfo->size, le32_to_cpu(blksz)); in sqfs_get_regfile_info()
1353 datablk_count = DIV_ROUND_UP(finfo->size, le32_to_cpu(blksz)); in sqfs_get_lregfile_info()
1511 n_blks = DIV_ROUND_UP(table_size + table_offset, in sqfs_read_nest()
1585 n_blks = DIV_ROUND_UP(table_size + table_offset, ctxt.cur_dev->blksz); in sqfs_read_nest()
/fs/exfat/
A Dnode.c318 mandatory_entries = 2 + DIV_ROUND_UP(meta2->name_length, EXFAT_ENAME_MAX); in parse_file_entries()
475 if (le64_to_cpu(bitmap->size) < DIV_ROUND_UP(ef->cmap.size, 8)) in readdir()
480 DIV_ROUND_UP(ef->cmap.size, 8)); in readdir()
744 entries += DIV_ROUND_UP(exfat_utf16_length(last_node->name), in shrink_directory()
748 new_size = DIV_ROUND_UP(entries * sizeof(struct exfat_entry), in shrink_directory()
899 const int name_entries = DIV_ROUND_UP(name_length, EXFAT_ENAME_MAX); in commit_entry()
972 2 + DIV_ROUND_UP(exfat_utf16_length(name), EXFAT_ENAME_MAX)); in create()
1029 const int name_entries = DIV_ROUND_UP(name_length, EXFAT_ENAME_MAX); in rename_entry()
1151 2 + DIV_ROUND_UP(exfat_utf16_length(name), EXFAT_ENAME_MAX)); in exfat_rename()
A Dexfat.h57 #define DIV_ROUND_UP(x, d) (((x) + (d) - 1) / (d)) macro
59 #define ROUND_UP(x, d) (DIV_ROUND_UP(x, d) * (d))
A Dcluster.c70 return DIV_ROUND_UP(bytes, cluster_size); in bytes2clusters()
117 const size_t end_index = DIV_ROUND_UP(end, sizeof(bitmap_t) * 8); in find_bit_and_set()
/fs/ubifs/
A Dlpt.c61 max_pnode_cnt = DIV_ROUND_UP(n, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
70 c->pnode_cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
72 n = DIV_ROUND_UP(c->pnode_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
75 n = DIV_ROUND_UP(n, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
84 n = DIV_ROUND_UP(c->max_leb_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
724 cnt = DIV_ROUND_UP(cnt, UBIFS_LPT_FANOUT); in ubifs_create_dflt_lpt()
A Dlpt_commit.c1561 cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in dbg_is_pnode_dirty()
1716 cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in dbg_check_ltab()
/fs/erofs/
A Dinternal.h57 #define BLK_ROUND_UP(addr) DIV_ROUND_UP(addr, 1u << sbi.blkszbits)

Completed in 19 milliseconds