| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-writecache.c | 71 __le64 n_blocks; member 149 size_t n_blocks; member 940 wc->entries = vmalloc(array_size(sizeof(struct wc_entry), wc->n_blocks)); in writecache_alloc_entries() 943 for (b = 0; b < wc->n_blocks; b++) { in writecache_alloc_entries() 1015 for (b = 0; b < wc->n_blocks; b++) { in writecache_resume() 1037 for (b = 0; b < wc->n_blocks; b++) { in writecache_resume() 1133 wc->freelist_high_watermark = wc->n_blocks; in activate_cleaner() 1134 wc->freelist_low_watermark = wc->n_blocks; in activate_cleaner() 1967 uint64_t n_blocks, offset; in calculate_memory_size() local 1970 n_blocks = device_size; in calculate_memory_size() [all …]
|
| H A D | dm-verity-target.c | 48 unsigned n_blocks; member 480 for (b = 0; b < io->n_blocks; b++) { in verity_verify_io() 611 verity_hash_at_level(v, pw->block + pw->n_blocks - 1, i, &hash_block_end, NULL); in verity_prefetch_io() 638 unsigned int n_blocks = io->n_blocks; in verity_submit_prefetch() local 642 while (n_blocks && test_bit(block, v->validated_blocks)) { in verity_submit_prefetch() 644 n_blocks--; in verity_submit_prefetch() 646 while (n_blocks && test_bit(block + n_blocks - 1, in verity_submit_prefetch() 648 n_blocks--; in verity_submit_prefetch() 649 if (!n_blocks) in verity_submit_prefetch() 662 pw->n_blocks = n_blocks; in verity_submit_prefetch() [all …]
|
| H A D | dm-verity.h | 78 unsigned n_blocks; member
|
| H A D | dm-bufio.c | 1139 sector_t block, unsigned n_blocks) in dm_bufio_prefetch() argument 1150 for (; n_blocks--; block++) { in dm_bufio_prefetch() 1171 if (!n_blocks) in dm_bufio_prefetch() 1491 void dm_bufio_forget_buffers(struct dm_bufio_client *c, sector_t block, sector_t n_blocks) in dm_bufio_forget_buffers() argument 1494 sector_t end_block = block + n_blocks; in dm_bufio_forget_buffers()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_gem_framebuffer_helper.c | 346 __u32 n_blocks, w_alignment, h_alignment, hdr_alignment; in drm_gem_afbc_min_size() local 389 n_blocks = (afbc_fb->aligned_width * afbc_fb->aligned_height) in drm_gem_afbc_min_size() 391 afbc_fb->afbc_size = ALIGN(n_blocks * AFBC_HEADER_SIZE, hdr_alignment); in drm_gem_afbc_min_size() 392 afbc_fb->afbc_size += n_blocks * ALIGN(bpp * AFBC_SUPERBLOCK_PIXELS / 8, in drm_gem_afbc_min_size()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_debugfs.c | 43 uint32_t n_blocks; in get_afbc_size() local 48 n_blocks = width * height / AFBC_SUPERBLK_PIXELS; in get_afbc_size() 49 hdr_size = ALIGN(n_blocks * AFBC_HEADER_SIZE, AFBC_HDR_ALIGN); in get_afbc_size() 51 size = hdr_size + n_blocks * ALIGN(bpp * AFBC_SUPERBLK_PIXELS / 8, AFBC_SUPERBLK_ALIGNMENT); in get_afbc_size()
|
| /OK3568_Linux_fs/u-boot/fs/yaffs2/ |
| H A D | yaffs_yaffs2.c | 212 int n_blocks; in yaffs_calc_checkpt_blocks_required() local 235 n_blocks = in yaffs_calc_checkpt_blocks_required() 240 dev->checkpoint_blocks_required = n_blocks; in yaffs_calc_checkpt_blocks_required() 313 u32 n_blocks = dev->internal_end_block - dev->internal_start_block + 1; in yaffs2_wr_checkpt_dev() local 325 n_bytes = n_blocks * sizeof(struct yaffs_block_info); in yaffs2_wr_checkpt_dev() 331 n_bytes = n_blocks * dev->chunk_bit_stride; in yaffs2_wr_checkpt_dev() 341 u32 n_blocks = in yaffs2_rd_checkpt_dev() local 354 n_bytes = n_blocks * sizeof(struct yaffs_block_info); in yaffs2_rd_checkpt_dev() 361 n_bytes = n_blocks * dev->chunk_bit_stride; in yaffs2_rd_checkpt_dev() 1351 int n_blocks = dev->internal_end_block - dev->internal_start_block + 1; in yaffs2_scan_backwards() local [all …]
|
| H A D | yaffs_guts.c | 2261 int n_blocks = dev->internal_end_block - dev->internal_start_block + 1; in yaffs_init_blocks() local 2269 kmalloc(n_blocks * sizeof(struct yaffs_block_info), GFP_NOFS); in yaffs_init_blocks() 2272 vmalloc(n_blocks * sizeof(struct yaffs_block_info)); in yaffs_init_blocks() 2284 kmalloc(dev->chunk_bit_stride * n_blocks, GFP_NOFS); in yaffs_init_blocks() 2287 vmalloc(dev->chunk_bit_stride * n_blocks); in yaffs_init_blocks() 2296 memset(dev->block_info, 0, n_blocks * sizeof(struct yaffs_block_info)); in yaffs_init_blocks() 2297 memset(dev->chunk_bits, 0, dev->chunk_bit_stride * n_blocks); in yaffs_init_blocks() 2686 int n_blocks = in yaffs_find_gc_block() local 2690 iterations = n_blocks; in yaffs_find_gc_block() 2708 iterations = n_blocks / 16 + 1; in yaffs_find_gc_block()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_framebuffer.c | 46 u32 alignment_w = 0, alignment_h = 0, alignment_header, n_blocks, bpp; in komeda_fb_afbc_size_check() local 87 n_blocks = (kfb->aligned_w * kfb->aligned_h) / AFBC_SUPERBLK_PIXELS; in komeda_fb_afbc_size_check() 88 kfb->offset_payload = ALIGN(n_blocks * AFBC_HEADER_SIZE, in komeda_fb_afbc_size_check() 92 kfb->afbc_size = kfb->offset_payload + n_blocks * in komeda_fb_afbc_size_check()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | dm-bufio.h | 78 sector_t block, unsigned n_blocks); 144 void dm_bufio_forget_buffers(struct dm_bufio_client *c, sector_t block, sector_t n_blocks);
|
| /OK3568_Linux_fs/u-boot/board/micronas/vct/ |
| H A D | ebi_onenand.c | 93 u32 n_blocks = len / bytes_per_block; in memcpy_32_from_onenand() local 97 for (block = 0; block < n_blocks; block++) { in memcpy_32_from_onenand()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | mad.c | 1927 u32 n_blocks = OPA_AM_NBLK(am); in __subn_get_opa_sc_to_vlt() local 1932 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlt() 1949 u32 n_blocks = OPA_AM_NBLK(am); in __subn_set_opa_sc_to_vlt() local 1963 if (n_blocks != 1 || async_update || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlt() 1991 u32 n_blocks = OPA_AM_NPORT(am); in __subn_get_opa_sc_to_vlnt() local 1997 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlnt() 2016 u32 n_blocks = OPA_AM_NPORT(am); in __subn_set_opa_sc_to_vlnt() local 2023 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlnt() 3936 u32 n_blocks = OPA_AM_NBLK(am); in __subn_get_opa_cc_table() local 3941 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); in __subn_get_opa_cc_table() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_buf_slot.cpp | 260 RK_S32 n_blocks, hdr_alignment, size; in get_afbc_min_size() local 267 n_blocks = (width * height) / AFBC_SUPERBLOCK_PIXELS; in get_afbc_min_size() 269 size = MPP_ALIGN(n_blocks * AFBC_HEADER_SIZE, hdr_alignment); in get_afbc_min_size() 270 size += n_blocks * MPP_ALIGN(bpp * AFBC_SUPERBLOCK_PIXELS / 8, in get_afbc_min_size()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/ |
| H A D | de2104x.c | 265 u8 n_blocks; member 1836 if (il->n_blocks == 0) in de21041_get_srom_info() 1839 (sizeof(struct de_srom_info_leaf) + (sizeof(struct de_srom_media_block) * il->n_blocks))) in de21041_get_srom_info() 1866 for (i = 0; i < il->n_blocks; i++) { in de21041_get_srom_info()
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | cyclades.c | 113 u32 n_blocks; member 122 u32 n_blocks; member 3416 (void *)(bs + h->n_blocks) > ptr + len) { in __cyz_load_fw() 3434 for (a = 0; a < c->n_blocks; a++) in __cyz_load_fw() 3435 if (c->block_list[a] > h->n_blocks) { in __cyz_load_fw() 3447 for (b = bs; b < bs + h->n_blocks; b++) in __cyz_load_fw() 3458 for (a = 0; a < c->n_blocks; a++) { in __cyz_load_fw()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | df.h | 588 int n_blocks; /* The number of blocks in reverse postorder. */ variable
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | df.h | 588 int n_blocks; /* The number of blocks in reverse postorder. */ variable
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | oxu210hp-hcd.c | 909 int n_blocks; /* minium blocks needed to hold len */ in oxu_buf_alloc() local 922 n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE; in oxu_buf_alloc() 925 for (a_blocks = 1; a_blocks < n_blocks; a_blocks <<= 1) in oxu_buf_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | libata-scsi.c | 1499 static bool ata_check_nblocks(struct scsi_cmnd *scmd, u32 n_blocks) in ata_check_nblocks() argument 1508 if (n_blocks > req_blocks) in ata_check_nblocks()
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A D | drxk_hard.c | 1298 u16 n_blocks; in download_microcode() local 1313 n_blocks = (p_src[0] << 8) | p_src[1]; in download_microcode() 1317 for (i = 0; i < n_blocks; i += 1) { in download_microcode()
|