Home
last modified time | relevance | path

Searched refs:lastp (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/common/crypto/modes/
H A Dcbc.c59 uint8_t *lastp; in cbc_encrypt_contiguous_blocks() local
76 lastp = (uint8_t *)ctx->cbc_iv; in cbc_encrypt_contiguous_blocks()
101 xor_block(lastp, blockp); in cbc_encrypt_contiguous_blocks()
105 lastp = blockp; in cbc_encrypt_contiguous_blocks()
119 xor_block(blockp, lastp); in cbc_encrypt_contiguous_blocks()
120 encrypt(ctx->cbc_keysched, lastp, lastp); in cbc_encrypt_contiguous_blocks()
132 copy_block(lastp, out_data_1); in cbc_encrypt_contiguous_blocks()
134 bcopy(lastp, out_data_1, in cbc_encrypt_contiguous_blocks()
137 bcopy(lastp + out_data_1_len, in cbc_encrypt_contiguous_blocks()
196 uint8_t *lastp; in cbc_decrypt_contiguous_blocks() local
[all …]
H A Decb.c50 uint8_t *lastp; in ecb_cipher_contiguous_blocks() local
67 lastp = (uint8_t *)ctx->ecb_iv; in ecb_cipher_contiguous_blocks()
91 lastp = blockp; in ecb_cipher_contiguous_blocks()
100 cipher(ctx->ecb_keysched, blockp, lastp); in ecb_cipher_contiguous_blocks()
105 bcopy(lastp, out_data_1, out_data_1_len); in ecb_cipher_contiguous_blocks()
107 bcopy(lastp + out_data_1_len, out_data_2, in ecb_cipher_contiguous_blocks()
H A Dccm.c58 uint8_t *lastp; in ccm_mode_encrypt_contiguous_blocks() local
77 lastp = (uint8_t *)ctx->ccm_cb; in ccm_mode_encrypt_contiguous_blocks()
112 lastp = (uint8_t *)ctx->ccm_tmp; in ccm_mode_encrypt_contiguous_blocks()
127 xor_block(blockp, lastp); in ccm_mode_encrypt_contiguous_blocks()
144 copy_block(lastp, out_data_1); in ccm_mode_encrypt_contiguous_blocks()
146 bcopy(lastp, out_data_1, out_data_1_len); in ccm_mode_encrypt_contiguous_blocks()
148 bcopy(lastp + out_data_1_len, in ccm_mode_encrypt_contiguous_blocks()
211 uint8_t *lastp, *mac_buf, *ccm_mac_p, *macp; in ccm_encrypt_final() local
250 lastp = (uint8_t *)ctx->ccm_tmp; in ccm_encrypt_final()
251 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, lastp); in ccm_encrypt_final()
[all …]
H A Dgcm.c141 uint8_t *lastp; in gcm_mode_encrypt_contiguous_blocks() local
160 lastp = (uint8_t *)ctx->gcm_cb; in gcm_mode_encrypt_contiguous_blocks()
193 lastp = (uint8_t *)ctx->gcm_tmp; in gcm_mode_encrypt_contiguous_blocks()
210 copy_block(lastp, out_data_1); in gcm_mode_encrypt_contiguous_blocks()
212 bcopy(lastp, out_data_1, out_data_1_len); in gcm_mode_encrypt_contiguous_blocks()
214 bcopy(lastp + out_data_1_len, in gcm_mode_encrypt_contiguous_blocks()
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_salloc.c155 struct __data *elp, *lastp, *newp; local
186 for (elp = SH_LIST_FIRST(hp, __data), lastp = NULL;
188 lastp = elp, elp = SH_LIST_NEXT(elp, links, __data))
203 if (lastp != NULL)
204 SH_LIST_INSERT_AFTER(lastp, newp, links, __data);
211 if (lastp != NULL && (u_int8_t *)lastp +
212 lastp->len + sizeof(size_t) == (u_int8_t *)newp) {
213 lastp->len += newp->len + sizeof(size_t);
226 if (lastp == NULL)
229 SH_LIST_INSERT_AFTER(lastp, newp, links, __data);
H A Ddb_overflow.c174 PAGE *pagep, *lastp; local
190 lastp = NULL;
213 PGNO(pagep), lastp ? PGNO(lastp) : PGNO_INVALID,
215 lastp == NULL ? &null_lsn : &LSN(lastp),
220 if (lastp)
221 LSN(lastp) = new_lsn;
236 if (lastp == NULL)
239 lastp->next_pgno = PGNO(pagep);
240 pagep->prev_pgno = PGNO(lastp);
241 (void)memp_fput(dbp->mpf, lastp, DB_MPOOL_DIRTY);
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Drune.c55 void *lastp; in _Read_RuneMagi() local
95 lastp = fdata + sb.st_size; in _Read_RuneMagi()
105 if (variable > lastp) { in _Read_RuneMagi()
111 if (variable > lastp) { in _Read_RuneMagi()
117 if (variable > lastp) { in _Read_RuneMagi()
130 if (variable > lastp) { in _Read_RuneMagi()
136 if ((char *)variable + frl->variable_len > (char *)lastp) { in _Read_RuneMagi()
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c585 char *cp, *nextp, *lastp; local
605 lastp = buf + n; /* Lastp points to the first junk byte. */
606 while (nextp < lastp) {
607 if ((n = (lastp - nextp)) > (unsigned int)MB_CUR_MAX)
610 if ((lastp - nextp) < (unsigned int)MB_CUR_MAX)
617 delta_size = lastp - nextp;
623 nextp = lastp;
/illumos-gate/usr/src/lib/libdladm/common/
H A Dpropfuncs.c122 prop_db_info_t *lastp = NULL, *lip = listp, *nlip = NULL; in process_prop_set() local
138 lastp = lip; in process_prop_set()
153 if (lastp != NULL) in process_prop_set()
154 lastp->li_nextprop = nlip; in process_prop_set()
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y1303 type_t *lastp = dp; in type_AddTail() local
1306 while (p = lastp->t_next) in type_AddTail()
1307 lastp = p; in type_AddTail()
1309 lastp->t_next = tp; in type_AddTail()
1614 decl_t *lastp = dp; in decl_AddArg() local
1617 while (p = lastp->d_next) in decl_AddArg()
1618 lastp = p; in decl_AddArg()
1620 lastp->d_next = tp; in decl_AddArg()
/illumos-gate/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c246 char *lastp; in have_valid_ku() local
285 while ((p = strtok_r(pstr, " ", &lastp)) != NULL) { in have_valid_ku()
/illumos-gate/usr/src/cmd/more/
H A Dmore.c953 static int lastcmd, lastp; variable
987 lastp = colonch = 0; in command()
989 lastp++; in command()
1130 lastp++; in command()
1138 if (lastp) { in command()
1295 if (lastp) in do_shell()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c718 struct page *pp, *searchp, *lastp; in hsfs_getpage_ra() local
835 lastp = NULL; in hsfs_getpage_ra()
869 if (lastp != searchp) { in hsfs_getpage_ra()
944 lastp = searchp; in hsfs_getpage_ra()
1001 struct page *pp, *searchp, *lastp; in hsfs_getapage() local
1200 lastp = NULL; in hsfs_getapage()
1225 if (lastp != searchp) { in hsfs_getapage()
1325 lastp = searchp; in hsfs_getapage()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslog_config.c706 nfsl_config_t *lastp = NULL; in getlastconfig() local
709 lastp = listp; in getlastconfig()
711 return (lastp); in getlastconfig()
/illumos-gate/usr/src/cmd/man/
H A Dman.c463 struct man_node *lastp = NULL; in build_manpath() local
499 lastp = manpage = currp; in build_manpath()
514 lastp->next = currp; in build_manpath()
515 lastp = currp; in build_manpath()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_stream.c1100 mblk_t *lastp = NULL; in rmvb() local
1105 if (lastp) in rmvb()
1106 lastp->b_cont = tmp->b_cont; in rmvb()
1112 lastp = tmp; in rmvb()
/illumos-gate/usr/src/cmd/lockstat/
H A Dlockstat.c1025 char *addrp, *offp, *sizep, *evp, *lastp, *p; in main() local
1150 evp = strtok_r(optarg, ",", &lastp); in main()
1164 evp = strtok_r(NULL, ",", &lastp); in main()
/illumos-gate/usr/src/lib/hbaapi/common/
H A DHBAAPILIB.c385 HBA_ADAPTERCALLBACK_ELEM **lastp; in local_remove_callback() local
404 lastp = *listp; in local_remove_callback()
407 lastp = &(cbp->next); in local_remove_callback()
416 *lastp = cbp->next; in local_remove_callback()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dinit.c935 register char *lastp, *oldp=str, *newp=strchr(oldp,':'); in vpath_set() local
941 if(lastp=strchr(newp,':')) in vpath_set()
942 *lastp = 0; in vpath_set()
946 newp=lastp; in vpath_set()
/illumos-gate/usr/src/lib/smhba/common/
H A DSMHBAAPILIB.c498 HBA_ADAPTERCALLBACK_ELEM **lastp; in local_remove_callback() local
523 lastp = *listp; in local_remove_callback()
526 lastp = &(cbp->next); in local_remove_callback()
536 *lastp = cbp->next; in local_remove_callback()
/illumos-gate/usr/src/uts/common/io/
H A Dstream.c1556 mblk_t *lastp = NULL; in rmvb() local
1561 if (lastp) in rmvb()
1562 lastp->b_cont = tmp->b_cont; in rmvb()
1568 lastp = tmp; in rmvb()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c3186 char *lastp; in opt_match() local
3188 if ((p = strtok_r(options, ",", &lastp)) != NULL) { in opt_match()
3191 while ((p = strtok_r(NULL, ",", &lastp)) != NULL) { in opt_match()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c5366 char *lastp; in missdir() local
5371 lastp = c_p + strlen(nam_p) - 1; in missdir()
5372 if (*lastp == '/') in missdir()
5373 *lastp = '\0'; in missdir()
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.no_structs433 …>q_qbytes, (struct msg_queue)->q_lspid, (struct msg_queue)->q_lrpid, (struct wake_q_head)->lastp, ]
434 SYSC_msgsnd write_list: [(struct wake_q_head)->lastp, (struct atomic_t)->counter, (struct ipc_names…
435 SYSC_msgrcv write_list: [(struct wake_q_head)->lastp, (struct atomic_t)->counter, (struct ipc_names…
438 …ruct timespec)->tv_sec, (struct timespec)->tv_nsec, (struct wake_q_head)->lastp, (struct fd)->flag…
439 …sg_msg)->m_type, (struct msg_msg)->m_ts, (struct msg_msg)->security, (struct wake_q_head)->lastp, ]
443 …ruct timespec)->tv_sec, (struct timespec)->tv_nsec, (struct wake_q_head)->lastp, (struct fd)->flag…
444 …sg_msg)->m_type, (struct msg_msg)->m_ts, (struct msg_msg)->security, (struct wake_q_head)->lastp, ]
453 …complex_count, (struct sem_array)->use_global_lock, (struct wake_q_head)->lastp, (struct sem)->sem…
454 …ruct sem_queue)->alter, (struct sem_queue)->dupsop, (struct wake_q_head)->lastp, (struct sem_queue…