/linux-master/fs/gfs2/ |
H A D | recovery.h | 23 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where); 24 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where); 30 const struct gfs2_log_header *lh, unsigned int blkno,
|
H A D | meta_io.h | 53 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno); 54 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, 57 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno,
|
H A D | meta_io.c | 108 * @blkno: the block number (filesystem scope) 114 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) argument 128 index = blkno >> shift; /* convert block to page */ 129 bufnum = blkno - (index << shift); /* block buf index within page */ 152 map_bh(bh, sdp->sd_vfs, blkno); 176 * @blkno: The block number 181 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) argument 184 bh = gfs2_getbuf(gl, blkno, CREATE); 240 * @blkno: The block number 248 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, in argument 402 gfs2_getjdatabuf(struct gfs2_inode *ip, u64 blkno) argument [all...] |
H A D | trans.h | 47 void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len);
|
H A D | lops.c | 256 * @blkno: The device block number we want to write to 264 static struct bio *gfs2_log_alloc_bio(struct gfs2_sbd *sdp, u64 blkno, argument 270 bio->bi_iter.bi_sector = blkno << sdp->sd_fsb2bb_shift; 280 * @blkno: The device block number we want to write to 294 static struct bio *gfs2_log_get_bio(struct gfs2_sbd *sdp, u64 blkno, argument 305 if (blkno == nblk && !flush) 310 *biop = gfs2_log_alloc_bio(sdp, blkno, end_io); 321 * @blkno: block number of the log entry 330 u64 blkno) 335 bio = gfs2_log_get_bio(sdp, blkno, 328 gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, struct page *page, unsigned size, unsigned offset, u64 blkno) argument 757 obsolete_rgrp(struct gfs2_jdesc *jd, struct buffer_head *bh_log, u64 blkno) argument 787 u64 blkno; local 929 u64 blkno; local 1011 u64 blkno; local [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_discard.h | 10 extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks);
|
H A D | jfs_discard.c | 24 * blkno - starting block number to be trimmed (0..N) 32 void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks) argument 37 r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0); 40 sb, (unsigned long long)blkno, 45 sb, (unsigned long long)blkno,
|
H A D | jfs_dmap.c | 64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, 70 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, 73 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, 75 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, 78 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, 85 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, 87 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks); 89 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno); 91 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, 93 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, 355 dbFree(struct inode *ip, s64 blkno, s64 nblocks) argument 449 dbUpdatePMap(struct inode *ipbmap, int free, s64 blkno, s64 nblocks, struct tblock * tblk) argument 731 s64 lblkno, blkno; local 935 dbReAlloc(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks, s64 * results) argument 983 dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks) argument 1082 dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument 1214 dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks, int l2nb, s64 * results) argument 1328 s64 blkno, lblkno; local 1524 s64 blkno = 0; local 1580 s64 nblocks, blkno; local 1586 u64 blkno; member in struct:range2trim 1684 dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno) argument 1803 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results) argument 1957 s64 blkno; local 2020 dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument 2075 dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument 2137 dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument 2284 dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument 2468 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) argument 3183 dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks) argument 3238 dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument 3359 dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks) argument 3724 int blkno, w, b, r, nw, nb, i; local [all...] |
H A D | jfs_dmap.h | 150 __le64 start; /* 8: starting blkno for this dmap */ 284 extern int dbFree(struct inode *ipbmap, s64 blkno, s64 nblocks); 287 int free, s64 blkno, s64 nblocks, struct tblock * tblk); 294 s64 blkno, s64 nblocks, s64 addnblocks, s64 * results); 297 extern int dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks); 298 extern int dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks);
|
/linux-master/fs/ocfs2/ |
H A D | export.c | 39 u64 blkno = handle->ih_blkno; local 43 trace_ocfs2_get_dentry_begin(sb, handle, (unsigned long long)blkno); 45 if (blkno == 0) { 50 inode = ocfs2_ilookup(sb, blkno); 68 status = ocfs2_test_inode_bit(osb, blkno, &set); 72 * The blkno NFS gave us doesn't even show up 89 inode = ocfs2_iget(osb, blkno, 0, 0); 97 trace_ocfs2_get_dentry_stale((unsigned long long)blkno, 112 trace_ocfs2_get_dentry_generation((unsigned long long)blkno, 132 u64 blkno; local 197 u64 blkno; local [all...] |
H A D | dir.h | 50 struct inode *inode, u64 blkno, 55 struct inode *inode, u64 blkno, 61 inode, blkno, parent_fe_bh, lookup); 74 u64 *blkno, 78 int namelen, u64 *blkno); 53 ocfs2_add_entry(handle_t *handle, struct dentry *dentry, struct inode *inode, u64 blkno, struct buffer_head *parent_fe_bh, struct ocfs2_dir_lookup_result *lookup) argument
|
H A D | ocfs2_trace.h | 45 TP_PROTO(unsigned long long blkno), 46 TP_ARGS(blkno), 48 __field(unsigned long long, blkno) 51 __entry->blkno = blkno; 53 TP_printk("%llu", __entry->blkno) 438 TP_PROTO(int subtree_root, unsigned long long blkno, 440 TP_ARGS(subtree_root, blkno, depth), 443 __field(unsigned long long, blkno) 448 __entry->blkno [all...] |
H A D | sysfile.c | 129 u64 blkno; local 137 strlen(namebuf), &blkno); 142 inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type);
|
H A D | ioctl.c | 278 struct inode *inode_alloc, u64 blkno, 298 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); 329 u64 blkno = -1; local 366 &blkno); 373 status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i); 440 u64 blkno; local 454 blkno = le64_to_cpu(rec->c_blkno); 456 blkno = le64_to_cpu(bg->bg_next_group); 466 blkno, &bh); 468 status = ocfs2_read_blocks_sync(osb, blkno, 277 ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, struct inode *inode_alloc, u64 blkno, struct ocfs2_info_freeinode *fi, u32 slot) argument 535 ocfs2_info_freefrag_scan_bitmap(struct ocfs2_super *osb, struct inode *gb_inode, u64 blkno, struct ocfs2_info_freefrag *ffg) argument 616 u64 blkno = -1; local [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_btree_mem.h | 15 static inline xfs_daddr_t xfbno_to_daddr(xfbno_t blkno) argument 17 return blkno << XFBNO_BBSHIFT;
|
H A D | xfs_da_btree.c | 211 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) 433 * For v5 file systems make sure the right blkno is stamped in. 447 da3->blkno = cpu_to_be64(xfs_buf_daddr(dst)); 460 xfs_dablk_t blkno, 476 error = xfs_da_get_buf(tp, dp, blkno, &bp, whichfork); 488 hdr3->info.blkno = cpu_to_be64(xfs_buf_daddr(bp)); 639 if (be32_to_cpu(node->hdr.info.forw) != addblk->blkno) { 646 node->hdr.info.back = cpu_to_be32(oldblk->blkno); 653 if (be32_to_cpu(node->hdr.info.back) != addblk->blkno) { 660 node->hdr.info.forw = cpu_to_be32(oldblk->blkno); 458 xfs_da3_node_create( struct xfs_da_args *args, xfs_dablk_t blkno, int level, struct xfs_buf **bpp, int whichfork) argument 690 xfs_dablk_t blkno; local 796 xfs_dablk_t blkno; local 1260 xfs_dablk_t blkno; local 1594 xfs_dablk_t blkno; local 1999 xfs_dablk_t blkno = 0; local [all...] |
H A D | xfs_da_btree.h | 70 xfs_dablk_t blkno; /* blkno of attr leaf of interest */ member in struct:xfs_da_args 72 xfs_dablk_t rmtblkno; /* remote attr value starting blkno */ 75 xfs_dablk_t blkno2; /* blkno of 2nd attr leaf of interest */ 77 xfs_dablk_t rmtblkno2; /* remote attr value starting blkno */ 117 xfs_dablk_t blkno; /* filesystem blkno of buffer */ member in struct:xfs_da_state_blk 118 xfs_daddr_t disk_blkno; /* on-disk blkno (in BBs) of buffer */ 175 int xfs_da3_node_create(struct xfs_da_args *args, xfs_dablk_t blkno,
|
H A D | xfs_log_recover.h | 118 void xlog_buf_readahead(struct xlog *log, xfs_daddr_t blkno, uint len, 120 bool xlog_is_buffer_cancelled(struct xlog *log, xfs_daddr_t blkno, uint len);
|
H A D | xfs_attr_leaf.c | 878 xfs_dablk_t blkno; local 891 error = xfs_da_grow_inode(args, &blkno); 895 ASSERT(blkno == 0); 896 error = xfs_attr3_leaf_create(args, blkno, &bp); 1148 xfs_dablk_t blkno; local 1158 error = xfs_da_grow_inode(args, &blkno); 1165 error = xfs_da_get_buf(args->trans, dp, blkno, &bp2, XFS_ATTR_FORK); 1190 icnodehdr.btree[0].before = cpu_to_be32(blkno); 1210 xfs_dablk_t blkno, 1222 error = xfs_da_get_buf(args->trans, args->dp, blkno, 1208 xfs_attr3_leaf_create( struct xfs_da_args *args, xfs_dablk_t blkno, struct xfs_buf **bpp) argument 1266 xfs_dablk_t blkno; local 1928 xfs_dablk_t blkno; local [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_buf.h | 145 #define DEFINE_SINGLE_BUF_MAP(map, blkno, numblk) \ 146 struct xfs_buf_map (map) = { .bm_bn = (blkno), .bm_len = (numblk) }; 243 xfs_daddr_t blkno, 248 DEFINE_SINGLE_BUF_MAP(map, blkno, numblks); 256 xfs_daddr_t blkno, 260 DEFINE_SINGLE_BUF_MAP(map, blkno, numblks); 268 xfs_daddr_t blkno, 274 DEFINE_SINGLE_BUF_MAP(map, blkno, numblks); 283 xfs_daddr_t blkno, 287 DEFINE_SINGLE_BUF_MAP(map, blkno, numblk 241 xfs_buf_incore( struct xfs_buftarg *target, xfs_daddr_t blkno, size_t numblks, xfs_buf_flags_t flags, struct xfs_buf **bpp) argument 254 xfs_buf_get( struct xfs_buftarg *target, xfs_daddr_t blkno, size_t numblks, struct xfs_buf **bpp) argument 266 xfs_buf_read( struct xfs_buftarg *target, xfs_daddr_t blkno, size_t numblks, xfs_buf_flags_t flags, struct xfs_buf **bpp, const struct xfs_buf_ops *ops) argument 281 xfs_buf_readahead( struct xfs_buftarg *target, xfs_daddr_t blkno, size_t numblks, const struct xfs_buf_ops *ops) argument [all...] |
H A D | xfs_attr_list.c | 45 !((cursor)->blkno) && !((cursor)->offset)) 157 cursor->blkno = 0; 223 cursor->blkno = 0; 225 error = xfs_da3_node_read(tp, dp, cursor->blkno, &bp, 248 if (cursor->blkno == 0) 258 cursor->blkno = be32_to_cpu(btree->before); 270 if (XFS_IS_CORRUPT(mp, cursor->blkno == 0)) { 312 if (cursor->blkno > 0) { 313 error = xfs_da3_node_read(context->tp, dp, cursor->blkno, &bp, 381 cursor->blkno [all...] |
H A D | xfs_attr_inactive.c | 37 xfs_dablk_t blkno, 53 error = xfs_bmapi_read(dp, (xfs_fileoff_t)blkno, blkcnt, 69 blkno += map.br_blockcount; 263 xfs_daddr_t blkno; local 275 blkno = xfs_buf_daddr(bp); 304 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, blkno, 35 xfs_attr3_rmt_stale( struct xfs_inode *dp, xfs_dablk_t blkno, int blkcnt) argument
|
H A D | xfs_buf_item_recover.c | 32 #define XLOG_BUF_CANCEL_BUCKET(log, blkno) \ 33 ((log)->l_buf_cancel_table + ((uint64_t)blkno % XLOG_BC_TABLE_SIZE)) 49 xfs_daddr_t blkno, 58 bucket = XLOG_BUF_CANCEL_BUCKET(log, blkno); 60 if (bcp->bc_blkno == blkno && bcp->bc_len == len) 70 xfs_daddr_t blkno, 82 bcp = xlog_find_buffer_cancelled(log, blkno, len); 89 bcp->bc_blkno = blkno; 92 list_add_tail(&bcp->bc_list, XLOG_BUF_CANCEL_BUCKET(log, blkno)); 97 * Check if there is and entry for blkno, le 47 xlog_find_buffer_cancelled( struct xlog *log, xfs_daddr_t blkno, uint len) argument 68 xlog_add_buffer_cancelled( struct xlog *log, xfs_daddr_t blkno, uint len) argument 100 xlog_is_buffer_cancelled( struct xlog *log, xfs_daddr_t blkno, uint len) argument 117 xlog_put_buffer_cancelled( struct xlog *log, xfs_daddr_t blkno, uint len) argument [all...] |
H A D | xfs_trans.h | 181 xfs_daddr_t blkno, 186 DEFINE_SINGLE_BUF_MAP(map, blkno, numblks); 203 xfs_daddr_t blkno, 209 DEFINE_SINGLE_BUF_MAP(map, blkno, numblks); 178 xfs_trans_get_buf( struct xfs_trans *tp, struct xfs_buftarg *target, xfs_daddr_t blkno, int numblks, xfs_buf_flags_t flags, struct xfs_buf **bpp) argument 199 xfs_trans_read_buf( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_buftarg *target, xfs_daddr_t blkno, int numblks, xfs_buf_flags_t flags, struct xfs_buf **bpp, const struct xfs_buf_ops *ops) argument
|
/linux-master/fs/xfs/scrub/ |
H A D | dabtree.c | 55 ds->state->path.blk[level].blkno), 77 ds->state->path.blk[level].blkno), 132 xfs_dablk_t blkno) 134 if (blkno < ds->lowest || (ds->highest != 0 && blkno >= ds->highest)) { 257 if (altpath->blk[level].blkno != sibling) 315 xfs_dablk_t blkno) 338 blk->blkno = blkno; 339 if (!xchk_da_btree_ptr_ok(ds, level, blkno)) 129 xchk_da_btree_ptr_ok( struct xchk_da_btree *ds, int level, xfs_dablk_t blkno) argument 312 xchk_da_btree_block( struct xchk_da_btree *ds, int level, xfs_dablk_t blkno) argument 481 xfs_dablk_t blkno; local [all...] |