Searched refs:sd_sb (Results 1 – 16 of 16) sorted by relevance
162 struct gfs2_sb_host *sb = &sdp->sd_sb; in gfs2_check_sb()200 struct gfs2_sb_host *sb = &sdp->sd_sb; in gfs2_sb_in()300 sdp->sd_diptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()302 sdp->sd_inptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()304 sdp->sd_ldptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()380 proto = sdp->sd_sb.sb_lockproto; in init_names()382 table = sdp->sd_sb.sb_locktable; in init_names()495 switch(sdp->sd_sb.sb_fs_format) { in init_sb()516 if (sdp->sd_sb.sb_bsize > PAGE_SIZE) { in init_sb()526 no_addr = sdp->sd_sb.sb_root_dir.no_addr; in init_sb()[all …]
48 (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()
125 shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getbuf()137 create_empty_buffers(page, sdp->sd_sb.sb_bsize, 0); in gfs2_getbuf()411 unsigned int shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getjdatabuf()516 sdp->sd_sb.sb_bsize_shift; in gfs2_meta_ra()
704 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page()708 blk = index << (PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift); in gfs2_write_buf_to_page()846 q.qu_warn = cpu_to_be64(fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()850 q.qu_limit = cpu_to_be64(fdq->d_spc_hardlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()854 q.qu_value = cpu_to_be64(fdq->d_space >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()1349 unsigned int blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_quota_init()1649 fdq->d_spc_hardlimit = be64_to_cpu(qlvb->qb_limit) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()1650 fdq->d_spc_softlimit = be64_to_cpu(qlvb->qb_warn) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()1651 fdq->d_space = be64_to_cpu(qlvb->qb_value) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()1708 ((fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift) == be64_to_cpu(qd->qd_qb.qb_warn))) in gfs2_set_dqblk()[all …]
317 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()1239 *len = ((loff_t)max_data - 3) << sdp->sd_sb.sb_bsize_shift; in calc_max_reserv()1257 loff_t bsize_mask = ~((loff_t)sdp->sd_sb.sb_bsize - 1); in __gfs2_fallocate()1258 loff_t next = (offset + len - 1) >> sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()1261 next = (next + 1) << sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()1266 bytes = sdp->sd_max_rg_data * sdp->sd_sb.sb_bsize / 2; in __gfs2_fallocate()1271 bytes = sdp->sd_sb.sb_bsize; in __gfs2_fallocate()
12 #define GFS2_ACL_MAX_ENTRIES(sdp) ((300 << (sdp)->sd_sb.sb_bsize_shift) >> 12)
37 *data_blocks = (len >> sdp->sd_sb.sb_bsize_shift) + 3; in gfs2_write_calc_reserv()
435 for (offset = 0; offset < PAGE_SIZE; offset += sdp->sd_sb.sb_bsize) { in gfs2_jhead_pg_srch()519 unsigned int bsize = sdp->sd_sb.sb_bsize, off; in gfs2_find_jhead()520 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_find_jhead()883 if (offset + sizeof(u64) > sdp->sd_sb.sb_bsize) { in revoke_lo_before_commit()958 while (offset + sizeof(u64) <= sdp->sd_sb.sb_bsize) { in revoke_lo_scan_elements()
692 struct gfs2_sb_host sd_sb; member871 return GFS2_SB(&ip->i_inode)->sd_sb.sb_bsize - sizeof(struct gfs2_dinode); in gfs2_max_stuffed_size()
903 while ((lblock + 1) * sdp->sd_sb.sb_bsize > sdp->sd_heightsize[height]) in __gfs2_iomap_get()1710 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in punch_hole()2244 unsigned int shift = sdp->sd_sb.sb_bsize_shift; in gfs2_map_journal_extents()2313 shift = sdp->sd_sb.sb_bsize_shift; in gfs2_write_alloc_required()2315 end_of_file = (i_size_read(&ip->i_inode) + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()2317 lblock_stop = (offset + len + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()
188 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()
167 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()
137 sdp->sd_sb.sb_bsize - LH_V1_SIZE - 4); in __get_log_header()
72 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()
112 jd->jd_blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_jdesc_check()899 buf->f_bsize = sdp->sd_sb.sb_bsize; in gfs2_statfs()
784 bytes = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_rgrp); in compute_bitstructs()798 bytes = sdp->sd_sb.sb_bsize - in compute_bitstructs()1398 unsigned bs_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_fitrim()
Completed in 43 milliseconds