/illumos-gate/usr/src/common/crypto/des/ |
H A D | des_impl.c | 473 des_crypt_impl(uint64_t *ks, uint64_t block, int one_or_three) argument 478 des_ip(&l, &r, block); 503 des3_crunch_block(const void *cookie, const uint8_t block[DES_BLOCK_LEN], argument 510 * reverses bytes in the block. On BIG_ENDIAN, the same code 511 * copies the block without reversing bytes. 514 if (IS_P2ALIGNED(block, sizeof (uint64_t)) && 520 *(uint64_t *)block, 3); 525 *(uint64_t *)block, 3); 532 tmp = htonll(*(uint64_t *)(void *)&block[0]); 534 tmp = (((uint64_t)block[ 562 des_crunch_block(const void *cookie, const uint8_t block[DES_BLOCK_LEN], uint8_t out_block[DES_BLOCK_LEN], boolean_t decrypt) argument [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | undi.c | 56 /* Checksum a block. 59 uint8_t checksum ( void *block, size_t size ) { argument 63 sum += ( ( uint8_t * ) block )[i];
|
H A D | nic.c | 1031 int decode_rfc1533(unsigned char *p, unsigned int block, unsigned int len, int eof) argument 1037 if (block == 0) { 1044 if (block == 1) { 1113 if (block <= 0 && extpath != NULL) { 1125 return 1; /* proceed with next block */
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpmain.c | 58 int32_t tp_bsize = TP_BSIZE_MIN; /* tape block record size (frag size) */ 609 * NB: we attempt to avoid dumping the block device 711 "Warning - super-block on device `%s' is corrupt - run fsck\n"), 736 * Try to set up for using mmap(2). It only works on the block 746 char *block = unrawname(disk); local 748 if (block != NULL) { 749 mapfd = open(block, O_RDONLY, 0); 750 free(block); 758 msg(gettext("bad super-block magic number, run fsck\n")); 784 /* XXX should sanity-check the super block befor [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | kcmd.c | 466 int amclient, krb5_encrypt_block *block) 486 skey = block->key; 464 init_encrypt(int enc, krb5_context ctxt, enum kcmd_proto protonum, krb5_data *inbuf, krb5_data *outbuf, int amclient, krb5_encrypt_block *block) argument
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_alloc.c | 105 * If the requested block exists in the buffer cache 109 * block that is requested is not the first block 121 * near "proximity" block in partion defined by prn. 123 * return the starting block no and count 341 * implement a allocated block skip 401 * start is the block from the begining 420 * Read just on block worth of bitmap 552 * requirement. Change the start block 626 * requirement. Change the start block 741 uint32_t block, begin, end, blkno, count, map_end_blk, dummy; local 841 uint32_t block, dummy, sz; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | swrand.c | 62 #define MEMBLOCKSIZE 4096 /* Size of memory block to read */ 76 caddr_t pmbuf; /* buffer for memory block */ 78 int entperblock; /* entropy bits per block read */ 79 hrtime_t last_diff; /* previous time to process a block */ 314 * Will block if not enough entropy was available and the call is blocking. 395 * of an n-bit block shall be compared with the previously 396 * generated block. Test shall fail if any two compared 405 cmn_err(CE_WARN, "swrand: The value of 160-bit block " 505 /* Hash a buffer centered on a block in the pool */ 516 /* XOR the hash result back into the block */ 662 uint32_t block, oblock; local 818 physmem_parity_update(uint8_t *parity_vec, uint32_t block, int parity) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_dmae.c | 301 * DMAE block data structure. 306 * @param block the DMAE block according to which the command 319 IN lm_dmae_block_t* block, 322 command->opcode = lm_dmae_opcode(pdev, block->source, block->dest, TRUE, FALSE, context->change_endianity); 324 lm_dmae_command_set_block(pdev, command, block->source, block->dest, block->length); 972 * Execute a single-block operatio 316 lm_dmae_initialize_command_by_block(struct _lm_device_t* pdev, lm_dmae_context_t* context, struct dmae_cmd* command, IN lm_dmae_block_t* block, IN const u32_t completion_value) argument [all...] |
/illumos-gate/usr/src/uts/common/tnf/ |
H A D | tnf_res.c | 182 tnf_block_header_t *block; local 200 block = ops->wcb.tnfw_w_pos.tnfw_w_block; 202 if (block != NULL) 203 lock_clear(&block->A_lock); 204 block = ops->wcb.tnfw_w_tag_pos.tnfw_w_block; 206 if (block != NULL) 207 lock_clear(&block->A_lock);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cryptmod.h | 179 char *block; member in struct:cipher_data_t
|
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | crypt.c | 130 * Cipher-block representation (Bob Baldwin): 140 * converted to LSB format, and the output 64-bit block is converted back into 204 * a 64-bit block (the bit numbering is given in the "CIFP" table) 206 * be possible to group the bits in the 64-bit block so that 2 815 extern int encrypt(register char *block, int flag) { argument 823 k |= (unsigned char)*block++; 832 *--block = k&01;
|
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_err.h | 152 block : 4; member in struct:root_complex::__anon10298 154 uint32_t block : 4, 184 uint32_t block : 4, member in struct:pec_block_err::__anon10299
|
/illumos-gate/usr/src/uts/sun4u/opl/sys/ |
H A D | fiomp.h | 62 int block; /* able to block physical device */ member in struct:fiompdev 76 int block; /* able to block physical device */ member in struct:fiomp_devinfo 114 char **iomp_path_block; /* access block */ 135 int block_status; /* access block status */ 148 /* access block status */ 164 /* block, unblock */ 233 #define FIOMP_PROP_BLOCK_N "iomp-path-block-" 234 #define FIOMP_PROP_BLOCK_DEFAULT "iomp-path-block [all...] |
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | postio.c | 176 char *block = NULL; /* input file buffer */ variable 178 int head = 0; /* block[head] is the next character */ 179 int tail = 0; /* one past the last byte in block[] */ 471 if ((block = malloc(blocksize)) == NULL) 484 if ((block = malloc(blocksize)) == NULL) 868 * Fills the input buffer with the next block, provided we're all done with the 869 * last one. Blocks from fd_in are stored in array block[]. head is the index 870 * of the next byte in block[] that's supposed to go to the printer. tail points 871 * one past the last byte in the current block. head is adjusted in writeblock() 873 * a new block i [all...] |
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | ld_pd_map.c | 187 * This routine calculates the arm, span and block for 199 * block - Absolute Block number in the physical disk 501 megasas_get_best_arm(PLD_LOAD_BALANCE_INFO lbInfo, U8 arm, U64 block, argument 512 /* Determine the disk whose head is nearer to the req. block */ 513 diff0 = ABS_DIFF(block, lbInfo->last_accessed_block[0]); 514 diff1 = ABS_DIFF(block, lbInfo->last_accessed_block[1]); 522 /* Update the last accessed block on the correct pd */ 523 lbInfo->last_accessed_block[bestArm] = block + count - 1;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSUNP.c | 75 int bits_in_block=16; /* Bits per IPv6 block */ 77 int block, ones=0xffff, ones_in_block; local 80 block = ones & (ones << (bits_in_block-ones_in_block)); 81 i==0 ? sprintf(addr, "%x", block) : sprintf(addr, "%s:%x", addr, block);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | signalfd.c | 377 * The block parameter is used to control whether we wait for a signal or 384 consume_signal(k_sigset_t set, uio_t *uio, boolean_t block) argument 397 if (block == B_FALSE) { 498 boolean_t block = B_TRUE; local 510 block = B_FALSE; 520 res = consume_signal(set, uio, block); 524 * After consuming one signal, do not block while 528 block = B_FALSE;
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | cd9660.c | 102 daddr_t f_bno; /* Starting block number */ 104 daddr_t f_buf_blkno; /* block number of data block */ 105 char *f_buf; /* buffer for data block */ 112 char block [ISODCL( 3, 6)]; /* 732 */ member in struct:ptable_ent 338 /* skip to next block, if any */ 356 /* If the new block has zero length, it is padding. */ 358 /* Skip to next block, if any. */ 515 /* skip to next block, if any */
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | nvdisc.c | 178 #define block(bp,type) ((bp)->flags |= (1<<(type))) macro 243 struct blocked block, *bp = block_info(np, &block); local 284 block(bp,type); 286 block(bp,LOOKUPS); 327 block(bp,type); 347 if(bp== &block) 358 struct blocked block, *bp = block_info(np, &block); local 376 block(b [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | crypt.c | 1021 unlocked_encrypt(char *block, int fake) argument 1028 L[j] = block[IP[j]-1]; 1061 block[j] = L[FP[j]-1]; 1069 char *block; local 1071 block = iobuf + 16; 1081 block[i] = 0; 1084 block[i] = (c>>(6-j)) & 01; 1088 unlocked_setkey(block); 1091 block[i] = 0; 1111 unlocked_encrypt(block, 1136 encrypt(char *block, int fake) argument [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | os-ip.c | 257 int block = 0; local 328 /* if timeval structure == NULL, select will block indefinitely */ 330 /* not block */ 428 ioctlsocket(sockfd, FIONBIO, &block); 698 LDAPDebug( LDAP_DEBUG_TRACE, "connect would block...\n",
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 1014 volatile ushort_t block = 1; local 1075 "received ACK for block %d\n", 1098 dp->th_block = htons((ushort_t)block); 1102 (void) fprintf(stderr, "Sending DATA block %d\n", 1103 block); 1153 "received ACK for block %d\n", 1155 if (ackbuf.tb_hdr.th_block == block) { 1166 block++; 1189 ushort_t block = 0; local 1199 ap->th_block = htons((ushort_t)block); [all...] |
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb.c | 272 u_offset_t off, block; local 276 block = address >> l2b; 278 if (bp->valid && bp->blkno == block) { 283 bp->blkno = block; 368 * Read the block at addr 375 gettext("Could not read block %x\n"), 419 uint32_t i, end, block; local 433 if ((block = ud_xlate_to_daddr( 441 print_desc(block << l2b, 0); 516 uint32_t i32, block, ea_le local [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf_y.y | 299 action: block 310 block: blocked label 1562 { "block", IPFY_BLOCK }, 1615 { "or-block", IPFY_ORBLOCK },
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | invlib.c | 47 #define BLOCKSIZE 2 * BUFSIZ /* logical block size */ 166 * set up as though a block had come and gone, i.e., set up for 167 * new block 249 /* now clean up final block */ 258 /* write out block to save space. what in it doesn't matter */ 279 * make sure the file ends at a logical block boundary. This is 307 /* make first block loop backwards to last block */ 312 /* get to second word first block */ 373 /* new block i 556 read_logblock(INVCONTROL *invcntl, int block) argument [all...] |