Searched refs:block (Results 1 - 25 of 212) sorted by relevance

123456789

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c38 * Each page is divided in blocks. There is at least one block in a page.
51 struct block { struct
55 struct block *next;
62 struct block block[1]; member in struct:page
68 #define HDR_BLOCK (sizeof (struct block) - sizeof (void *))
109 struct block *block; local
111 for (block = page->block; bloc
135 split(struct block *block, size_t size) argument
161 struct block *block; local
233 struct block *block; local
291 struct block *block; local
319 struct block *block; local
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dfreelist.c42 FreeListBlock *next; /* The next block in the list */
48 unsigned blocking_factor; /* The number of nodes per block */
51 FreeListBlock *block; /* The head of the list of free-list blocks */ member in struct:FreeList
57 static void _thread_FreeListBlock(FreeList *fl, FreeListBlock *block);
68 * to allocate per block.
86 * Enfore a minimum block size.
107 fl->block = NULL;
110 * Allocate the first block of memory.
112 fl->block = _new_FreeListBlock(fl);
113 if(!fl->block) {
138 FreeListBlock *block; local
200 FreeListBlock *block = next; local
239 FreeListBlock *block = _new_FreeListBlock(fl); local
337 FreeListBlock *block; /* The new block to be returned */ local
375 _thread_FreeListBlock(FreeList *fl, FreeListBlock *block) argument
[all...]
H A Dstringrp.c56 char *block; /* An array of characters to be shared between strings */ member in struct:StringSegment
57 int unused; /* The amount of unused space at the end of block[] */
65 int block_size; /* The dimension of each character array block */
138 if(node->block)
139 free(node->block);
140 node->block = NULL;
255 node->block = NULL;
260 node->block = (char *) malloc(sg->block_size);
261 if(!node->block)
272 copy = node->block
[all...]
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c45 * Each page is divided in blocks. There is at least one block in a page.
62 struct block { struct
66 struct block *next;
73 struct block block[1]; member in struct:page
79 #define HDR_BLOCK (sizeof (struct block) - sizeof (void *))
91 static void split(struct block *, size_t);
109 struct block *block; local
121 for (block
159 struct block *block; local
198 struct block *block; local
225 split(struct block *block, size_t size) argument
245 struct block *block; local
[all...]
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_buf.c68 * (Private) Allocate a new block. Return NULL on failure and mark
69 * tracing as broken. 'istag' is non-zero if the block is to be
76 tnf_block_header_t *block; local
91 * Check reserved area first for tag block allocations
99 * Search for a block, using hint as starting point.
102 bcount = fh->com.block_count; /* total block count */
105 bn = fh->next_alloc.block[gen & TNFW_B_ALLOC_LO];
110 * Calculate next (not this) block to look for.
120 * Try to reserve candidate block
123 block
231 tnf_block_header_t *block, *new_block; local
343 tnf_block_header_t *block; local
[all...]
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtnf_buf.c80 * for file header and block header are.
92 * (Private) Allocate a new block. Return NULL on failure. 'istag'
93 * is true if the block is to be non-reclaimable.
98 tnf_block_header_t *block; local
132 /* Get the block shift and generation shift values. */
149 * If we need a tag block, check the reserved tag block space
157 block = (tnf_block_header_t *) ((char *) fh + i);
158 if (!tnfw_b_get_lock(&block->A_lock) &&
159 block
343 tnf_block_header_t *block; local
443 tnf_block_header_t *block, *new_block; local
559 tnf_block_header_t *block; local
628 tnf_block_header_t *block, *next; local
[all...]
/illumos-gate/usr/src/cmd/ipf/examples/
H A DBASIC_2.FW17 block in log quick all with short
21 # By default, block and log everything. This maybe too much logging
24 block in log on ppp0 all head 100
25 block out log on ppp0 all head 150
26 block in log on ed0 from w.x.y.z/24 to any head 200
27 block out log on ed0 all head 250
34 block in log quick from 10.0.0.0/8 to any group 100
35 block in log quick from 192.168.0.0/16 to any group 100
36 block in log quick from 172.16.0.0/12 to any group 100
40 block i
[all...]
H A DBASIC_1.FW17 block in log quick all with short
21 # By default, block and log everything. This maybe too much logging
24 block in log on ppp0 all head 100
25 block in log proto tcp all flags S/SA head 101 group 100
26 block out log on ppp0 all head 150
27 block in log on ed0 from w.x.y.z/24 to any head 200
28 block in log proto tcp all flags S/SA head 201 group 200
29 block in log proto udp all head 202 group 200
30 block out log on ed0 all head 250
36 block i
[all...]
/illumos-gate/usr/src/lib/libc/
H A Dextract-copyright.pl34 my @block = ();;
41 @block = ();
60 push(@block, $_);
73 foreach $line (@block) {
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dstack.c58 stack->position.block = b;
92 stack->position.block = stack->blocks;
104 else return(stack->position.block->stack[stack->position.index]);
118 b = stack->position.block;
127 b->prev = stack->position.block;
130 stack->position.block = b;
133 stack->position.block->stack[stack->position.index] = value;
155 if (!stack->position.block->prev) return(0);
156 stack->position.block = stack->position.block
[all...]
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c165 static void dnet_dump_block(media_block_t *block);
181 media_block_t *block, uchar_t *vi);
1870 media_block_t *block = dnetp->selected_media_block; local
1881 fd = block->media_code == MEDIA_TP_FD ||
1882 block->media_code == MEDIA_SYM_SCR_FD;
1967 media_block_t *block = dnetp->selected_media_block; local
1979 * block has been selected.
1981 if (block->rstseqlen) {
1982 for (i = 0; i < block->rstseqlen; i++)
1983 write_gpr(dnetp, block
2014 media_block_t *block = dnetp->selected_media_block; local
2086 media_block_t *block = dnetp->selected_media_block; local
3151 media_block_t *block; local
3343 media_block_t *block = dnetp->selected_media_block; local
3763 media_block_t *block; local
4123 parse_media_block(struct dnetinstance *dnetp, media_block_t *block, uchar_t *vi) argument
4330 media_block_t *block; local
4521 dnet_dump_block(media_block_t *block) argument
[all...]
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes_crypt.c273 * The current block, divided into 2 halves.
285 * The payoff: encrypt a block.
289 des_encrypt_nolock(char *block, int edflag) argument
292 (void) _des_decrypt1(block, L, IP, &L[32],
295 (void) des_encrypt1(block, L, IP, &L[32],
300 des_encrypt(char *block, int edflag) argument
303 des_encrypt_nolock(block, edflag);
334 char block[66]; local
340 block[i] = 0;
343 block[
[all...]
H A Dllib-lcrypt43 void encrypt(char *block, int edflag);
64 void _des_encrypt(char *block, int edflag);
65 void des_encrypt(char *block, int edflag);
69 void _des_decrypt1(char *block, char *L, char *IP, char *R, char *preS,
74 void des_encrypt1(char *block, char *L, char *IP, char *R, char *preS,
77 void _des_encrypt1(char *block, char *L, char *IP, char *R, char *preS,
H A Ddes_decrypt.c36 _des_decrypt1(char *block, char *L, char *IP, char *R, char *preS, char *E, char KS[][48], char S[][64], char *f, char *tempL, char *P, char *FP) argument
46 L[j] = block[IP[j]-1];
115 block[j] = L[FP[j]-1];
H A Ddes_encrypt.c35 des_encrypt1(char *block, char *L, char *IP, char *R, char *preS, char *E, argument
46 L[j] = block[IP[j]-1];
114 block[j] = L[FP[j]-1];
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtftp.h42 uint16_t block; member in struct:tftp_t::__anon2149::__anon2150
46 uint16_t block; member in struct:tftp_t::__anon2149::__anon2151
67 uint16_t block; member in struct:tftpreq_t::__anon2154::__anon2155
H A Dfsys_tftp.c50 static unsigned short block, prevblock; variable
94 block = 0;
114 timeout = rfc2131_sleep_interval(block?TFTP_REXMT: TIMEOUT, retry);
120 if (!block && retry++ < MAX_TFTP_RETRIES)
128 if (block && ((retry += TFTP_REXMT) < TFTP_TIMEOUT))
194 block = tp.u.ack.block = 0; /* this ensures, that */
202 block = ntohs(tp.u.ack.block = tr->u.data.block); }
[all...]
/illumos-gate/usr/src/common/bzip2/
H A Dblocksort.c9 lossless, block-sorting data compression.
195 ((UChar*)eclass) [0 .. nblock-1] holds block
199 ((UChar*)eclass) [0 .. nblock-1] holds block
253 /*-- set sentinel bits for block-end detection --*/
316 Reconstruct the original block in
321 VPrintf0 ( " reconstructing block ...\n" );
349 UChar* block,
360 c1 = block[i1]; c2 = block[i2];
364 c1 = block[i
347 mainGtU( UInt32 i1, UInt32 i2, UChar* block, UInt16* quadrant, UInt32 nblock, Int32* budget ) argument
485 mainSimpleSort( UInt32* ptr, UChar* block, UInt16* quadrant, Int32 nblock, Int32 lo, Int32 hi, Int32 d, Int32* budget ) argument
621 mainQSort3( UInt32* ptr, UChar* block, UInt16* quadrant, Int32 nblock, Int32 loSt, Int32 hiSt, Int32 dSt, Int32* budget ) argument
751 mainSort( UInt32* ptr, UChar* block, UInt16* quadrant, UInt32* ftab, Int32 nblock, Int32 verb, Int32* budget ) argument
1034 UChar* block = s->block; local
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_init.h12 /* Returns the index of start or end of a specific block stage in ops array*/
13 #define BLOCK_OPS_IDX(block, stage, end) \
14 (2*(((block)*NUM_OF_INIT_PHASES) + (stage)) + (end))
61 #define BLOCK_PRTY_INFO(block, en_mask, m1, m1h, m2, m3) \
63 block##_REG_##block##_PRTY_MASK, \
64 block##_REG_##block##_PRTY_STS_CLR, \
65 en_mask, {m1, m1h, m2, m3}, #block \
68 #define BLOCK_PRTY_INFO_0(block, en_mas
[all...]
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dheap_kmem.c39 * not reentrant, and only block out software interrupts. They take
40 * too long to block any real devices. There is a routine
57 * list insertion time) and block sizes decrease with depth in the
58 * tree (thus minimizing search time for a block of a given size).
76 * To reduce storage consumption, a header block is associated with
78 * When a free block is allocated, its header block is put on
79 * a free header block list.
81 * This creates a header space and a free block space.
91 * Description of a header for a free block
97 Dblk block; /* Ptr to the data block */ member in struct:freehdr
[all...]
/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Ddes3.c62 des3_encrypt(void *cookie, uint8_t *block) argument
66 des(ksch->ksch_encrypt1, block);
67 des(ksch->ksch_decrypt2, block);
68 des(ksch->ksch_encrypt3, block);
72 des3_decrypt(void *cookie, uint8_t *block) argument
76 des(ksch->ksch_decrypt3, block);
77 des(ksch->ksch_encrypt2, block);
78 des(ksch->ksch_decrypt1, block);
H A Ddes.c207 /* Encrypt or decrypt a block of data in ECB mode */
209 des(void *cookie, uint8_t *block) argument
216 /* Read input block and place in left/right in big-endian order */
217 left = ((uint32_t)block[0] << 24) |
218 ((uint32_t)block[1] << 16) |
219 ((uint32_t)block[2] << 8) |
220 (uint32_t)block[3];
221 right = ((uint32_t)block[4] << 24) |
222 ((uint32_t)block[5] << 16) |
223 ((uint32_t)block[
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dslowsend.c54 extern char *block;
139 * Called from send() when it's OK to send the next block to the printer. head
149 if ( (count = write(ttyo, &block[head], num)) == -1 )
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioUnixfile_inline.h83 return (block);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_010_neg.ksh60 log_mustnot runat $TESTDIR/myfile.$$ mknod block b 888 888

Completed in 105 milliseconds

123456789