Home
last modified time | relevance | path

Searched refs:sd_sb (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/fs/gfs2/
Dops_fstype.c160 struct gfs2_sb_host *sb = &sdp->sd_sb; in gfs2_check_sb()
201 struct gfs2_sb_host *sb = &sdp->sd_sb; in gfs2_sb_in()
296 sdp->sd_fsb2bb_shift = sdp->sd_sb.sb_bsize_shift - in gfs2_read_sb()
299 sdp->sd_diptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()
301 sdp->sd_inptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()
303 sdp->sd_ldptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()
305 sdp->sd_jbsize = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header); in gfs2_read_sb()
306 sdp->sd_hash_bsize = sdp->sd_sb.sb_bsize / 2; in gfs2_read_sb()
307 sdp->sd_hash_bsize_shift = sdp->sd_sb.sb_bsize_shift - 1; in gfs2_read_sb()
309 sdp->sd_qc_per_block = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()
[all …]
Dinode.h48 (GFS2_SB(inode)->sd_sb.sb_bsize_shift - GFS2_BASIC_BLOCK_SHIFT); in gfs2_set_inode_blocks()
54 (GFS2_SB(inode)->sd_sb.sb_bsize_shift - GFS2_BASIC_BLOCK_SHIFT); in gfs2_get_inode_blocks()
Dacl.h12 #define GFS2_ACL_MAX_ENTRIES(sdp) ((300 << (sdp)->sd_sb.sb_bsize_shift) >> 12)
Dmeta_io.c127 shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getbuf()
139 create_empty_buffers(page, sdp->sd_sb.sb_bsize, 0); in gfs2_getbuf()
410 unsigned int shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getjdatabuf()
515 sdp->sd_sb.sb_bsize_shift; in gfs2_meta_ra()
Dquota.c716 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page()
720 blk = index << (PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift); in gfs2_write_buf_to_page()
854 q.qu_warn = cpu_to_be64(fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
858 q.qu_limit = cpu_to_be64(fdq->d_spc_hardlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
862 q.qu_value = cpu_to_be64(fdq->d_space >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
1357 unsigned int blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_quota_init()
1631 fdq->d_spc_hardlimit = be64_to_cpu(qlvb->qb_limit) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()
1632 fdq->d_spc_softlimit = be64_to_cpu(qlvb->qb_warn) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()
1633 fdq->d_space = be64_to_cpu(qlvb->qb_value) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()
1690 ((fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift) == be64_to_cpu(qd->qd_qb.qb_warn))) in gfs2_set_dqblk()
[all …]
Dfile.c317 if (copy_to_user(label, sdp->sd_sb.sb_locktable, GFS2_LOCKNAME_LEN)) in gfs2_getlabel()
370 size_t blks = (size + sdp->sd_sb.sb_bsize - 1) >> sdp->sd_sb.sb_bsize_shift; in gfs2_size_hint()
1225 *len = ((loff_t)max_data - 3) << sdp->sd_sb.sb_bsize_shift; in calc_max_reserv()
1243 loff_t bsize_mask = ~((loff_t)sdp->sd_sb.sb_bsize - 1); in __gfs2_fallocate()
1244 loff_t next = (offset + len - 1) >> sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()
1247 next = (next + 1) << sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()
1252 bytes = sdp->sd_max_rg_data * sdp->sd_sb.sb_bsize / 2; in __gfs2_fallocate()
1257 bytes = sdp->sd_sb.sb_bsize; in __gfs2_fallocate()
Dbmap.h37 *data_blocks = (len >> sdp->sd_sb.sb_bsize_shift) + 3; in gfs2_write_calc_reserv()
Dlops.c434 for (offset = 0; offset < PAGE_SIZE; offset += sdp->sd_sb.sb_bsize) { in gfs2_jhead_pg_srch()
516 unsigned int bsize = sdp->sd_sb.sb_bsize, off; in gfs2_find_jhead()
517 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_find_jhead()
880 if (offset + sizeof(u64) > sdp->sd_sb.sb_bsize) { in revoke_lo_before_commit()
955 while (offset + sizeof(u64) <= sdp->sd_sb.sb_bsize) { in revoke_lo_scan_elements()
Dincore.h692 struct gfs2_sb_host sd_sb; member
869 return GFS2_SB(&ip->i_inode)->sd_sb.sb_bsize - sizeof(struct gfs2_dinode); in gfs2_max_stuffed_size()
Dbmap.c901 while ((lblock + 1) * sdp->sd_sb.sb_bsize > sdp->sd_heightsize[height]) in __gfs2_iomap_get()
1707 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in punch_hole()
2241 unsigned int shift = sdp->sd_sb.sb_bsize_shift; in gfs2_map_journal_extents()
2310 shift = sdp->sd_sb.sb_bsize_shift; in gfs2_write_alloc_required()
2312 end_of_file = (i_size_read(&ip->i_inode) + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()
2314 lblock_stop = (offset + len + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()
Dglops.c167 const unsigned bsize = sdp->sd_sb.sb_bsize; in gfs2_rgrp_metasync()
224 const unsigned bsize = sdp->sd_sb.sb_bsize; in rgrp_go_inval()
Ddir.c188 if (amount > sdp->sd_sb.sb_bsize - o) in gfs2_dir_write_data()
189 amount = sdp->sd_sb.sb_bsize - o; in gfs2_dir_write_data()
291 if (amount > sdp->sd_sb.sb_bsize - o) in gfs2_dir_read_data()
292 amount = sdp->sd_sb.sb_bsize - o; in gfs2_dir_read_data()
976 i_size_write(inode, sdp->sd_sb.sb_bsize / 2); in dir_make_exhash()
Drecovery.c135 sdp->sd_sb.sb_bsize - LH_V1_SIZE - 4); in __get_log_header()
Drgrp.c785 bytes = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_rgrp); in compute_bitstructs()
799 bytes = sdp->sd_sb.sb_bsize - in compute_bitstructs()
1399 unsigned bs_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_fitrim()
1419 minlen = max_t(u64, r.minlen, sdp->sd_sb.sb_bsize); in gfs2_fitrim()
Dsuper.c112 jd->jd_blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_jdesc_check()
900 buf->f_bsize = sdp->sd_sb.sb_bsize; in gfs2_statfs()
Dxattr.c72 switch(sdp->sd_sb.sb_fs_format) { in gfs2_eatype_valid()
365 sdp->sd_sb.sb_fs_format == GFS2_FS_FORMAT_MIN); in ea_list_i()