Home
last modified time | relevance | path

Searched refs:blocks (Results 1 – 25 of 114) sorted by relevance

12345

/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/
H A Dzfs_written_property_001_pos.ksh58 typeset -l blocks=50
77 count=$blocks
80 ((expected_written=blocks * mb_block))
83 ((total = total + blocks))
84 ((blocks = blocks + 50))
88 blocks=0
91 if [[ $blocks -eq 0 ]]; then
94 ((expected_written = blocks * mb_block))
98 ((blocks = blocks + 50))
106 blocks=50
[all …]
/titanic_41/usr/src/cmd/du/
H A Ddu.c95 static void printsize(blkcnt_t blocks, char *path);
103 blkcnt_t blocks = 0; in main() local
259 blocks = descend(*np ? np : ".", 0, &retcode, in main()
262 printsize(blocks, base); in main()
285 blkcnt_t blocks = 0; in descend() local
382 blocks = stb.st_blocks; in descend()
401 blocks += descend(NULL, fd, retcode, device); in descend()
412 printsize(blocks, base); in descend()
413 return (blocks); in descend()
486 blocks += retval; in descend()
[all …]
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAuthBlock.java87 Hashtable blocks = new Hashtable(); in makeAuthBlocks() local
92 blocks.put(spi, new AuthBlock(message, spi, bsd, lifetime)); in makeAuthBlocks()
94 return blocks; in makeAuthBlocks()
124 Hashtable blocks = new Hashtable(); in makeAuthBlocks() local
128 blocks.put(ab.getSPI(), ab); in makeAuthBlocks()
131 return blocks; in makeAuthBlocks()
153 Enumeration blocks = authBlocks.elements(); in verifyAll() local
155 while (blocks.hasMoreElements()) { in verifyAll()
156 AuthBlock ab = (AuthBlock) blocks.nextElement(); in verifyAll()
174 Enumeration blocks = authBlocks.elements(); in getShortestLifetime() local
[all …]
/titanic_41/usr/src/tools/onbld/Checks/
H A DCmtBlk.py57 blocks = []
84 blocks.append({'start':start, 'block':lic})
95 if not len(blocks) and not lenient:
102 if len(blocks) > 1:
107 ', '.join([str(x['start']) for x in blocks])))
110 for b in blocks:
/titanic_41/usr/src/uts/intel/io/drm/
H A Dradeon_mem.c151 struct mem_block *blocks = drm_alloc(sizeof (*blocks), DRM_MEM_BUFS); in init_heap() local
153 if (!blocks) in init_heap()
158 drm_free(blocks, sizeof (*blocks), DRM_MEM_BUFS); in init_heap()
162 blocks->start = start; in init_heap()
163 blocks->size = size; in init_heap()
164 blocks->filp = NULL; in init_heap()
165 blocks->next = blocks->prev = *heap; in init_heap()
169 (*heap)->next = (*heap)->prev = blocks; in init_heap()
H A Di915_mem.c207 struct mem_block *blocks = drm_alloc(sizeof(*blocks), DRM_MEM_BUFLISTS); in init_heap() local
209 if (!blocks) in init_heap()
214 drm_free(blocks, sizeof(*blocks), DRM_MEM_BUFLISTS); in init_heap()
218 blocks->start = start; in init_heap()
219 blocks->size = size; in init_heap()
220 blocks->filp = NULL; in init_heap()
221 blocks->next = blocks->prev = *heap; in init_heap()
225 (*heap)->next = (*heap)->prev = blocks; in init_heap()
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsafestore_ram.c336 { int blocks; in ss_ram_getcdir() local
338 blocks = ss_ramcommon_config.ssc_wsize / in ss_ram_getcdir()
345 ss_ram_config.sn_wr_cctl + blocks; in ss_ram_getcdir()
554 int blocks; in ss_ram_wctl_configure() local
559 blocks = ss_ramcommon_config.ssc_wsize / in ss_ram_wctl_configure()
563 kmem_zalloc(blocks * sizeof (ss_wr_cctl_t), KM_NOSLEEP)) in ss_ram_wctl_configure()
569 kmem_zalloc(blocks * sizeof (ss_centry_info_impl_t), in ss_ram_wctl_configure()
585 for (i = 0; i < blocks; ++i, ++wentry) { in ss_ram_wctl_configure()
590 ss_ram_config.sn_wr_queue.wq_nentries = blocks; in ss_ram_wctl_configure()
598 int blocks; in ss_ram_wctl_deconfigure() local
[all …]
H A DCACHE_SPEC.txt78 (Side effect: If a process owning cache blocks of a files attempts
79 to allocate overlapping cache blocks, it will be a
95 fba_len = len in disk blocks, each block being 512 bytes.
106 _SD_NOCACHE: reuse cache blocks immediately instead of keeping
152 fba_pos = disk position in multiples of 512 byte blocks.
153 fba_len = length in multiples of 512 bytes blocks.
183 (with the blocks valid if _SD_RDBUF is set)
239 _SD_HIT: is returned if the blocks were satisfied by cache.
240 _SD_DONE: some blocks were read from disk.
320 re-reflect any pinned blocks to the other side,
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/holes/
H A Dholes.shlib18 # data_blks The expected number of data blocks.
29 log_note "Found $found_hole_blks, not $hole_blks hole blocks."
34 log_note "Found $found_data_blks, not $data_blks data blocks."
38 [[ $failures -eq 0 ]] || log_fail "Wrong number of data/hole blocks."
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_dmae.c362 operation->blocks[0].source = source; in lm_dmae_operation_create()
363 operation->blocks[0].dest = dest; in lm_dmae_operation_create()
364 operation->blocks[0].length = length; in lm_dmae_operation_create()
369 &operation->blocks[0], in lm_dmae_operation_create()
477 if (new_sge_idx >= ARRSIZE(operation->blocks)) in lm_dmae_operation_add_sge()
496 operation->blocks[new_sge_idx].source = source; in lm_dmae_operation_add_sge()
497 operation->blocks[new_sge_idx].dest = dest; in lm_dmae_operation_add_sge()
498 operation->blocks[new_sge_idx].length = length; in lm_dmae_operation_add_sge()
503 &operation->blocks[new_sge_idx], in lm_dmae_operation_add_sge()
892 switch (operation->blocks[0].source.type) in lm_dmae_context_execute_sub_operation()
[all …]
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass1.c579 int blocks; in collapse_dirhole() local
596 blocks = howmany(new_size, sblock.fs_bsize); in collapse_dirhole()
597 if (blocks > NDADDR) { in collapse_dirhole()
598 if (blocks < (NDADDR + NINDIR(&sblock))) in collapse_dirhole()
599 blocks = NDADDR; in collapse_dirhole()
600 else if (blocks < (NDADDR + NINDIR(&sblock) + in collapse_dirhole()
602 blocks = NDADDR + NINDIR(&sblock); in collapse_dirhole()
604 blocks = NDADDR + NINDIR(&sblock) + in collapse_dirhole()
606 new_size = blocks * sblock.fs_bsize; in collapse_dirhole()
609 (longlong_t)new_size, blocks); in collapse_dirhole()
/titanic_41/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c73 long blocks; member
344 dp->blocks += size; in qacct()
407 if ((*p1)->blocks > (*p2)->blocks) in qcmp()
409 if ((*p1)->blocks < (*p2)->blocks) in qcmp()
446 if ((*dp)->blocks == 0) in report()
448 (void) printf("%5ld\t", (*dp)->blocks); in report()
/titanic_41/usr/src/uts/common/tnf/
H A Dtnf_buf.c342 ulong_t blocks; in tnfw_b_init_buffer() local
364 blocks = size >> TNF_BLOCK_SHIFT; in tnfw_b_init_buffer()
369 while (b < blocks) { in tnfw_b_init_buffer()
386 fh->com.block_count = blocks; in tnfw_b_init_buffer()
397 for (; i < blocks; ++i) { in tnfw_b_init_buffer()
/titanic_41/usr/src/lib/libast/common/misc/
H A Dstack.c55 stack->blocks = b; in stackalloc()
75 b = stack->blocks; in stackfree()
92 stack->position.block = stack->blocks; in stackclear()
/titanic_41/usr/src/cmd/tar/
H A Dtar.c465 static void seekdisk(blkcnt_t blocks);
1614 blkcnt_t blocks; in passtape() local
1626 blocks = TBLOCKS(stbuf.st_size); in passtape()
1630 seekdisk(blocks); in passtape()
1632 while (blocks-- > 0) in passtape()
1750 blkcnt_t blocks; in putfile() local
1997 blocks = TBLOCKS(stbuf.st_size); in putfile()
2088 K(blocks)); in putfile()
2091 " tape blocks\n"), blocks); in putfile()
2249 blocks = TBLOCKS(stbuf.st_size); in putfile()
[all …]
/titanic_41/usr/src/lib/libc/i386_hwcap1/gen/
H A Dmemset.s39 / For all basic blocks in this routine, maintain the following
87 shr $6, %ecx / number of 64 byte blocks to set
100 cmpl $262143, %ebx / blocks smaller than this allocate in the cache
113 dec %ecx / dec count of blocks
139 dec %ecx / dec count of blocks
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.h82 long blocks; /* fbas */ member
97 uint64_t blocks; /* fbas */ member
167 #define QBLOCKS(q) q->disk_hdr.h.blocks
191 #define INC_QBLOCKS(q, n) q->disk_hdr.h.blocks += n
192 #define DEC_QBLOCKS(q, n) q->disk_hdr.h.blocks -= n
205 #define SET_QBLOCKS(q, n) q->disk_hdr.h.blocks = n
H A Drdc_diskq.c518 header->h.blocks = 0; in rdc_init_diskq_header()
768 hc->blocks = h1.blocks; in rdc_resume_diskq()
992 if (nq->blocks <= RDC_LOW_QBLOCKS) { in rdc_qfill_shldwakeup()
1561 q->blocks += aio->len; in rdc_netqueue_insert()
1567 if (q->blocks > q->blocks_hwm) { in rdc_netqueue_insert()
1568 q->nitems_hwm = q->blocks; in rdc_netqueue_insert()
2112 h->disk_size, h->nitems, h->blocks); in rdc_diskq_unqueue()
2289 (q->blocks + q->nitems - q->net_qtail->orig_len))) { in rdc_trim_buf()
2291 buf->sb_len = (q->blocks + q->nitems - q->net_qtail->orig_len); in rdc_trim_buf()
2476 buf->sb_pos+buf->sb_len, buf->sb_user, tmpnq?tmpnq->blocks:-1, in rdc_read_diskq_buf()
[all …]
H A Drdc_clnt.c1094 q->blocks -= aio->len; in rdc_dump_alloc_bufs_cd()
1204 while ((q->blocks + q->inflbls) > urdc->maxqfbas || in _rdc_async_throttle()
1359 q->blocks += aio->len; in rdc_memq_enqueue()
1372 if (q->blocks != 0 || q->nitems != 0) { in rdc_memq_enqueue()
1376 (void *) q, q->blocks, q->nitems); in rdc_memq_enqueue()
1386 q->blocks += aio->len; in rdc_memq_enqueue()
1407 if (qblocks != q->blocks || nitems != q->nitems) { in rdc_memq_enqueue()
1411 NSC_SZFMT ")", (void *) q, q->blocks, qblocks, in rdc_memq_enqueue()
1423 if (q->blocks > q->blocks_hwm) { in rdc_memq_enqueue()
1424 q->blocks_hwm = q->blocks; in rdc_memq_enqueue()
[all …]
/titanic_41/usr/src/cmd/ipf/examples/
H A Dfirewall9 a) blocks all packets which might belong to an IP Spoofing attack;
10 b) blocks all packets with IP options;
11 c) blocks all packets which have a length which is too short for
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/
H A Ddockspace.c357 long blocks, nodes; in readspace() local
372 blocks = nodes = 0; in readspace()
378 (void) sscanf(line, "%s %ld %ld", path, &blocks, &nodes); in readspace()
400 fs_tab->bused += blocks; in readspace()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c391 char blocks[6], lsize[6], psize[6], dsize[6]; in dump_ddt_stat() local
402 zfs_nicenum(dds->dds_blocks, blocks, sizeof (blocks)); in dump_ddt_stat()
413 blocks, lsize, psize, dsize, in dump_ddt_stat()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dbios.c61 unsigned short blocks; in biosdisk() member
78 dap.blocks = nsec; in biosdisk()
88 if (err == 0 && dap.blocks != nsec) in biosdisk()
/titanic_41/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.h234 #define II_READ_END(ip, type, rc, blocks) argument
236 #define II_WRITE_END(ip, type, rc, blocks) argument
249 #define II_READ_END(ip, type, rc, blocks) \ argument
254 II_KS(ip, type)->nread += II_BLKSIZE * (blocks);\
266 #define II_WRITE_END(ip, type, rc, blocks) \ argument
271 II_KS(ip, type)->nwritten += II_BLKSIZE * (blocks);\
/titanic_41/usr/src/psm/stand/bootblks/ufs/common/
H A Dufs.fth48 : read-disk-blocks ( adr len dev-block# -- )
75 super-block /super-block super-block# read-disk-blocks
82 : blkstofrags ( #blocks -- #frags ) fragshift lshift ;
87 : read-fs-blocks ( adr len fs-blk# -- ) fsbtodb read-disk-blocks ;
121 read-fs-blocks
148 2dup bsize swap read-fs-blocks ( adr fs-blk# r: var )
219 bsize swap read-fs-blocks
245 read-fs-blocks ( )

12345