Searched refs:SECTOR_SIZE (Results 1 – 15 of 15) sorted by relevance
| /fs/netfs/ |
| A D | buffered_write.c | 80 gap = SECTOR_SIZE - (i_size & (SECTOR_SIZE - 1)); in netfs_update_i_size() 82 add = DIV_ROUND_UP(copied - gap, SECTOR_SIZE); in netfs_update_i_size() 85 DIV_ROUND_UP(end, SECTOR_SIZE), in netfs_update_i_size()
|
| /fs/ntfs3/ |
| A D | fsntfs.c | 138 if ((fo & 1) || fo + fn * sizeof(short) > SECTOR_SIZE || !fn-- || in ntfs_fix_pre_write() 139 fn * SECTOR_SIZE > bytes) { in ntfs_fix_pre_write() 153 ptr = Add2Ptr(rhdr, SECTOR_SIZE - sizeof(short)); in ntfs_fix_pre_write() 158 ptr += SECTOR_SIZE / sizeof(short); in ntfs_fix_pre_write() 180 if ((fo & 1) || fo + fn * sizeof(short) > SECTOR_SIZE || !fn-- || in ntfs_fix_post_read() 181 fn * SECTOR_SIZE > bytes) { in ntfs_fix_post_read() 188 ptr = Add2Ptr(rhdr, SECTOR_SIZE - sizeof(short)); in ntfs_fix_post_read() 200 ptr += SECTOR_SIZE / sizeof(short); in ntfs_fix_post_read() 1410 fn * SECTOR_SIZE > bytes) { in ntfs_write_bh() 1448 ptr = Add2Ptr(bh_data, SECTOR_SIZE - sizeof(short)); in ntfs_write_bh() [all …]
|
| A D | fslog.c | 435 if (sys_page < SECTOR_SIZE || page_size < SECTOR_SIZE || in is_rst_page_hdr_valid() 473 SECTOR_SIZE - sizeof(short)) in is_rst_area_valid() 484 if (!IS_ALIGNED(off, 8) || ro + off > SECTOR_SIZE - sizeof(short)) in is_rst_area_valid() 540 if (usa_error && ra_len + ro > SECTOR_SIZE - sizeof(short)) in is_client_area_valid() 2648 fo = (SECTOR_SIZE - ((bytes >> SECTOR_SHIFT) + 1) * sizeof(short)); in check_index_buffer() 2653 if ((le16_to_cpu(r->fix_num) - 1) * SECTOR_SIZE != bytes) in check_index_buffer() 2795 fo > (SECTOR_SIZE - ((rs >> SECTOR_SHIFT) + 1) * sizeof(short)) || in check_file_record() 2796 (fn - 1) * SECTOR_SIZE != rs || ao < MFTRECORD_FIXUP_OFFSET_1 || in check_file_record()
|
| A D | super.c | 961 if (boot_sector_size < SECTOR_SIZE || in ntfs_init_from_boot() 1008 if (record_size < SECTOR_SIZE || !is_power_of_2(record_size)) { in ntfs_init_from_boot() 1031 if (sbi->index_size < SECTOR_SIZE || !is_power_of_2(sbi->index_size)) { in ntfs_init_from_boot()
|
| A D | index.c | 900 if (t32 != root->index_block_clst * SECTOR_SIZE) in indx_init()
|
| /fs/nfs/blocklayout/ |
| A D | blocklayout.h | 45 #define SECTOR_SIZE (1 << SECTOR_SHIFT) macro
|
| A D | blocklayout.c | 856 if (!is_aligned_req(pgio, req, SECTOR_SIZE, false)) { in bl_pg_init_read() 879 if (!is_aligned_req(pgio, req, SECTOR_SIZE, false)) in bl_pg_test_read()
|
| /fs/pstore/ |
| A D | zone.c | 1335 check_size(kmsg_size, SECTOR_SIZE); in register_pstore_zone() 1336 check_size(pmsg_size, SECTOR_SIZE); in register_pstore_zone() 1337 check_size(console_size, SECTOR_SIZE); in register_pstore_zone() 1338 check_size(ftrace_size, SECTOR_SIZE); in register_pstore_zone()
|
| /fs/iomap/ |
| A D | ioend.c | 430 return bioset_init(&iomap_ioend_bioset, 4 * (PAGE_SIZE / SECTOR_SIZE), in iomap_ioend_init()
|
| /fs/exfat/ |
| A D | exfat_fs.h | 148 (DIV_ROUND_UP(EXFAT_DEN_TO_B(ES_MAX_ENTRY_NUM), SECTOR_SIZE) + 1)
|
| /fs/gfs2/ |
| A D | ops_fstype.c | 166 if (sb->sb_bsize < SECTOR_SIZE || sb->sb_bsize > PAGE_SIZE || in gfs2_check_sb() 1158 sdp->sd_sb.sb_bsize = sb_min_blocksize(sb, SECTOR_SIZE); in gfs2_fill_super()
|
| /fs/bcachefs/ |
| A D | fs-io-direct.c | 84 if ((offset|iter->count) & (SECTOR_SIZE - 1)) in bch2_direct_IO_read()
|
| A D | fs.c | 1202 stat->dio_mem_align = SECTOR_SIZE; in bch2_getattr()
|
| /fs/fat/ |
| A D | inode.c | 1517 bpb->fat_sector_size = SECTOR_SIZE; in fat_read_static_bpb()
|
| /fs/btrfs/ |
| A D | extent-tree.c | 1255 u64 aligned_start = ALIGN(start, SECTOR_SIZE); in btrfs_issue_discard() 1260 len = round_down(len, SECTOR_SIZE); in btrfs_issue_discard()
|
Completed in 58 milliseconds