Home
last modified time | relevance | path

Searched refs:nblocks (Results 1 – 25 of 45) sorted by relevance

12

/external/syslinux/core/fs/ext2/
Dbmap.c46 bmap_extent(struct inode *inode, uint32_t block, size_t *nblocks) in bmap_extent() argument
76 if (nblocks) in bmap_extent()
77 *nblocks = ext[i].ee_len - block; in bmap_extent()
87 scan_set_nblocks(const uint32_t *map, unsigned int count, size_t *nblocks) in scan_set_nblocks() argument
91 if (nblocks) { in scan_set_nblocks()
106 *nblocks = cnt; in scan_set_nblocks()
118 int levels, size_t *nblocks) in bmap_indirect() argument
127 if (nblocks) in bmap_indirect()
128 *nblocks = addr_count << (levels * addr_shift); in bmap_indirect()
136 return scan_set_nblocks(blk + index, addr_count - index, nblocks); in bmap_indirect()
[all …]
/external/fec/
Ddotprod_av.c61 int nblocks; in dotprod_av() local
70 nblocks = (dp->len+al-1)/8+1; in dotprod_av()
74 while(nblocks >= 4){ in dotprod_av()
75 sums0 = vec_msums(ar[nblocks-1],d[nblocks-1],sums0); in dotprod_av()
76 sums1 = vec_msums(ar[nblocks-2],d[nblocks-2],sums1); in dotprod_av()
77 sums2 = vec_msums(ar[nblocks-3],d[nblocks-3],sums2); in dotprod_av()
78 sums3 = vec_msums(ar[nblocks-4],d[nblocks-4],sums3); in dotprod_av()
79 nblocks -= 4; in dotprod_av()
84 while(nblocks-- > 0){ in dotprod_av()
85 sums0 = vec_msums(ar[nblocks],d[nblocks],sums0); in dotprod_av()
/external/syslinux/core/fs/ufs/
Dbmap.c40 unsigned int count, size_t *nblocks) in scan_set_nblocks() argument
49 if (nblocks) { in scan_set_nblocks()
74 *nblocks = cnt; in scan_set_nblocks()
92 int levels, size_t *nblocks) in bmap_indirect() argument
102 if (nblocks) in bmap_indirect()
103 *nblocks = addr_count << (levels * shft_per_blk); in bmap_indirect()
113 addr_count - index, nblocks); in bmap_indirect()
120 uint64_t ufs_bmap (struct inode *inode, block_t block, size_t *nblocks) in ufs_bmap() argument
144 UFS_DIRECT_BLOCKS - block, nblocks); in ufs_bmap()
150 block, 1, nblocks); in ufs_bmap()
[all …]
/external/fio/crc/
Dmurmur3.c22 static uint32_t murmur3_tail(const uint8_t *data, const int nblocks, in murmur3_tail() argument
26 const uint8_t *tail = (const uint8_t *)(data + nblocks * 4); in murmur3_tail()
48 const int nblocks = len / 4; in murmurhash3() local
52 const uint32_t *blocks = (const uint32_t *)(data + nblocks * 4); in murmurhash3()
55 for (i = -nblocks; i; i++) { in murmurhash3()
67 return murmur3_tail(data, nblocks, len, c1, c2, h1); in murmurhash3()
/external/e2fsprogs/e2fsck/
Dextend.c31 int nblocks, blocksize; in main() local
40 nblocks = strtoul(argv[2], 0, 0) - 1; in main()
43 if (nblocks < 0) { in main()
61 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main()
71 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main()
/external/syslinux/gpxe/src/hci/mucurses/
Dslk.c239 unsigned short nmaj, nmin, nblocks, available_width; in slk_init() local
255 nblocks = 8; nmaj = 2; nmin = 5; in slk_init()
259 nblocks = 8; nmaj = 1; nmin = 6; in slk_init()
265 nblocks = 12; nmaj = 2; nmin = 9; in slk_init()
269 nblocks = 0; nmaj = 0; nmin = 0; in slk_init()
275 slks->max_label_len = available_width / nblocks; in slk_init()
277 ( available_width % nblocks ) / nmaj; in slk_init()
279 slks->num_labels = nblocks; in slk_init()
/external/jemalloc/include/jemalloc/internal/
Dhash.h108 const int nblocks = len / 4; in hash_x86_32() local
117 const uint32_t *blocks = (const uint32_t *) (data + nblocks*4); in hash_x86_32()
120 for (i = -nblocks; i; i++) { in hash_x86_32()
135 const uint8_t *tail = (const uint8_t *) (data + nblocks*4); in hash_x86_32()
160 const int nblocks = len / 16; in hash_x86_128() local
174 const uint32_t *blocks = (const uint32_t *) (data + nblocks*16); in hash_x86_128()
177 for (i = -nblocks; i; i++) { in hash_x86_128()
207 const uint8_t *tail = (const uint8_t *) (data + nblocks*16); in hash_x86_128()
262 const int nblocks = len / 16; in hash_x64_128() local
275 for (i = 0; i < nblocks; i++) { in hash_x64_128()
[all …]
/external/valgrind/coregrind/
Dm_xtmemory.c50 xto->nblocks += xta->nblocks; in VG_()
58 xfrom->nblocks -= xta->nblocks; in VG_()
66 if (xta->nbytes > 0 || xta->nblocks > 0) { in VG_()
68 xta->nbytes, xta->nblocks); in VG_()
220 case 1: return (ULong) xta->nblocks; in XT_Allocs_report_value()
314 while ( xta.nblocks > 0 ) { in VG_()
/external/perfetto/src/ftrace_reader/test/data/android_seed_N2F62_3.10.49/events/ext4/ext4_journal_start/
Dformat11 field:int nblocks; offset:16; size:4; signed:1;
13 …mt: "dev %d,%d nblocks %d caller %pF", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC-…
/external/perfetto/src/ftrace_reader/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext4/ext4_journal_start/
Dformat11 field:int nblocks; offset:24; size:4; signed:1;
13 …mt: "dev %d,%d nblocks %d caller %pF", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC-…
/external/perfetto/src/ftrace_reader/test/data/android_hammerhead_MRA59G_3.4.0/events/ext4/ext4_journal_start/
Dformat11 field:int nblocks; offset:16; size:4; signed:1;
14 …mt: "dev %d,%d nblocks %d caller %pF", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC-…
/external/pdfium/core/fpdfapi/parser/
Dcpdf_crypto_handler.cpp86 int nblocks = src_size / 16; in CryptBlock() local
88 nblocks * 16); in CryptBlock()
90 memcpy(padding, src_buf + nblocks * 16, src_size % 16); in CryptBlock()
92 CRYPT_AESEncrypt(m_pAESContext.get(), dest_buf + nblocks * 16 + 16, in CryptBlock()
94 dest_size = 32 + nblocks * 16; in CryptBlock()
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c299 const unsigned nblocks = util_format_get_nblocksx(pt->format, width); in i9x5_texture_layout_cube() local
306 tex->stride = align(nblocks * util_format_get_blocksize(pt->format) * 2, 4); in i9x5_texture_layout_cube()
307 tex->total_nblocksy = nblocks * 4; in i9x5_texture_layout_cube()
313 unsigned x = initial_offsets[face][0] * nblocks; in i9x5_texture_layout_cube()
314 unsigned y = initial_offsets[face][1] * nblocks; in i9x5_texture_layout_cube()
315 unsigned d = nblocks; in i9x5_texture_layout_cube()
558 const unsigned nblocks = util_format_get_nblocksx(pt->format, width); in i945_texture_layout_cube() local
575 tex->stride = nblocks * 2 * util_format_get_blocksize(pt->format); in i945_texture_layout_cube()
583 tex->total_nblocksy = nblocks * 4 + 1; in i945_texture_layout_cube()
/external/fio/t/
Ddedupe.c280 unsigned int nblocks, i; in do_work() local
288 nblocks = read_blocks(thread->fd, buf, offset, min(thread->size, (uint64_t)chunk_size)); in do_work()
289 if (!nblocks) in do_work()
292 items = malloc(sizeof(*items) * nblocks); in do_work()
294 for (i = 0; i < nblocks; i++) { in do_work()
/external/valgrind/drd/
Ddrd_malloc_wrappers.c347 SizeT nblocks = 0; in DRD_() local
359 nblocks++; in DRD_()
365 nbytes, nblocks); in DRD_()
/external/valgrind/include/
Dpub_tool_xtmemory.h38 SizeT nblocks; member
/external/kernel-headers/original/uapi/linux/
Dnvme_ioctl.h25 __u16 nblocks; member
Dnilfs2_api.h134 NILFS_SUINFO_UPDATE_FNS(NBLOCKS, nblocks)
/external/freetype/src/sfnt/
Dsfdriver.c299 const int nblocks = (int)len / 16; in murmur_hash_3_128() local
311 const FT_UInt32* blocks = (const FT_UInt32*)( data + nblocks * 16 ); in murmur_hash_3_128()
316 for( i = -nblocks; i; i++ ) in murmur_hash_3_128()
362 const FT_Byte* tail = (const FT_Byte*)( data + nblocks * 16 ); in murmur_hash_3_128()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_pt_nvme.h48 uint16_t nblocks; member
/external/valgrind/memcheck/
Dmc_malloc_wrappers.c1149 xta->nblocks = 1; in xtmemory_report_next_block()
1152 xta->nblocks = 0; in xtmemory_report_next_block()
1171 SizeT nblocks = 0; in MC_() local
1182 nblocks++; in MC_()
1191 nbytes, nblocks, in MC_()
/external/python/cpython2/Python/
Dcompile.c3490 assemble_init(struct assembler *a, int nblocks, int firstlineno) in assemble_init() argument
3500 if (nblocks > PY_SIZE_MAX / sizeof(basicblock *)) { in assemble_init()
3505 sizeof(basicblock *) * nblocks); in assemble_init()
3912 int i, j, nblocks; in assemble() local
3926 nblocks = 0; in assemble()
3929 nblocks++; in assemble()
3940 if (!assemble_init(&a, nblocks, c->u->u_firstlineno)) in assemble()
/external/python/cpython3/Python/
Dcompile.c4907 assemble_init(struct assembler *a, int nblocks, int firstlineno) in assemble_init() argument
4917 if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) { in assemble_init()
4922 sizeof(basicblock *) * nblocks); in assemble_init()
5320 int i, j, nblocks; in assemble() local
5334 nblocks = 0; in assemble()
5337 nblocks++; in assemble()
5348 if (!assemble_init(&a, nblocks, c->u->u_firstlineno)) in assemble()
/external/f2fs-tools/fsck/
Dfsck.c1987 int j, nblocks; in check_curseg_offset() local
2000 nblocks = sbi->blocks_per_seg; in check_curseg_offset()
2001 for (j = curseg->next_blkoff + 1; j < nblocks; j++) { in check_curseg_offset()
/external/valgrind/massif/
Dms_main.c1841 xta->nblocks = 1; in xtmemory_report_next_block()
1844 xta->nblocks = 0; in xtmemory_report_next_block()

12