Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c62 struct block block[1]; argument
109 struct block *block; in defrag() local
111 for (block = page->block; block; block = block->next) { in defrag()
161 struct block *block; in malloc() local
170 for (block = page->block; block; block = block->next) { in malloc()
191 block = page->block; in malloc()
233 struct block *block; in realloc() local
250 block->next = block->next->next; in realloc()
291 struct block *block; in free() local
319 struct block *block; in addfree() local
[all …]
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c73 struct block block[1]; member
109 struct block *block; in malloc_unlocked() local
121 for (block = page->block; block; block = block->next) { in malloc_unlocked()
143 block = page->block; in malloc_unlocked()
159 struct block *block; in realloc() local
177 block->size += block->next->size + HDR_BLOCK; in realloc()
178 block->next = block->next->next; in realloc()
198 struct block *block; in free() local
225 split(struct block *block, size_t size) in split() argument
245 struct block *block; in defrag() local
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dfreelist.c107 fl->block = NULL; in _new_FreeList()
113 if(!fl->block) { in _new_FreeList()
142 for(block=fl->block; block; block=block->next) in _rst_FreeList()
148 for(block=fl->block; block; block=block->next) { in _rst_FreeList()
202 block = _del_FreeListBlock(block); in _del_FreeList()
240 if(!block) in _new_FreeListNode()
245 block->next = fl->block; in _new_FreeListNode()
246 fl->block = block; in _new_FreeListNode()
342 if(!block) in _new_FreeListBlock()
355 if(!block->nodes) in _new_FreeListBlock()
[all …]
H A Dstringrp.c56 char *block; /* An array of characters to be shared between strings */ member
138 if(node->block) in _del_StringGroup()
139 free(node->block); in _del_StringGroup()
140 node->block = NULL; in _del_StringGroup()
255 node->block = NULL; in _sg_alloc_string()
260 node->block = (char *) malloc(sg->block_size); in _sg_alloc_string()
261 if(!node->block) in _sg_alloc_string()
272 copy = node->block + sg->block_size - node->unused; in _sg_alloc_string()
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtnf_buf.c177 return (block); in tnfw_b_alloc_block()
307 return (block); in tnfw_b_alloc_block()
420 block->tag = 0; in tnfw_b_init_buffer()
574 while (block && (block != pos->tnfw_w_block)) { in tnfw_b_xcommit()
577 block->generation, block, pos->tnfw_w_block); in tnfw_b_xcommit()
587 block->generation, block, pos->tnfw_w_write_off); in tnfw_b_xcommit()
606 while (block && (block != pos->tnfw_w_block)) { in tnfw_b_xcommit()
615 if (block != NULL) in tnfw_b_xcommit()
643 block = block->next_block; in tnfw_b_xabort()
648 block = next; in tnfw_b_xabort()
[all …]
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_buf.c76 tnf_block_header_t *block; in tnfw_b_alloc_block() local
126 if (lock_try(&block->A_lock)) in tnfw_b_alloc_block()
131 lock_clear(&block->A_lock); in tnfw_b_alloc_block()
171 block->next_block = NULL; in tnfw_b_alloc_block()
175 lock_clear(&block->B_lock); in tnfw_b_alloc_block()
176 return (block); in tnfw_b_alloc_block()
236 block = pos->tnfw_w_block; in tnfw_b_alloc()
257 if (block != NULL) { in tnfw_b_alloc()
343 tnf_block_header_t *block; in tnfw_b_init_buffer() local
389 fh->next_alloc.block[0] = 0; in tnfw_b_init_buffer()
[all …]
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c3199 block >= leaf->block; block--) { in find_active_media()
3778 block >= leaf->block; block --) { in do_phy()
3779 if (block->type == 3 || block->type == 1) { in do_phy()
4339 block = leaf->block; in setup_legacy_blocks()
4361 block = leaf->block; /* BNC */ in setup_legacy_blocks()
4412 block = leaf->block; in setup_legacy_blocks()
4424 block = leaf->block; in setup_legacy_blocks()
4440 block = leaf->block; in setup_legacy_blocks()
4472 block = leaf->block; in setup_legacy_blocks()
4527 block->type, media_str[block->media_code], block->command); in dnet_dump_block()
[all …]
/illumos-gate/usr/src/cmd/ipf/examples/
H A DBASIC_2.FW17 block in log quick all with short
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
40 block in log quick from a.b.c.d/24 to any group 100
47 block in log quick from 127.0.0.0/8 to any group 100
48 block in log quick from any to 127.0.0.0/8 group 100
49 block in log quick from 127.0.0.0/8 to any group 200
[all …]
H A DBASIC_1.FW17 block in log quick all with short
24 block in log on ppp0 all head 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
29 block in log proto udp all head 202 group 200
30 block out log on ed0 all head 250
36 block in log quick from 127.0.0.0/8 to any group 100
37 block in log quick from any to 127.0.0.0/8 group 100
38 block in log quick from 127.0.0.0/8 to any group 200
49 block in log quick from 10.0.0.0/8 to any group 100
[all …]
H A Dexample.sr11 block in log quick on le0 from any to any with short frag
20 # block and log any inbound ICMP unreachables
27 block in log on le0 proto udp from any to any port = 2049
38 block in quick on le0 from any to any with ipopts
44 # block any inbound UDP packets destined for these subnets.
46 block in on le0 proto udp from any to 10.1.3.0/24
47 block in on le0 proto udp from any to 10.1.1.0/24
48 block in on le0 proto udp from any to 10.1.2.0/24
59 block in on le0 proto icmp from any to 10.1.3.0/24
60 block in on le0 proto icmp from any to 10.1.1.0/24
[all …]
H A Dexample.82 # block all incoming TCP connections but send back a TCP-RST for ones to
5 block in proto tcp from any to any flags S/SA
6 block return-rst in quick proto tcp from any to any port = 113 flags S/SA
8 # block all inbound UDP packets and send back an ICMP error.
10 block return-icmp in proto udp from any to any
/illumos-gate/usr/src/common/bzip2/
H A Dblocksort.c360 c1 = block[i1]; c2 = block[i2]; in mainGtU()
364 c1 = block[i1]; c2 = block[i2]; in mainGtU()
368 c1 = block[i1]; c2 = block[i2]; in mainGtU()
372 c1 = block[i1]; c2 = block[i2]; in mainGtU()
376 c1 = block[i1]; c2 = block[i2]; in mainGtU()
380 c1 = block[i1]; c2 = block[i2]; in mainGtU()
384 c1 = block[i1]; c2 = block[i2]; in mainGtU()
388 c1 = block[i1]; c2 = block[i2]; in mainGtU()
392 c1 = block[i1]; c2 = block[i2]; in mainGtU()
396 c1 = block[i1]; c2 = block[i2]; in mainGtU()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_init.h13 #define BLOCK_OPS_IDX(block, stage, end) \ argument
14 (2*(((block)*NUM_OF_INIT_PHASES) + (stage)) + (end))
63 block##_REG_##block##_PRTY_MASK, \
64 block##_REG_##block##_PRTY_STS_CLR, \
65 en_mask, {m1, m1h, m2, m3}, #block \
70 block##_REG_##block##_PRTY_MASK_0, \
71 block##_REG_##block##_PRTY_STS_CLR_0, \
72 en_mask, {m1, m1h, m2, m3}, #block"_0" \
77 block##_REG_##block##_PRTY_MASK_1, \
78 block##_REG_##block##_PRTY_STS_CLR_1, \
[all …]
/illumos-gate/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c387 b32 = (uint32_t *)block; in blowfish_encrypt_block()
401 | ((uint32_t)block[1] << 16) in blowfish_encrypt_block()
402 | ((uint32_t)block[2] << 8) in blowfish_encrypt_block()
403 | (uint32_t)block[3]; in blowfish_encrypt_block()
406 | ((uint32_t)block[6] << 8) in blowfish_encrypt_block()
407 | (uint32_t)block[7]; in blowfish_encrypt_block()
482 b32 = (uint32_t *)block; in blowfish_decrypt_block()
497 | ((uint32_t)block[2] << 8) in blowfish_decrypt_block()
498 | (uint32_t)block[3]; in blowfish_decrypt_block()
501 | ((uint32_t)block[6] << 8) in blowfish_decrypt_block()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dfsys_tftp.c94 block = 0; in tftp_file_read()
194 block = tp.u.ack.block = 0; /* this ensures, that */ in tftp_file_read()
202 block = ntohs(tp.u.ack.block = tr->u.data.block); } in tftp_file_read()
207 if ((block || bcounter) && (block != (unsigned short)(prevblock+1))) { in tftp_file_read()
209 tp.u.ack.block = htons(block = prevblock); in tftp_file_read()
220 prevblock = block; in tftp_file_read()
374 block = tp.u.ack.block = 0; in buf_fill()
392 block = ntohs (tp.u.ack.block = tr->u.data.block); in buf_fill()
398 if ((block || bcounter) && (block != (unsigned short) (prevblock + 1))) in buf_fill()
400 tp.u.ack.block = htons (block = prevblock); in buf_fill()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dstack.c58 stack->position.block = b; in stackalloc()
92 stack->position.block = stack->blocks; in stackclear()
104 else return(stack->position.block->stack[stack->position.index]); in stackget()
118 b = stack->position.block; in stackpush()
127 b->prev = stack->position.block; in stackpush()
130 stack->position.block = b; in stackpush()
133 stack->position.block->stack[stack->position.index] = value; in stackpush()
155 if (!stack->position.block->prev) return(0); in stackpop()
156 stack->position.block = stack->position.block->prev; in stackpop()
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes_crypt.c289 des_encrypt_nolock(char *block, int edflag) in des_encrypt_nolock() argument
295 (void) des_encrypt1(block, L, IP, &L[32], in des_encrypt_nolock()
300 des_encrypt(char *block, int edflag) in des_encrypt() argument
303 des_encrypt_nolock(block, edflag); in des_encrypt()
334 char block[66]; in des_crypt() local
340 block[i] = 0; in des_crypt()
343 block[i] = (c>>(6-j)) & 01; in des_crypt()
347 des_setkey_nolock(block); in des_crypt()
350 block[i] = 0; in des_crypt()
370 (void) des_encrypt_nolock(block, 0); in des_crypt()
[all …]
/illumos-gate/usr/src/common/crypto/md5/
H A Dmd5.c511 x_15 = LOAD_LITTLE_32_f(block); in MD5Transform()
513 x_14 = LOAD_LITTLE_32_e(block); in MD5Transform()
515 x_13 = LOAD_LITTLE_32_d(block); in MD5Transform()
517 x_12 = LOAD_LITTLE_32_c(block); in MD5Transform()
519 x_11 = LOAD_LITTLE_32_b(block); in MD5Transform()
521 x_10 = LOAD_LITTLE_32_a(block); in MD5Transform()
523 x_9 = LOAD_LITTLE_32_9(block); in MD5Transform()
525 x_8 = LOAD_LITTLE_32_8(block); in MD5Transform()
527 x_7 = LOAD_LITTLE_32_7(block); in MD5Transform()
529 x_6 = LOAD_LITTLE_32_6(block); in MD5Transform()
[all …]
/illumos-gate/usr/src/common/crypto/des/
H A Ddes_impl.c478 des_ip(&l, &r, block); in des_crypt_impl()
523 *(uint64_t *)block, 3); in des3_crunch_block()
528 *(uint64_t *)block, 3); in des3_crunch_block()
537 tmp = (((uint64_t)block[0] << 56) | ((uint64_t)block[1] << 48) | in des3_crunch_block()
538 ((uint64_t)block[2] << 40) | ((uint64_t)block[3] << 32) | in des3_crunch_block()
539 ((uint64_t)block[4] << 24) | ((uint64_t)block[5] << 16) | in des3_crunch_block()
540 ((uint64_t)block[6] << 8) | (uint64_t)block[7]); in des3_crunch_block()
600 tmp = (((uint64_t)block[0] << 56) | ((uint64_t)block[1] << 48) | in des_crunch_block()
601 ((uint64_t)block[2] << 40) | ((uint64_t)block[3] << 32) | in des_crunch_block()
602 ((uint64_t)block[4] << 24) | ((uint64_t)block[5] << 16) | in des_crunch_block()
[all …]
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dheap_kmem.c225 if (p < x->block) in insert()
247 newhdr->block = p; in insert()
261 if (x->block < p) { in insert()
435 (x)->size - ALIGNMORE((x)->block))))
525 retblock = a->block->data; in kmem_alloc()
541 x->block = a->block; in kmem_alloc()
542 x->size = ALIGNMORE(a->block->data); in kmem_alloc()
552 retblock = a->block->data + ALIGNMORE(a->block->data); in kmem_alloc()
559 x->block = nextblk(a->block, nbytes); in kmem_alloc()
570 retblock = a->block->data; in kmem_alloc()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlmem.c46 void *luaM_growaux_ (lua_State *L, void *block, int *size, size_t size_elems, in luaM_growaux_() argument
60 newblock = luaM_reallocv(L, block, *size, newsize, size_elems); in luaM_growaux_()
75 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() argument
78 size_t realosize = (block) ? osize : 0; in luaM_realloc_()
79 lua_assert((realosize == 0) == (block == NULL)); in luaM_realloc_()
84 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_()
90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_()
/illumos-gate/usr/src/psm/stand/bootblks/ufs/common/
H A Dufs.fth46 : blk>byte ( block# -- byte# ) /disk-block * ;
74 : get-super-block ( -- )
75 super-block /super-block super-block# read-disk-blocks
100 : itod ( i# -- block# )
140 \ indirect block cache
167 \ an indirect block
217 : read-one-block ( adr block# -- )
225 : read-partial-block ( adr len off block# -- )
352 /super-block +
365 dup to super-block /super-block + ( adr )
[all …]
/illumos-gate/usr/src/psm/stand/bootblks/cpio/common/
H A Dcpio.fth43 d# 512 constant /disk-block
57 0 instance value /temp-block
58 0 instance value temp-block
133 dup /temp-block swap - to /temp-block
134 + to temp-block
143 temp-block /temp-block exit
147 temp-block c@ ascii . = temp-block 1+ c@ ascii / = and if
148 temp-block 2 cut-head
162 temp-block 3 cut-head
169 temp-block /temp-block fpath-buf$ $append
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAESCrypt.c445 char block[AES_BLOCK_LEN]; in soft_aes_encrypt() local
450 (void) memset(block, amt & 0xff, sizeof (block)); in soft_aes_encrypt()
453 explicit_bzero(block, sizeof (block)); in soft_aes_encrypt()
1224 (void) memset(block, padlen & 0xff, sizeof (block)); in soft_aes_encrypt_final()
1227 explicit_bzero(block, sizeof (block)); in soft_aes_encrypt_final()
1315 .cd_length = sizeof (block), in soft_aes_decrypt_final()
1329 explicit_bzero(block, sizeof (block)); in soft_aes_decrypt_final()
1343 explicit_bzero(block, sizeof (block)); in soft_aes_decrypt_final()
1353 if (block[i] != pad_len) { in soft_aes_decrypt_final()
1358 explicit_bzero(block, sizeof (block)); in soft_aes_decrypt_final()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dafsstring2key.c374 char block[66]; in afs_crypt() local
383 block[i] = 0; in afs_crypt()
387 block[i] = (c>>(6-j)) & 01; in afs_crypt()
391 krb5_afs_crypt_setkey(block, E, KS); in afs_crypt()
394 block[i] = 0; in afs_crypt()
412 krb5_afs_encrypt(block,E,KS); in afs_crypt()
418 c |= block[6*i+j]; in afs_crypt()
495 static void krb5_afs_encrypt(char *block, char *E, char (*KS)[48]) in krb5_afs_encrypt() argument
516 L[j] = block[IP[j]-1]; in krb5_afs_encrypt()
599 block[j] = L[FP[j]-1]; in krb5_afs_encrypt()

12345678910>>...14