| /linux/fs/xfs/libxfs/ |
| H A D | xfs_da_btree.c | 211 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_da3_blkinfo_verify() 492 da3->blkno = cpu_to_be64(xfs_buf_daddr(dst)); in xfs_da_buf_copy() 505 xfs_dablk_t blkno, in xfs_da3_node_create() argument 521 error = xfs_da_get_buf(tp, dp, blkno, &bp, whichfork); in xfs_da3_node_create() 533 hdr3->info.blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_da3_node_create() 685 if (be32_to_cpu(node->hdr.info.forw) != addblk->blkno) { in xfs_da3_split() 692 node->hdr.info.back = cpu_to_be32(oldblk->blkno); in xfs_da3_split() 699 if (be32_to_cpu(node->hdr.info.back) != addblk->blkno) { in xfs_da3_split() 706 node->hdr.info.forw = cpu_to_be32(oldblk->blkno); in xfs_da3_split() 736 xfs_dablk_t blkno; in xfs_da3_root_split() local [all …]
|
| H A D | xfs_attr_leaf.c | 1040 xfs_dablk_t blkno; in xfs_attr_shortform_to_leaf() local 1053 error = xfs_da_grow_inode(args, &blkno); in xfs_attr_shortform_to_leaf() 1057 ASSERT(blkno == 0); in xfs_attr_shortform_to_leaf() 1058 error = xfs_attr3_leaf_create(args, blkno, &bp); in xfs_attr_shortform_to_leaf() 1309 xfs_dablk_t blkno; in xfs_attr3_leaf_to_node() local 1319 error = xfs_da_grow_inode(args, &blkno); in xfs_attr3_leaf_to_node() 1326 error = xfs_da_get_buf(args->trans, dp, blkno, &bp2, XFS_ATTR_FORK); in xfs_attr3_leaf_to_node() 1351 icnodehdr.btree[0].before = cpu_to_be32(blkno); in xfs_attr3_leaf_to_node() 1371 xfs_dablk_t blkno, in xfs_attr3_leaf_create() argument 1383 error = xfs_da_get_buf(args->trans, args->dp, blkno, &bp, in xfs_attr3_leaf_create() [all …]
|
| H A D | xfs_btree_mem.h | 15 static inline xfs_daddr_t xfbno_to_daddr(xfbno_t blkno) in xfbno_to_daddr() argument 17 return blkno << XFBNO_BBSHIFT; in xfbno_to_daddr()
|
| H A D | xfs_da_btree.h | 77 xfs_dablk_t blkno; /* blkno of attr leaf of interest */ member 119 xfs_dablk_t blkno; /* filesystem blkno of buffer */ member 177 int xfs_da3_node_create(struct xfs_da_args *args, xfs_dablk_t blkno,
|
| H A D | xfs_log_recover.h | 126 void xlog_buf_readahead(struct xlog *log, xfs_daddr_t blkno, uint len, 128 bool xlog_is_buffer_cancelled(struct xlog *log, xfs_daddr_t blkno, uint len);
|
| H A D | xfs_attr_leaf.h | 92 xfs_dablk_t blkno);
|
| H A D | xfs_attr.h | 36 __u32 blkno; /* block containing entry (suggestion) */ member
|
| /linux/fs/xfs/scrub/ |
| H A D | dabtree.c | 57 ds->state->path.blk[level].blkno), in xchk_da_process_error() 79 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt() 94 ds->state->path.blk[level].blkno), in xchk_da_set_preen() 150 xfs_dablk_t blkno) in xchk_da_btree_ptr_ok() argument 152 if (blkno < ds->lowest || (ds->highest != 0 && blkno >= ds->highest)) { in xchk_da_btree_ptr_ok() 275 if (altpath->blk[level].blkno != sibling) in xchk_da_btree_block_check_sibling() 333 xfs_dablk_t blkno) in xchk_da_btree_block() argument 357 blk->blkno = blkno; in xchk_da_btree_block() 358 if (!xchk_da_btree_ptr_ok(ds, level, blkno)) in xchk_da_btree_block() 362 error = xfs_da_read_buf(dargs->trans, dargs->dp, blk->blkno, in xchk_da_btree_block() [all …]
|
| H A D | attr.c | 196 xchk_fblock_set_corrupt(sc, XFS_ATTR_FORK, args.blkno); in xchk_xattr_actor() 208 xchk_fblock_set_corrupt(sc, XFS_ATTR_FORK, args.blkno); in xchk_xattr_actor() 215 xchk_fblock_set_corrupt(sc, XFS_ATTR_FORK, args.blkno); in xchk_xattr_actor() 250 if (!xchk_fblock_process_error(sc, XFS_ATTR_FORK, args.blkno, in xchk_xattr_actor() 254 xchk_fblock_set_corrupt(sc, XFS_ATTR_FORK, args.blkno); in xchk_xattr_actor() 378 if (*last_checked == blk->blkno) in xchk_xattr_block() 381 *last_checked = blk->blkno; in xchk_xattr_block() 407 if (blk->blkno == 0) in xchk_xattr_block()
|
| /linux/fs/ocfs2/ |
| H A D | dir.h | 50 struct inode *inode, u64 blkno, 55 struct inode *inode, u64 blkno, in ocfs2_add_entry() argument 61 inode, blkno, parent_fe_bh, lookup); in ocfs2_add_entry() 74 u64 *blkno, 78 int namelen, u64 *blkno);
|
| H A D | sysfile.c | 129 u64 blkno; in _ocfs2_get_system_file_inode() local 137 namebuf, len, &blkno); in _ocfs2_get_system_file_inode() 142 inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type); in _ocfs2_get_system_file_inode()
|
| H A D | move_extents.c | 374 u64 blkno; in ocfs2_find_victim_alloc_group() local 385 ret = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf, len, &blkno); in ocfs2_find_victim_alloc_group() 392 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &ac_bh); in ocfs2_find_victim_alloc_group() 425 blkno = le64_to_cpu(rec->c_blkno); in ocfs2_find_victim_alloc_group() 427 blkno = le64_to_cpu(bg->bg_next_group); in ocfs2_find_victim_alloc_group() 434 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &gd_bh); in ocfs2_find_victim_alloc_group() 446 *vict_bit = (vict_blkno - blkno) >> in ocfs2_find_victim_alloc_group() 450 blkno, le16_to_cpu(bg->bg_bits), in ocfs2_find_victim_alloc_group()
|
| H A D | buffer_head_io.c | 406 sector_t blkno) in ocfs2_check_super_or_backup() argument 411 if (blkno == OCFS2_SUPER_BLOCK_BLKNO) in ocfs2_check_super_or_backup() 416 if (backup_blkno == blkno) in ocfs2_check_super_or_backup()
|
| H A D | slot_map.c | 361 u64 blkno; in ocfs2_map_slot_buffers() local 397 &blkno, NULL, NULL); in ocfs2_map_slot_buffers() 403 trace_ocfs2_map_slot_buffers_block((unsigned long long)blkno, i); in ocfs2_map_slot_buffers() 406 status = ocfs2_read_blocks(INODE_CACHE(si->si_inode), blkno, in ocfs2_map_slot_buffers()
|
| H A D | inode.c | 108 struct inode *ocfs2_ilookup(struct super_block *sb, u64 blkno) in ocfs2_ilookup() argument 112 args.fi_blkno = blkno; in ocfs2_ilookup() 114 args.fi_ino = ino_from_blkno(sb, blkno); in ocfs2_ilookup() 117 return ilookup5(sb, blkno, ocfs2_find_actor, &args); in ocfs2_ilookup() 119 struct inode *ocfs2_iget(struct ocfs2_super *osb, u64 blkno, unsigned flags, in ocfs2_iget() argument 128 trace_ocfs2_iget_begin((unsigned long long)blkno, flags, in ocfs2_iget() 134 if (blkno == 0) { in ocfs2_iget() 140 args.fi_blkno = blkno; in ocfs2_iget() 142 args.fi_ino = ino_from_blkno(sb, blkno); in ocfs2_iget()
|
| H A D | localalloc.c | 949 u64 blkno; in ocfs2_sync_local_to_main() local 980 blkno = la_start_blk + in ocfs2_sync_local_to_main() 987 (unsigned long long)blkno); in ocfs2_sync_local_to_main() 991 main_bm_bh, blkno, in ocfs2_sync_local_to_main()
|
| /linux/fs/xfs/ |
| H A D | xfs_buf_item_recover.c | 37 #define XLOG_BUF_CANCEL_BUCKET(log, blkno) \ argument 38 ((log)->l_buf_cancel_table + ((uint64_t)blkno % XLOG_BC_TABLE_SIZE)) 54 xfs_daddr_t blkno, in xlog_find_buffer_cancelled() argument 63 bucket = XLOG_BUF_CANCEL_BUCKET(log, blkno); in xlog_find_buffer_cancelled() 65 if (bcp->bc_blkno == blkno && bcp->bc_len == len) in xlog_find_buffer_cancelled() 75 xfs_daddr_t blkno, in xlog_add_buffer_cancelled() argument 87 bcp = xlog_find_buffer_cancelled(log, blkno, len); in xlog_add_buffer_cancelled() 94 bcp->bc_blkno = blkno; in xlog_add_buffer_cancelled() 97 list_add_tail(&bcp->bc_list, XLOG_BUF_CANCEL_BUCKET(log, blkno)); in xlog_add_buffer_cancelled() 107 xfs_daddr_t blkno, in xlog_is_buffer_cancelled() argument [all …]
|
| H A D | xfs_attr_inactive.c | 37 xfs_dablk_t blkno, in xfs_attr3_rmt_stale() argument 53 error = xfs_bmapi_read(dp, (xfs_fileoff_t)blkno, blkcnt, in xfs_attr3_rmt_stale() 69 blkno += map.br_blockcount; in xfs_attr3_rmt_stale()
|
| H A D | xfs_filestream.c | 230 ap->blkno = xfs_agbno_to_fsb(pag, 0); in xfs_filestream_lookup_association() 288 ap->blkno = XFS_AGB_TO_FSB(args->mp, agno, 0); in xfs_filestream_create_association() 365 ap->blkno = xfs_agbno_to_fsb(args->pag, 0); in xfs_filestream_select_ag()
|
| /linux/fs/jfs/ |
| H A D | xattr.c | 208 s64 blkno; in ea_write() local 232 rc = dbAlloc(ip, INOHINT(ip), nblocks, &blkno); in ea_write() 256 if (!(mp = get_metapage(ip, blkno + i, bytes_to_write, 1))) { in ea_write() 290 DXDaddress(ea, blkno); in ea_write() 302 dbFree(ip, blkno, nblocks); in ea_write() 357 s64 blkno; in ea_read() local 379 blkno = addressDXD(&ji->ea) << sbi->l2nbperpage; in ea_read() 396 if (!(mp = read_metapage(ip, blkno + i, bytes_to_read, 1))) in ea_read() 433 s64 blkno; in ea_get() local 517 &blkno); in ea_get() [all …]
|
| H A D | jfs_dmap.h | 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);
|
| H A D | jfs_discard.h | 10 extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks);
|
| H A D | jfs_extent.c | 309 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument 352 *blkno = daddr; in extBalloc()
|
| /linux/fs/gfs2/ |
| H A D | recovery.c | 55 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_add() argument 61 if (iter->rr_blkno == blkno) { in gfs2_revoke_add() 76 rr->rr_blkno = blkno; in gfs2_revoke_add() 83 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_check() argument 89 if (iter->rr_blkno == blkno) { in gfs2_revoke_check() 119 unsigned int blkno, struct gfs2_log_header_host *head) in __get_log_header() argument 126 (blkno && be32_to_cpu(lh->lh_blkno) != blkno)) in __get_log_header()
|
| /linux/drivers/scsi/ |
| H A D | st.c | 2734 int fileno, blkno, at_sm, undone; in st_int_ioctl() local 2747 blkno = STps->drv_block; in st_int_ioctl() 2764 blkno = 0; in st_int_ioctl() 2780 blkno = (-1); /* We can't know the block number */ in st_int_ioctl() 2790 if (blkno >= 0) in st_int_ioctl() 2791 blkno += arg; in st_int_ioctl() 2802 if (blkno >= 0) in st_int_ioctl() 2803 blkno -= arg; in st_int_ioctl() 2814 blkno = fileno = (-1); in st_int_ioctl() 2827 blkno = fileno = (-1); in st_int_ioctl() [all …]
|