| /netvirt/usr/src/common/openssl/crypto/lhash/ |
| lhash.c | 110 static void expand(LHASH *lh); 111 static void contract(LHASH *lh); 112 static LHASH_NODE **getrn(LHASH *lh, const void *data, unsigned long *rhash); 157 void lh_free(LHASH *lh) 162 if (lh == NULL) 165 for (i=0; i<lh->num_nodes; i++) 167 n=lh->b[i]; 175 OPENSSL_free(lh->b); 176 OPENSSL_free(lh); 179 void *lh_insert(LHASH *lh, void *data [all...] |
| lh_stats.c | 73 void lh_stats(LHASH *lh, FILE *out) 75 fprintf(out,"num_items = %lu\n",lh->num_items); 76 fprintf(out,"num_nodes = %u\n",lh->num_nodes); 77 fprintf(out,"num_alloc_nodes = %u\n",lh->num_alloc_nodes); 78 fprintf(out,"num_expands = %lu\n",lh->num_expands); 79 fprintf(out,"num_expand_reallocs = %lu\n",lh->num_expand_reallocs); 80 fprintf(out,"num_contracts = %lu\n",lh->num_contracts); 81 fprintf(out,"num_contract_reallocs = %lu\n",lh->num_contract_reallocs); 82 fprintf(out,"num_hash_calls = %lu\n",lh->num_hash_calls); 83 fprintf(out,"num_comp_calls = %lu\n",lh->num_comp_calls) [all...] |
| lhash.h | 172 #define lh_error(lh) ((lh)->error) 175 void lh_free(LHASH *lh); 176 void *lh_insert(LHASH *lh, void *data); 177 void *lh_delete(LHASH *lh, const void *data); 178 void *lh_retrieve(LHASH *lh, const void *data); 179 void lh_doall(LHASH *lh, LHASH_DOALL_FN_TYPE func); 180 void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg); 182 unsigned long lh_num_items(const LHASH *lh); 185 void lh_stats(const LHASH *lh, FILE *out) [all...] |
| /netvirt/usr/src/lib/libdiskmgt/common/ |
| inuse_vxvm.c | 258 void *lh; local 260 if ((lh = dlopen("libvxvmsc.so", RTLD_NOW)) == NULL) { 261 return (lh); 264 if ((vxdl_libvxvm_get_version = (int (*)(int))dlsym(lh, 266 (void) dlclose(lh); 270 if ((vxdl_libvxvm_get_conf = (int (*)(int))dlsym(lh, 272 (void) dlclose(lh); 276 if ((vxdl_libvxvm_get_dgs = (int (*)(int, vm_name_t []))dlsym(lh, 278 (void) dlclose(lh); 283 dlsym(lh, "libvxvm_get_disks")) == NULL) 294 void *lh; local [all...] |
| inuse_zpool.c | 147 void *lh = NULL; local 149 if ((lh = dlopen("libzfs.so", RTLD_NOW)) == NULL) { 150 return (lh); 158 dlsym(lh, "libzfs_init")) == NULL || 161 dlsym(lh, "zpool_in_use")) == NULL) { 162 (void) dlclose(lh); 167 (void) dlclose(lh); 171 return (lh);
|
| inuse_svm.c | 518 void *lh; local 520 if ((lh = dlopen("/usr/lib/libmeta.so", RTLD_NOW)) == NULL) { 524 mdl_get_max_sets = (set_t (*)(md_error_t *))dlsym(lh, "get_max_sets"); 526 mdl_mdclrerror = (void(*)(md_error_t *))dlsym(lh, "mdclrerror"); 528 mdl_mdnullerror = (md_error_t *)dlsym(lh, "mdnullerror"); 530 mdl_metaflushnames = (void (*)(int))dlsym(lh, "metaflushnames"); 532 mdl_metaflushsetname = (void (*)(mdsetname_t *))dlsym(lh, 535 mdl_metafreenamelist = (void (*)(mdnamelist_t *))dlsym(lh, 538 mdl_metafreereplicalist = (void (*)(md_replicalist_t *))dlsym(lh, 542 md_error_t *))dlsym(lh, "metaget_drivedesc") [all...] |
| /netvirt/usr/src/stand/lib/fs/ufs/ |
| lufsboot.c | 196 #define inslist(lh, l) if ((*(lh))) { \ 197 (*(lh))->l_prev->l_next = (l); \ 198 (l)->l_next = (*(lh)); \ 199 (l)->l_prev = (*(lh))->l_prev; \ 200 (*(lh))->l_prev = (l); \ 204 (*(lh)) = l; \ 207 #define remlist(lh, l) \ 209 if (*(lh) != (l) || (l)->l_prev != (l)) \ 211 *(lh) = (lb_me_t *)NULL; 658 lb_me_t **lh, *l, *lnext; local 701 lb_me_t **lh, *l; local 923 lb_me_t **lh, *l, *lnext; local 1022 lb_me_t **lh, *l; local [all...] |
| /netvirt/usr/src/uts/common/sys/ |
| sunldi.h | 125 extern int ldi_prop_lookup_int_array(ldi_handle_t lh, 127 extern int ldi_prop_lookup_int64_array(ldi_handle_t lh, 129 extern int ldi_prop_lookup_string_array(ldi_handle_t lh, 131 extern int ldi_prop_lookup_string(ldi_handle_t lh, 133 extern int ldi_prop_lookup_byte_array(ldi_handle_t lh, 135 extern int ldi_prop_get_int(ldi_handle_t lh, 137 extern int64_t ldi_prop_get_int64(ldi_handle_t lh, 139 extern int ldi_prop_exists(ldi_handle_t lh, 150 extern int ldi_ev_get_cookie(ldi_handle_t lh, char *evname, 153 extern int ldi_ev_register_callbacks(ldi_handle_t lh, [all...] |
| /netvirt/usr/src/uts/common/io/ |
| strplumb.c | 255 ldi_handle_t lh = NULL; local 261 if ((err = ldi_open_by_name(SCTP6DEV, FREAD|FWRITE, CRED(), &lh, 267 if ((err = ldi_ioctl(lh, SCTP_IOC_DEFAULT_Q, (intptr_t)0, FKIOCTL, 271 (void) ldi_close(lh, FREAD|FWRITE, CRED()); 281 ldi_handle_t lh = NULL; local 303 if ((err = ldi_open_by_name(TCP6DEV, FREAD|FWRITE, CRED(), &lh, 309 if ((err = ldi_ioctl(lh, TCP_IOC_DEFAULT_Q, (intptr_t)0, FKIOCTL, 399 getifflags(ldi_handle_t lh, struct lifreq *lifrp) 409 return (ldi_ioctl(lh, I_STR, (intptr_t)&iocb, FKIOCTL, CRED(), &rval)); 414 setifname(ldi_handle_t lh, struct lifreq *lifrp 430 ldi_handle_t lh = NULL; local 777 ldi_handle_t lh; local [all...] |
| l_strplumb.c | 222 ldi_handle_t lh; local 230 kcred, &lh, li); 238 kcred, &lh, li); 254 error = ldi_ioctl(lh, SAD_GAP, (intptr_t)&push, 259 (void) ldi_close(lh, FREAD|FWRITE, kcred); 290 (void) ldi_close(lh, FREAD|FWRITE, kcred); 300 error = ldi_ioctl(lh, SAD_SAP, (intptr_t)&push, 306 (void) ldi_close(lh, FREAD|FWRITE, kcred); 339 error = ldi_ioctl(lh, SAD_SAP, (intptr_t)&push, 345 (void) ldi_close(lh, FREAD|FWRITE, kcred) [all...] |
| consconfig_dacf.c | 449 consconfig_kbd_abort_enable(ldi_handle_t lh) 455 err = ldi_ioctl(lh, CONSSETABORTENABLE, (uintptr_t)B_TRUE, 469 consconfig_kbd_abort_disable(ldi_handle_t lh) 475 err = ldi_ioctl(lh, CONSSETABORTENABLE, (uintptr_t)B_FALSE, 487 consconfig_get_polledio(ldi_handle_t lh) 506 err = ldi_ioctl(lh, I_STR, (intptr_t)&strioc, FKIOCTL, kcred, &rval); 536 ldi_handle_t lh; local 542 FREAD|FWRITE|FNOCTTY, kcred, &lh, sp->cons_li) != 0) 550 polled_io = consconfig_get_polledio(lh); 559 (void) ldi_close(lh, FREAD|FWRITE, kcred) 1450 ldi_handle_t lh; local [all...] |
| /netvirt/usr/src/cmd/iscsi/iscsitgtd/ |
| iscsi_login.c | 135 iscsi_login_hdr_t lh; local 152 if (read(c->c_fd, &lh, sizeof (lh)) != sizeof (lh)) { 158 if ((lh.opcode & ISCSI_OPCODE_MASK) != ISCSI_OP_LOGIN_CMD) { 161 c->c_num, lh.opcode, ISCSI_OP_LOGIN_CMD); 163 send_login_reject(c, &lh, 181 info.uip_itt = lh.itt; 184 info.uip_cmdsn = ntohl(lh.cmdsn); 185 info.uip_statsn = ntohl(lh.expstatsn) [all...] |
| /netvirt/usr/src/grub/grub-0.95/stage2/ |
| boot.c | 48 struct linux_kernel_header *lh; local 96 lh = (struct linux_kernel_header *) buffer; 219 else if (lh->boot_flag == BOOTSEC_SIGNATURE 220 && lh->setup_sects <= LINUX_MAX_SETUP_SECTS) 223 int setup_sects = lh->setup_sects; 225 if (lh->header == LINUX_MAGIC_SIGNATURE && lh->version >= 0x0200) 227 big_linux = (lh->loadflags & LINUX_FLAG_BIG_KERNEL); 228 lh->type_of_loader = LINUX_BOOT_LOADER_TYPE; 237 if (lh->version >= 0x0201 814 struct linux_kernel_header *lh local [all...] |
| /netvirt/usr/src/uts/common/brand/lx/io/ |
| lx_ptm.c | 240 lx_ptm_lh_insert(uint_t index, ldi_handle_t lh) 244 ASSERT(lh != NULL); 267 lps.lps_lh_array[index].lph_handle = lh; 278 ldi_handle_t lh; local 292 lh = lps.lps_lh_array[index].lph_handle; 297 return (lh); 327 ldi_handle_t lh; local 335 lh = lps.lps_lh_array[index].lph_handle; 337 return (lh); 461 lx_ptm_eof_read(ldi_handle_t lh) 487 ldi_handle_t lh = lx_ptm_lh_lookup(DEVT_TO_INDEX(dev)); local 536 ldi_handle_t lh = lx_ptm_lh_lookup(DEVT_TO_INDEX(dev)); local 616 ldi_handle_t lh; local 700 ldi_handle_t lh; local 752 ldi_handle_t lh = lx_ptm_lh_lookup(DEVT_TO_INDEX(dev)); local 894 ldi_handle_t lh = lx_ptm_lh_lookup(DEVT_TO_INDEX(dev)); local 906 ldi_handle_t lh = lx_ptm_lh_lookup(DEVT_TO_INDEX(dev)); local 985 ldi_handle_t lh = lx_ptm_lh_lookup(DEVT_TO_INDEX(dev)); local [all...] |
| /netvirt/usr/src/cmd/mdb/common/modules/genunix/ |
| ldi.c | 310 struct ldi_handle lh; local 314 if (mdb_vread(&lh, sizeof (struct ldi_handle), addr) == -1) { 324 mdb_printf("%4u ", lh.lh_ref); 327 mdb_printf("%0?p ", lh.lh_vp); 330 addr = (uintptr_t)lh.lh_vp; 347 if (lh.lh_events != NULL) { 348 mdb_printf("%0?p ", lh.lh_events); 355 mdb_printf("%0?p\n", lh.lh_ident); 360 return (ldi_ident_print((uintptr_t)lh.lh_ident, refs));
|
| /netvirt/usr/src/head/rpcsvc/ |
| bootparam_prot.x | 56 char lh;
|
| /netvirt/usr/src/cmd/fs.d/cachefs/cachefswssize/ |
| cachefswssize.c | 63 struct cachefs_log_logfile_header *lh; local 109 lh = stats_log_getheader(sc); 111 if (lh->lh_errno != 0) 113 strerror(lh->lh_errno)); 168 lh->lh_maxbsize / (u_offset_t) 1024));
|
| /netvirt/usr/src/uts/common/os/ |
| driver_lyr.c | 119 int ldi_remove_event_handler(ldi_handle_t lh, ldi_callback_id_t id); 368 "lh=0x%p, ident=0x%p, vp=0x%p, drv=%s, minor=0x%x", 405 "lh=0x%p, ident=0x%p, vp=0x%p, drv=%s, minor=0x%x", 426 "lh=0x%p, ident=0x%p, vp=0x%p, drv=%s, minor=0x%x", 774 LDI_OPENCLOSE((CE_WARN, "%s: lh=0x%p", 777 LDI_OPENCLOSE((CE_WARN, "%s: lh=0x%p", [all...] |
| /netvirt/usr/src/uts/sun4u/excalibur/os/ |
| excalibur.c | 55 ldi_handle_t lh; member in struct:xcalfan_info 137 FWRITE, kcred, &xcalfans[i].lh, li); 279 err = ldi_write(xcalfans[i].lh, &uio, kcred);
|
| /netvirt/usr/src/cmd/lp/filter/postscript/font/devpost/charlib/ |
| Makefile | 32 CHARFILES = 12 14 34 Fi Fl L1 LH Lb \ 33 OLD_LH Sl bx ci ff lc lf lh \ 35 MAPFILES = L1.map LH.map Lb.map OLD_LH.map
|
| /netvirt/usr/src/lib/librpcsvc/common/ |
| bootparam_prot.h | 51 char lh; member in struct:ip_addr_t
|
| /netvirt/usr/src/uts/common/rpc/ |
| bootparam.h | 54 char lh; member in struct:ip_addr_t
|
| /netvirt/usr/src/uts/sun4u/io/ |
| ppm_plat.c | 59 ret = ldi_ioctl(dc->lh, dc->m_un.cpu.iowr, 98 ret = ldi_ioctl(dc->lh, 135 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iowr, 170 ret = ldi_ioctl(dc->lh,
|
| /netvirt/usr/src/uts/common/io/ib/clients/rds/ |
| rds_ioctl.c | 91 rds_dl_info(ldi_handle_t lh, dl_info_ack_t *info) 110 if ((error = ldi_putmsg(lh, mp)) != 0) { 114 if ((error = ldi_getmsg(lh, &mp, (timestruc_t *)NULL)) != 0) { 152 ldi_handle_t lh; local 184 ret = ldi_open_by_name(dev_path, FREAD|FWRITE, kcred, &lh, rds_li); 189 ret = rds_dl_info(lh, &info); 190 (void) ldi_close(lh, FREAD|FWRITE, kcred);
|
| /netvirt/usr/src/common/openssl/crypto/ec/ |
| ec2_smpl.c | 810 BIGNUM *lh, *y2; local 832 lh = BN_CTX_get(ctx); 833 if (lh == NULL) goto err; 840 if (!BN_GF2m_add(lh, &point->X, &group->a)) goto err; 841 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err; 842 if (!BN_GF2m_add(lh, lh, &point->Y)) goto err; 843 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err [all...] |