Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/illumos-gate/usr/src/test/crypto-tests/tests/common/
H A Dcryptotest_kcf.c190 crypto_mac_init_t init; in mac_init() local
192 bzero((void *)&init, sizeof (init)); in mac_init()
194 init.mi_session = op->hsession; in mac_init()
196 init.mi_key.ck_data = op->key; in mac_init()
197 init.mi_key.ck_format = CRYPTO_KEY_RAW; /* must be this */ in mac_init()
198 init.mi_key.ck_length = op->keylen; in mac_init()
200 init.mi_mech.cm_type = op->mech; in mac_init()
201 init.mi_mech.cm_param = NULL; in mac_init()
202 init.mi_mech.cm_param_len = 0; in mac_init()
204 return (kcf_do_ioctl(CRYPTO_MAC_INIT, (uint_t *)&init, "init")); in mac_init()
[all …]
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_stats.c107 uint64_t *base, boolean_t init) in i40e_stat_get_uint48() argument
117 if (init == B_TRUE) { in i40e_stat_get_uint48()
138 uint64_t *base, boolean_t init) in i40e_stat_get_uint32() argument
148 if (init == B_TRUE) { in i40e_stat_get_uint32()
168 i40e_stat_vsi_update(i40e_t *i40e, uint_t idx, boolean_t init) in i40e_stat_vsi_update() argument
181 &ivs->ivs_rx_bytes, init); in i40e_stat_vsi_update()
183 &ivs->ivs_rx_unicast, init); in i40e_stat_vsi_update()
185 &ivs->ivs_rx_multicast, init); in i40e_stat_vsi_update()
187 &ivs->ivs_rx_broadcast, init); in i40e_stat_vsi_update()
190 &ivs->ivs_rx_discards, init); in i40e_stat_vsi_update()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Discsiboot_prop.c186 iscsi_boot_free_ini(ib_ini_prop_t *init) in iscsi_boot_free_ini() argument
188 if (init == NULL) { in iscsi_boot_free_ini()
192 if (init->ini_name != NULL) { in iscsi_boot_free_ini()
193 kmem_free(init->ini_name, init->ini_name_len); in iscsi_boot_free_ini()
194 init->ini_name = NULL; in iscsi_boot_free_ini()
195 init->ini_name_len = 0; in iscsi_boot_free_ini()
197 if (init->ini_chap_name != NULL) { in iscsi_boot_free_ini()
198 kmem_free(init->ini_chap_name, in iscsi_boot_free_ini()
199 init->ini_chap_name_len); in iscsi_boot_free_ini()
200 init->ini_chap_name = NULL; in iscsi_boot_free_ini()
[all …]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaUtil.c41 if (session->init.pMech == NULL) { in meta_operation_init_defer()
42 session->init.pMech = malloc(sizeof (CK_MECHANISM)); in meta_operation_init_defer()
43 if (session->init.pMech == NULL) in meta_operation_init_defer()
46 (void) memcpy(session->init.pMech, pMechanism, in meta_operation_init_defer()
51 session->init.pMech->pParameter = in meta_operation_init_defer()
53 if (session->init.pMech->pParameter == NULL) { in meta_operation_init_defer()
54 free(session->init.pMech); in meta_operation_init_defer()
55 session->init.pMech = NULL; in meta_operation_init_defer()
58 (void) memcpy(session->init.pMech->pParameter, in meta_operation_init_defer()
61 session->init.pMech->pParameter = NULL; in meta_operation_init_defer()
[all …]
/illumos-gate/usr/src/lib/libnvme/common/
H A Dlibnvme_feature.c443 nvme_get_feat_init_arg_t *init = arg; in nvme_get_feat_req_init_by_name_cb() local
445 if (strcmp(init->ngfi_name, disc->nfd_short) != 0 && in nvme_get_feat_req_init_by_name_cb()
446 strcmp(init->ngfi_name, disc->nfd_spec) != 0) { in nvme_get_feat_req_init_by_name_cb()
450 init->ngfi_found = true; in nvme_get_feat_req_init_by_name_cb()
451 if (!nvme_get_feat_req_init_by_disc(ctrl, disc, &init->ngfi_req)) { in nvme_get_feat_req_init_by_name_cb()
452 nvme_ctrl_err_save(ctrl, &init->ngfi_err); in nvme_get_feat_req_init_by_name_cb()
453 init->ngfi_req = NULL; in nvme_get_feat_req_init_by_name_cb()
454 } else if (init->ngfi_discp != NULL) { in nvme_get_feat_req_init_by_name_cb()
455 if (!nvme_feat_disc_dup(ctrl, disc, init->ngfi_discp)) { in nvme_get_feat_req_init_by_name_cb()
456 nvme_ctrl_err_save(ctrl, &init->ngfi_err); in nvme_get_feat_req_init_by_name_cb()
[all …]
H A Dlibnvme.c732 nvme_ctrl_init_arg_t *init = arg; in nvme_ctrl_init_by_instance_cb() local
734 if (di_instance(disc->ncd_devi) != init->ncia_inst) { in nvme_ctrl_init_by_instance_cb()
743 init->ncia_found = true; in nvme_ctrl_init_by_instance_cb()
744 if (!nvme_ctrl_init(nvme, disc->ncd_devi, &init->ncia_ctrl)) { in nvme_ctrl_init_by_instance_cb()
745 nvme_err_save(nvme, &init->ncia_err); in nvme_ctrl_init_by_instance_cb()
754 nvme_ctrl_init_arg_t init; in nvme_ctrl_init_by_instance() local
766 init.ncia_found = false; in nvme_ctrl_init_by_instance()
767 init.ncia_inst = inst; in nvme_ctrl_init_by_instance()
768 init.ncia_ctrl = NULL; in nvme_ctrl_init_by_instance()
770 if (!nvme_ctrl_discover(nvme, nvme_ctrl_init_by_instance_cb, &init)) { in nvme_ctrl_init_by_instance()
[all …]
H A Dlibnvme_log.c541 nvme_log_init_arg_t *init = arg; in nvme_log_req_init_by_name_cb() local
543 if (strcmp(init->nlia_name, disc->nld_short) != 0) { in nvme_log_req_init_by_name_cb()
547 init->nlia_found = true; in nvme_log_req_init_by_name_cb()
548 if (!nvme_log_req_init_by_disc(ctrl, disc, &init->nlia_req)) { in nvme_log_req_init_by_name_cb()
549 nvme_ctrl_err_save(ctrl, &init->nlia_err); in nvme_log_req_init_by_name_cb()
550 init->nlia_req = NULL; in nvme_log_req_init_by_name_cb()
551 } else if (init->nlia_discp != NULL) { in nvme_log_req_init_by_name_cb()
552 if (!nvme_log_disc_dup(ctrl, disc, init->nlia_discp)) { in nvme_log_req_init_by_name_cb()
553 nvme_ctrl_err_save(ctrl, &init->nlia_err); in nvme_log_req_init_by_name_cb()
554 nvme_log_req_fini(init->nlia_req); in nvme_log_req_init_by_name_cb()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_init.c672 pMpi2IOCInitRequest_t init; in mptsas_do_ioc_init()
677 bzero(memp, sizeof (*init)); in mptsas_do_ioc_init()
678 init = (void *)memp; in mptsas_do_ioc_init()
679 ddi_put8(accessp, &init->Function, MPI2_FUNCTION_IOC_INIT); in mptsas_do_ioc_init()
680 ddi_put8(accessp, &init->WhoInit, MPI2_WHOINIT_HOST_DRIVER); in mptsas_do_ioc_init()
681 ddi_put16(accessp, &init->MsgVersion, MPI2_VERSION); in mptsas_do_ioc_init()
682 ddi_put16(accessp, &init->HeaderVersion, MPI2_HEADER_VERSION); in mptsas_do_ioc_init()
683 ddi_put16(accessp, &init->SystemRequestFrameSize, in mptsas_do_ioc_init()
685 ddi_put16(accessp, &init->ReplyDescriptorPostQueueDepth, in mptsas_do_ioc_init()
687 ddi_put16(accessp, &init->ReplyFreeQueueDepth, in mptsas_do_ioc_init()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetprotoent.c42 static struct net_data *init(void);
48 struct net_data *net_data = init(); in getprotoent()
55 struct net_data *net_data = init(); in getprotobyname()
62 struct net_data *net_data = init(); in getprotobynumber()
69 struct net_data *net_data = init(); in setprotoent()
76 struct net_data *net_data = init(); in endprotoent()
151 init() { in init() function
H A Dgetservent.c42 static struct net_data *init(void);
48 struct net_data *net_data = init(); in getservent()
55 struct net_data *net_data = init(); in getservbyname()
62 struct net_data *net_data = init(); in getservbyport()
69 struct net_data *net_data = init(); in setservent()
76 struct net_data *net_data = init(); in endservent()
154 init() { in init() function
H A Dgetnetgrent.c41 static struct net_data *init(void);
51 struct net_data *net_data = init(); in setnetgrent()
58 struct net_data *net_data = init(); in endnetgrent()
69 struct net_data *net_data = init(); in innetgr()
78 struct net_data *net_data = init(); in getnetgrent()
137 init(void) { in init() function
H A Dgetnetent.c55 static struct net_data *init(void);
70 struct net_data *net_data = init(); in getnetent()
77 struct net_data *net_data = init(); in getnetbyname()
84 struct net_data *net_data = init(); in getnetbyaddr()
91 struct net_data *net_data = init(); in setnetent()
99 struct net_data *net_data = init(); in endnetent()
219 init() { in init() function
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dgentab.sh129 init=""
148 case $init in
151 init=0
153 *) init=1
159 "") counter=$init
163 "") counter=$init ;;
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/
H A Dsum-prng.c48 Prngnum_t init; member
79 sum->init = v ? strtoul(v + 1, NiL, 0) : ~sum->init; in prng_open()
86 if (!sum->init) in prng_open()
87 sum->init = FNV_INIT; in prng_open()
97 sum->sum = sum->init; in prng_init()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_cookie.c158 sctp_init_chunk_t *init, mblk_t *inmp, sctp_parm_hdr_t **want_cookie, in validate_init_params() argument
180 if (init->sic_instr == 0 || init->sic_outstr == 0) { in validate_init_params()
183 htons(init->sic_instr), htons(init->sic_outstr))); in validate_init_params()
186 if (ntohl(init->sic_inittag) == 0) { in validate_init_params()
385 sctp_initialize_params(sctp_t *sctp, sctp_init_chunk_t *init, in sctp_initialize_params() argument
389 sctp->sctp_ftsn = ntohl(init->sic_inittsn); in sctp_initialize_params()
400 sctp->sctp_fvtag = init->sic_inittag; in sctp_initialize_params()
401 sctp->sctp_sctph->sh_verf = init->sic_inittag; in sctp_initialize_params()
402 sctp->sctp_sctph6->sh_verf = init->sic_inittag; in sctp_initialize_params()
406 sctp->sctp_frwnd = ntohl(init->sic_a_rwnd); in sctp_initialize_params()
[all …]
/illumos-gate/usr/src/common/ficl/test/
H A Dooptest.fr17 : init
30 : init
32 inst class --> super --> init
53 : init ( inst class -- )
71 c-foo --> see init
73 foo-instance --> class --> see init
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmopen.c66 Vminit_t *init; local
95 { if(!(init = (Vminit_t*)addr) )
98 vd = &init->vd.vd; /**/ASSERT(VLONG(vd)%ALIGN == 0);
113 init = (Vminit_t*)(addr + (algn ? ALIGN-algn : 0)); /**/ASSERT(VLONG(init)%ALIGN == 0);
114 vd = &init->vd.vd; /**/ASSERT(VLONG(vd)%ALIGN == 0);
129 vd->seg = &init->seg.seg; /**/ ASSERT(VLONG(vd->seg)%ALIGN == 0);
160 vm = &init->vm.vm;
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlstrlib.c229 const char *init; member
409 ms->capture[level].init = s; in start_capture()
422 ms->capture[l].len = s - ms->capture[l].init; /* close capture */ in end_capture()
434 memcmp(ms->capture[l].init, s, len) == 0) in match_capture()
443 init: /* using goto's to optimize tail recursion */ in match()
468 p += 4; goto init; /* return match(ms, s, p + 4); */ in match()
482 p = ep; goto init; /* return match(ms, s, ep); */ in match()
492 p += 2; goto init; /* return match(ms, s, p + 2) */ in match()
505 p = ep + 1; goto init; /* return match(ms, s, ep + 1); */ in match()
517 p = ep + 1; goto init; /* else return match(ms, s, ep + 1); */ in match()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dlive-stores0.c1 void init(int *x);
9 init(a); in foo()
16 void init(int *x)
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dkill-unreachable-phi.c6 void *init, *string; in test_menu_iteminfo() local
12 init = initA; in test_menu_iteminfo()
15 strcpy( string, init ); in test_menu_iteminfo()
/illumos-gate/usr/src/cmd/init/
H A DMakefile30 PROG= init
33 DEFAULTFILES= init.dfl
37 OBJS = init.o bootbanner.o definit.o ilstr.o
65 cd $(ROOTETC); $(SYMLINK) default/init TIMEZONE
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dstk.c85 static size_t init; /* 1 when initialized */ variable
138 init = size; in stkinit()
140 init = 1; in stkinit()
190 if(init) in stkexcept()
232 bsize = init+sizeof(struct frame); in stkopen()
267 if(!init) in stkinstall()
345 if(!init) in stkset()
399 if(!init) in stkalloc()
415 if(!init) in _stkseek()
431 if(!init) in stkfreeze()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Drefer6.c215 char *init, *name, *jr, *p, *bcop; in revauth() local
218 init = name = s; in revauth()
222 while (name > init && *name != ' ') in revauth()
226 while (name > init && *name != ' ') in revauth()
233 while (init < name) in revauth()
234 *b++ = *init++; in revauth()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dtpm_device.c183 if (dev->emul->init) { in tpm_device_create()
184 error = dev->emul->init(&dev->emul_sc, nvl); in tpm_device_create()
203 if (dev->intf->init) { in tpm_device_create()
204 error = dev->intf->init(&dev->intf_sc, dev->emul, dev->emul_sc, in tpm_device_create()
224 if (dev->ppi->init) { in tpm_device_create()
225 error = dev->ppi->init(&dev->ppi_sc); in tpm_device_create()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Deaccess.c55 static int init;
61 if (!init)
67 init = (ruid == euid && rgid == egid) ? 1 : -1;
69 if (init > 0 || flags == F_OK)

12345678910>>...20