/linux-4.19.296/drivers/s390/char/ |
D | tape_char.c | 98 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) in tapechar_check_idalbuffer() argument 103 device->char_data.idal_buf->size == block_size) in tapechar_check_idalbuffer() 106 if (block_size > MAX_BLOCKSIZE) { in tapechar_check_idalbuffer() 108 block_size, MAX_BLOCKSIZE); in tapechar_check_idalbuffer() 113 new = idal_buffer_alloc(block_size, 0); in tapechar_check_idalbuffer() 133 size_t block_size; in tapechar_read() local 149 if (device->char_data.block_size != 0) { in tapechar_read() 150 if (count < device->char_data.block_size) { in tapechar_read() 155 block_size = device->char_data.block_size; in tapechar_read() 157 block_size = count; in tapechar_read() [all …]
|
D | tape_proc.c | 61 if (device->char_data.block_size == 0) in tape_proc_show() 64 seq_printf(m, "%i\t", device->char_data.block_size); in tape_proc_show()
|
D | sclp_cmd.c | 385 unsigned long long start, size, addr, block_size; in add_memory_merged() local 404 block_size = memory_block_size_bytes(); in add_memory_merged() 405 align_to_block_size(&start, &size, block_size); in add_memory_merged() 408 for (addr = start; addr < start + size; addr += block_size) in add_memory_merged() 409 add_memory(numa_pfn_to_nid(PFN_DOWN(addr)), addr, block_size); in add_memory_merged()
|
/linux-4.19.296/fs/befs/ |
D | super.c | 34 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size); in befs_load_sb() 76 if ((befs_sb->block_size != 1024) in befs_check_sb() 77 && (befs_sb->block_size != 2048) in befs_check_sb() 78 && (befs_sb->block_size != 4096) in befs_check_sb() 79 && (befs_sb->block_size != 8192)) { in befs_check_sb() 80 befs_error(sb, "invalid blocksize: %u", befs_sb->block_size); in befs_check_sb() 84 if (befs_sb->block_size > PAGE_SIZE) { in befs_check_sb() 86 "than system pagesize(%lu)", befs_sb->block_size, in befs_check_sb() 96 if ((1 << befs_sb->block_shift) != befs_sb->block_size) { in befs_check_sb()
|
D | befs.h | 34 u32 block_size; member 145 return BEFS_SB(sb)->block_size / sizeof(befs_disk_inode_addr); in befs_iaddrs_per_block()
|
D | datastream.c | 148 plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ? in befs_read_lsymlink() 149 BEFS_SB(sb)->block_size : len - bytes_read; in befs_read_lsymlink() 182 if (ds->size & (befs_sb->block_size - 1)) in befs_count_blocks() 208 dbl_bytes / (befs_sb->block_size * BEFS_DBLINDIR_BRUN_LEN); in befs_count_blocks()
|
/linux-4.19.296/fs/nfsd/ |
D | blocklayoutxdr.c | 116 u32 block_size) in nfsd4_block_decode_layoutupdate() argument 151 if (bex.foff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate() 157 if (bex.len & (block_size - 1)) { in nfsd4_block_decode_layoutupdate() 163 if (bex.soff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate() 188 u32 block_size) in nfsd4_scsi_decode_layoutupdate() argument 216 if (val & (block_size - 1)) { in nfsd4_scsi_decode_layoutupdate() 223 if (val & (block_size - 1)) { in nfsd4_scsi_decode_layoutupdate()
|
D | blocklayoutxdr.h | 58 u32 block_size); 60 u32 block_size);
|
/linux-4.19.296/fs/squashfs/ |
D | lzo_wrapper.c | 43 int block_size = max_t(int, msblk->block_size, SQUASHFS_METADATA_SIZE); in lzo_init() local 48 stream->input = vmalloc(block_size); in lzo_init() 51 stream->output = vmalloc(block_size); in lzo_init()
|
D | lz4_wrapper.c | 56 int block_size = max_t(int, msblk->block_size, SQUASHFS_METADATA_SIZE); in lz4_init() local 62 stream->input = vmalloc(block_size); in lz4_init() 65 stream->output = vmalloc(block_size); in lz4_init()
|
D | super.c | 147 msblk->block_size = le32_to_cpu(sblk->block_size); in squashfs_fill_super() 148 if (msblk->block_size > SQUASHFS_FILE_MAX_SIZE) in squashfs_fill_super() 155 if (PAGE_SIZE > msblk->block_size) { in squashfs_fill_super() 157 "currently not supported!\n", msblk->block_size); in squashfs_fill_super() 167 if (msblk->block_size != (1 << msblk->block_log)) in squashfs_fill_super() 188 TRACE("Block size %d\n", msblk->block_size); in squashfs_fill_super() 212 squashfs_max_decompressors(), msblk->block_size); in squashfs_fill_super() 281 SQUASHFS_CACHED_FRAGMENTS, msblk->block_size); in squashfs_fill_super() 361 buf->f_bsize = msblk->block_size; in squashfs_statfs()
|
D | squashfs_fs_sb.h | 35 int block_size; member 74 unsigned int block_size; member
|
D | cache.c | 237 int block_size) in squashfs_cache_init() argument 257 cache->block_size = block_size; in squashfs_cache_init() 258 cache->pages = block_size >> PAGE_SHIFT; in squashfs_cache_init()
|
/linux-4.19.296/fs/isofs/ |
D | compress.c | 54 int i, block_size = block_end - block_start; in zisofs_uncompress_block() local 59 int needblocks = (block_size + (block_start & bufmask) + bufmask) in zisofs_uncompress_block() 66 if (block_size > deflateBound(1UL << zisofs_block_shift)) { in zisofs_uncompress_block() 71 if (block_size == 0) { in zisofs_uncompress_block() 147 block_size); in zisofs_uncompress_block() 148 block_size -= stream.avail_in; in zisofs_uncompress_block()
|
/linux-4.19.296/fs/reiserfs/ |
D | tail_conversion.c | 213 unsigned long block_size = sb->s_blocksize; in indirect2direct() local 228 tail_len = (n_new_file_size & (block_size - 1)); in indirect2direct() 294 return block_size - round_tail_len; in indirect2direct() 317 return block_size - round_tail_len; in indirect2direct()
|
D | item_ops.c | 19 static int sd_bytes_number(struct item_head *ih, int block_size) in sd_bytes_number() argument 114 static int direct_bytes_number(struct item_head *ih, int block_size) in direct_bytes_number() argument 205 static int indirect_bytes_number(struct item_head *ih, int block_size) in indirect_bytes_number() argument 207 return ih_item_len(ih) / UNFM_P_SIZE * block_size; in indirect_bytes_number() 349 static int direntry_bytes_number(struct item_head *ih, int block_size) in direntry_bytes_number() argument 636 static int errcatch_bytes_number(struct item_head *ih, int block_size) in errcatch_bytes_number() argument
|
/linux-4.19.296/drivers/misc/c2port/ |
D | core.c | 331 return sprintf(buf, "%d\n", ops->block_size); in c2port_show_flash_block_size() 341 return sprintf(buf, "%d\n", ops->blocks_num * ops->block_size); in c2port_show_flash_size() 637 if (offset >= ops->block_size * ops->blocks_num) in __c2port_read_flash_data() 640 if (ops->block_size * ops->blocks_num - offset < nread) in __c2port_read_flash_data() 641 nread = ops->block_size * ops->blocks_num - offset; in __c2port_read_flash_data() 749 if (ops->block_size * ops->blocks_num - offset < nwrite) in __c2port_write_flash_data() 750 nwrite = ops->block_size * ops->blocks_num - offset; in __c2port_write_flash_data() 753 if (offset >= ops->block_size * ops->blocks_num) in __c2port_write_flash_data() 919 bin_attr_flash_data.size = ops->blocks_num * ops->block_size; in c2port_device_register() 940 name, ops->blocks_num, ops->block_size, in c2port_device_register() [all …]
|
/linux-4.19.296/fs/ntfs/ |
D | dir.c | 358 dir_ni->itype.index.block_size) { in ntfs_lookup_inode_by_name() 365 dir_ni->itype.index.block_size); in ntfs_lookup_inode_by_name() 368 index_end = (u8*)ia + dir_ni->itype.index.block_size; in ntfs_lookup_inode_by_name() 378 if (index_end > (u8*)ia + dir_ni->itype.index.block_size) { in ntfs_lookup_inode_by_name() 836 dir_ni->itype.index.block_size) { 843 dir_ni->itype.index.block_size); 846 index_end = (u8*)ia + dir_ni->itype.index.block_size; 856 if (index_end > (u8*)ia + dir_ni->itype.index.block_size) { 1311 ~(s64)(ndir->itype.index.block_size - 1))); in ntfs_readdir() 1327 ~(s64)(ndir->itype.index.block_size - 1)) >> in ntfs_readdir() [all …]
|
D | inode.c | 410 ni->itype.index.block_size = 0; in __ntfs_init_inode() 862 ni->itype.index.block_size = le32_to_cpu(ir->index_block_size); in ntfs_read_locked_inode() 863 if (ni->itype.index.block_size & in ntfs_read_locked_inode() 864 (ni->itype.index.block_size - 1)) { in ntfs_read_locked_inode() 867 ni->itype.index.block_size); in ntfs_read_locked_inode() 870 if (ni->itype.index.block_size > PAGE_SIZE) { in ntfs_read_locked_inode() 874 ni->itype.index.block_size, in ntfs_read_locked_inode() 879 if (ni->itype.index.block_size < NTFS_BLOCK_SIZE) { in ntfs_read_locked_inode() 883 ni->itype.index.block_size, in ntfs_read_locked_inode() 889 ffs(ni->itype.index.block_size) - 1; in ntfs_read_locked_inode() [all …]
|
D | index.c | 315 idx_ni->itype.index.block_size) { in ntfs_index_lookup() 322 idx_ni->itype.index.block_size); in ntfs_index_lookup() 325 index_end = (u8*)ia + idx_ni->itype.index.block_size; in ntfs_index_lookup() 335 if (index_end > (u8*)ia + idx_ni->itype.index.block_size) { in ntfs_index_lookup()
|
/linux-4.19.296/fs/ufs/ |
D | super.c | 786 unsigned block_size, super_block_size; in ufs_fill_super() local 848 uspi->s_fsize = block_size = 512; in ufs_fill_super() 858 uspi->s_fsize = block_size = 512; in ufs_fill_super() 868 uspi->s_fsize = block_size = 1024; in ufs_fill_super() 879 uspi->s_fsize = block_size = 1024; in ufs_fill_super() 891 uspi->s_fsize = block_size = 1024; in ufs_fill_super() 902 uspi->s_fsize = block_size = 1024; in ufs_fill_super() 917 uspi->s_fsize = block_size = 1024; in ufs_fill_super() 933 uspi->s_fsize = block_size = 2048; in ufs_fill_super() 949 uspi->s_fsize = block_size = 1024; in ufs_fill_super() [all …]
|
/linux-4.19.296/drivers/media/usb/gspca/ |
D | jl2005bcd.c | 45 int block_size; /* block size of camera */ member 358 bytes_left = buffer[0x07] * dev->block_size - act_len; in jl2005c_dostream() 429 sd->block_size = 0x80; in sd_config() 433 sd->block_size = 0x200; in sd_config()
|
/linux-4.19.296/fs/pstore/ |
D | ram_core.c | 128 int ecc_block_size = prz->ecc_info.block_size; in persistent_ram_update_ecc() 171 int size = prz->ecc_info.block_size; in persistent_ram_ecc_old() 182 block += prz->ecc_info.block_size; in persistent_ram_ecc_old() 198 prz->ecc_info.block_size = ecc_info->block_size ?: 128; in persistent_ram_init_ecc() 204 prz->ecc_info.block_size + in persistent_ram_init_ecc()
|
/linux-4.19.296/drivers/memstick/core/ |
D | ms_block.h | 80 unsigned short block_size; member 174 int block_size; member
|
/linux-4.19.296/include/linux/platform_data/ |
D | dma-dw.h | 65 unsigned int block_size; member
|