/openbmc/u-boot/fs/ext4/ |
H A D | ext4_write.c | 449 uint32_t blkno; in ext4fs_delete_file() local 524 blkno = ext4fs_bg_get_inode_table_id(bgd, fs) + in ext4fs_delete_file() 535 status = ext4fs_devread((lbaint_t)blkno * fs->sect_perblk, in ext4fs_delete_file() 540 if (ext4fs_log_journal(read_buffer, blkno)) in ext4fs_delete_file() 548 if (ext4fs_put_metadata(start_block_address, blkno)) in ext4fs_delete_file()
|
H A D | ext4_common.c | 1566 long int blkno; in ext4fs_blockgroup() local 1573 blkno = le32_to_cpu(data->sblock.first_data_block) + 1 + in ext4fs_blockgroup() 1578 group, blkno, blkoff); in ext4fs_blockgroup() 1580 return ext4fs_devread((lbaint_t)blkno << in ext4fs_blockgroup() 1592 long int blkno; in ext4fs_read_inode() local 1603 blkno = ext4fs_bg_get_inode_table_id(&blkgrp, fs) + in ext4fs_read_inode() 1607 status = ext4fs_devread((lbaint_t)blkno << (LOG2_BLOCK_SIZE(data) - in ext4fs_read_inode()
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_dtree.c | 202 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in read_index_page() 221 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in get_index_page() 240 s64 blkno; in find_index() local 268 blkno = ((offset + 1) >> L2PSIZE) << in find_index() 271 if (*mp && (*lblock != blkno)) { in find_index() 276 *lblock = blkno; in find_index() 277 *mp = read_index_page(ip, blkno); in find_index() 326 u64 blkno; in add_index() local 434 blkno = ((offset + 1) >> L2PSIZE) << sbi->l2nbperpage; in add_index() 446 if ((mp = get_index_page(ip, blkno))) in add_index() [all …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_dir2_block.c | 59 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_dir3_block_verify() 177 hdr3->blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_dir3_block_init() 1076 xfs_dir2_db_t blkno; /* dir-relative block # (0) */ in xfs_dir2_sf_to_block() local 1123 error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, &blkno); in xfs_dir2_sf_to_block() 1129 error = xfs_dir3_data_init(args, blkno, &bp); in xfs_dir2_sf_to_block()
|
H A D | xfs_dir2_data.c | 303 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_dir3_data_verify() 692 xfs_dir2_db_t blkno, /* logical dir block number */ in xfs_dir3_data_init() argument 709 error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, blkno), in xfs_dir3_data_init() 725 hdr3->blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_dir3_data_init()
|
H A D | xfs_bmap.h | 28 xfs_fsblock_t blkno; /* starting block of new extent */ member
|
H A D | xfs_dir2_leaf.c | 111 if (be64_to_cpu(leaf3->info.blkno) != xfs_buf_daddr(bp)) in xfs_dir3_leaf1_check() 324 leaf3->info.blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_dir3_leaf_init() 388 xfs_dablk_t blkno; /* leaf block's bno */ in xfs_dir2_block_to_leaf() local 413 if ((error = xfs_da_grow_inode(args, &blkno))) { in xfs_dir2_block_to_leaf() 416 ldb = xfs_dir2_da_to_db(args->geo, blkno); in xfs_dir2_block_to_leaf()
|
H A D | xfs_dir2_priv.h | 89 extern int xfs_dir3_data_init(struct xfs_da_args *args, xfs_dir2_db_t blkno,
|
H A D | xfs_attr.c | 650 error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, in xfs_attr_leaf_remove_attr() 1172 args->blkno2 = args->blkno; in xfs_attr_save_rmt_blk() 1187 args->blkno = args->blkno2; in xfs_attr_restore_rmt_blk()
|
H A D | xfs_ag.c | 466 xfs_daddr_t blkno, in xfs_get_aghdr_buf() argument 478 bp->b_maps[0].bm_bn = blkno; in xfs_get_aghdr_buf()
|
H A D | xfs_btree.h | 446 xfs_daddr_t blkno,
|
H A D | xfs_btree.c | 1161 xfs_daddr_t blkno, in xfs_btree_init_block_int() argument 1179 buf->bb_u.l.bb_blkno = cpu_to_be64(blkno); in xfs_btree_init_block_int() 1192 buf->bb_u.s.bb_blkno = cpu_to_be64(blkno); in xfs_btree_init_block_int()
|
/openbmc/linux/drivers/scsi/ |
H A D | st.c | 2720 blkno = STps->drv_block; in st_int_ioctl() 2737 blkno = 0; in st_int_ioctl() 2763 if (blkno >= 0) in st_int_ioctl() 2764 blkno += arg; in st_int_ioctl() 2775 if (blkno >= 0) in st_int_ioctl() 2776 blkno -= arg; in st_int_ioctl() 2787 blkno = fileno = (-1); in st_int_ioctl() 2800 blkno = fileno = (-1); in st_int_ioctl() 2835 blkno = 0; in st_int_ioctl() 2876 blkno = -1; in st_int_ioctl() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | refcounttree.c | 202 if (blkno < tree->rf_blkno) in ocfs2_find_refcount_tree() 204 else if (blkno > tree->rf_blkno) in ocfs2_find_refcount_tree() 964 u64 blkno; in ocfs2_get_refcount_cpos_end() local 1283 u64 suballoc_loc, blkno; in ocfs2_expand_inline_ref_root() local 1299 &blkno); in ocfs2_expand_inline_ref_root() 1305 new_bh = sb_getblk(sb, blkno); in ocfs2_expand_inline_ref_root() 1331 new_rb->rf_blkno = cpu_to_le64(blkno); in ocfs2_expand_inline_ref_root() 1521 u64 suballoc_loc, blkno; in ocfs2_new_leaf_refcount_block() local 1547 &blkno); in ocfs2_new_leaf_refcount_block() 1553 new_bh = sb_getblk(sb, blkno); in ocfs2_new_leaf_refcount_block() [all …]
|
H A D | localalloc.c | 956 u64 blkno; in ocfs2_sync_local_to_main() local 987 blkno = la_start_blk + in ocfs2_sync_local_to_main() 994 (unsigned long long)blkno); in ocfs2_sync_local_to_main() 998 main_bm_bh, blkno, in ocfs2_sync_local_to_main()
|
H A D | suballoc.h | 202 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res);
|
H A D | ocfs2.h | 737 u64 blkno) in ino_from_blkno() argument 739 return (unsigned long)(blkno & (u64)ULONG_MAX); in ino_from_blkno()
|
H A D | file.c | 1706 u64 *blkno, int *done) in ocfs2_calc_trunc_pos() argument 1724 *blkno = le64_to_cpu(rec->e_blkno); in ocfs2_calc_trunc_pos() 1739 *blkno = le64_to_cpu(rec->e_blkno) + in ocfs2_calc_trunc_pos() 1772 u64 blkno, refcount_loc = le64_to_cpu(di->i_refcount_loc); in ocfs2_remove_inode_range() local 1888 &trunc_len, &trunc_end, &blkno, &done); in ocfs2_remove_inode_range() 1893 phys_cpos = ocfs2_blocks_to_clusters(inode->i_sb, blkno); in ocfs2_remove_inode_range()
|
H A D | aops.c | 81 u64 blkno = le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + in ocfs2_symlink_get_block() local 83 buffer_cache_bh = sb_getblk(osb->sb, blkno); in ocfs2_symlink_get_block()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_log_recover.c | 1928 xfs_daddr_t blkno, in xlog_buf_readahead() argument 1932 if (!xlog_is_buffer_cancelled(log, blkno, len)) in xlog_buf_readahead() 1933 xfs_buf_readahead(log->l_mp->m_ddev_targp, blkno, len, ops); in xlog_buf_readahead() 2913 xfs_daddr_t blkno, in xlog_valid_rec_header() argument 2939 blkno > log->l_logBBsize || blkno > INT_MAX)) in xlog_valid_rec_header()
|
H A D | xfs_trace.h | 94 __field(u32, blkno) 107 __entry->blkno = ctx->cursor.blkno; 120 __entry->blkno, 316 __field(u32, blkno) 331 __entry->blkno = ctx->cursor.blkno; 347 __entry->blkno, 2296 __field(int64_t, blkno) 2313 __entry->blkno, 2345 __field(int64_t, blkno) 2356 __entry->blkno = in_f->ilf_blkno; [all …]
|
H A D | xfs_inode.c | 2289 xfs_daddr_t blkno; in xfs_ifree_cluster() local 2310 blkno = XFS_AGB_TO_DADDR(mp, XFS_INO_TO_AGNO(mp, inum), in xfs_ifree_cluster() 2322 error = xfs_trans_get_buf(tp, mp->m_ddev_targp, blkno, in xfs_ifree_cluster()
|
/openbmc/linux/Documentation/filesystems/ |
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))
|
/openbmc/linux/drivers/usb/storage/ |
H A D | ene_ub6250.c | 1676 u32 blkno; in ms_scsi_read() local 1699 blkno = phyblk * 0x20 + PageNum; in ms_scsi_read() 1708 bcb->CDB[5] = (unsigned char)(blkno); in ms_scsi_read() 1709 bcb->CDB[4] = (unsigned char)(blkno>>8); in ms_scsi_read() 1710 bcb->CDB[3] = (unsigned char)(blkno>>16); in ms_scsi_read() 1711 bcb->CDB[2] = (unsigned char)(blkno>>24); in ms_scsi_read()
|
/openbmc/linux/fs/gfs2/ |
H A D | rgrp.c | 2562 u64 blkno = ip->i_no_addr; in gfs2_unlink_di() local 2564 rgd = gfs2_blk2rgrpd(sdp, blkno, true); in gfs2_unlink_di() 2568 rgblk_free(sdp, rgd, blkno, 1, GFS2_BLKST_UNLINKED); in gfs2_unlink_di() 2569 trace_gfs2_block_alloc(ip, rgd, blkno, 1, GFS2_BLKST_UNLINKED); in gfs2_unlink_di()
|