| /linux/fs/xfs/ |
| H A D | xfs_buf.h | 120 #define DEFINE_SINGLE_BUF_MAP(map, blkno, numblk) \ argument 121 struct xfs_buf_map (map) = { .bm_bn = (blkno), .bm_len = (numblk) }; 210 xfs_daddr_t blkno, in xfs_buf_incore() argument 215 DEFINE_SINGLE_BUF_MAP(map, blkno, numblks); in xfs_buf_incore() 223 xfs_daddr_t blkno, in xfs_buf_get() argument 227 DEFINE_SINGLE_BUF_MAP(map, blkno, numblks); in xfs_buf_get() 235 xfs_daddr_t blkno, in xfs_buf_read() argument 241 DEFINE_SINGLE_BUF_MAP(map, blkno, numblks); in xfs_buf_read() 250 xfs_daddr_t blkno, in xfs_buf_readahead() argument 254 DEFINE_SINGLE_BUF_MAP(map, blkno, numblks); in xfs_buf_readahead()
|
| 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_log_recover.c | 1974 xfs_daddr_t blkno, in xlog_buf_readahead() argument 1978 if (!xlog_is_buffer_cancelled(log, blkno, len)) in xlog_buf_readahead() 1979 xfs_buf_readahead(log->l_mp->m_ddev_targp, blkno, len, ops); in xlog_buf_readahead() 2963 xfs_daddr_t blkno, in xlog_valid_rec_header() argument 2993 if (XFS_IS_CORRUPT(mp, blkno > log->l_logBBsize || blkno > INT_MAX)) in xlog_valid_rec_header()
|
| /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 | 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 | 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()
|
| H A D | suballoc.h | 207 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res);
|
| /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/fs/xfs/libxfs/ |
| 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
|
| H A D | xfs_dir2_data.c | 325 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_dir3_data_verify() 725 xfs_dir2_db_t blkno, /* logical dir block number */ in xfs_dir3_data_init() argument 741 error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, blkno), in xfs_dir3_data_init() 760 hdr3->blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_dir3_data_init()
|
| H A D | xfs_dir2_priv.h | 90 extern int xfs_dir3_data_init(struct xfs_da_args *args, xfs_dir2_db_t blkno,
|
| /linux/drivers/md/ |
| H A D | dm-verity-target.c | 424 sector_t blkno = block->blkno; in verity_handle_data_hash_mismatch() local 434 if (verity_recheck(v, io, want_digest, blkno, data) == 0) { in verity_handle_data_hash_mismatch() 436 set_bit(blkno, v->validated_blocks); in verity_handle_data_hash_mismatch() 440 blkno, data) == 0) in verity_handle_data_hash_mismatch() 445 if (verity_handle_err(v, DM_VERITY_BLOCK_TYPE_DATA, blkno)) { in verity_handle_data_hash_mismatch() 447 dm_audit_log_bio(DM_MSG_PREFIX, "verify-data", bio, blkno, 0); in verity_handle_data_hash_mismatch() 494 set_bit(block->blkno, v->validated_blocks); in verity_verify_pending_blocks() 533 sector_t blkno = io->block + b; in verity_verify_io() local 540 likely(test_bit(blkno, v->validated_blocks))) in verity_verify_io() 545 r = verity_hash_for_block(v, io, blkno, block->want_digest, in verity_verify_io() [all …]
|
| H A D | dm-verity.h | 89 sector_t blkno; member
|
| /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 …]
|
| /linux/Documentation/filesystems/xfs/ |
| H A D | xfs-self-describing-metadata.rst | 199 __be64 blkno; /* location on disk */ 213 information as @owner and @blkno in eh above structure, but using 8 261 if (bp->b_bn != be64_to_cpu(hdr->blkno)) 285 if (bp->b_bn != be64_to_cpu(hdr->blkno))
|
| /linux/drivers/usb/storage/ |
| H A D | ene_ub6250.c | 1675 u32 blkno; in ms_scsi_read() local 1698 blkno = phyblk * 0x20 + PageNum; in ms_scsi_read() 1707 bcb->CDB[5] = (unsigned char)(blkno); in ms_scsi_read() 1708 bcb->CDB[4] = (unsigned char)(blkno>>8); in ms_scsi_read() 1709 bcb->CDB[3] = (unsigned char)(blkno>>16); in ms_scsi_read() 1710 bcb->CDB[2] = (unsigned char)(blkno>>24); in ms_scsi_read()
|