Home
last modified time | relevance | path

Searched refs:infop (Results 1 – 25 of 101) sorted by relevance

12345

/titanic_44/usr/src/cmd/sendmail/db/db/
H A Ddb_region.c34 __db_rattach(infop) in __db_rattach() argument
35 REGINFO *infop; in __db_rattach()
49 DB_ROUNDOFF(infop->size, DB_VMPAGESIZE);
53 if (infop->size > DB_REGIONSIZE_MAX) {
54 __db_err(infop->dbenv, "__db_rattach: cache size too large");
60 loop: infop->addr = NULL;
61 infop->fd = -1;
62 infop->segid = INVALID_SEGID;
63 if (infop->name != NULL) {
64 __os_freestr(infop->name);
[all …]
/titanic_44/usr/src/cmd/sendmail/db/os/
H A Dos_map.c115 __db_mapregion(path, infop) in __db_mapregion() argument
117 REGINFO *infop;
126 F_SET(infop, REGION_HOLDINGSYS);
127 return (__db_jump.j_map(path, infop->fd, infop->size,
128 1, F_ISSET(infop, REGION_ANONYMOUS), 0, &infop->addr));
131 if (F_ISSET(infop, REGION_ANONYMOUS)) {
160 if (!called && F_ISSET(infop, REGION_PRIVATE)) {
163 infop->fd, infop->size, 1, 1, 0, &infop->addr);
169 ret = __os_shmget(infop);
180 if (!F_ISSET(infop, REGION_CREATED)) {
[all …]
/titanic_44/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_memory.c37 static ACPI_STATUS acpidev_memory_probe(acpidev_walk_info_t *infop);
39 acpidev_walk_info_t *infop, char *devname, int maxlen);
40 static ACPI_STATUS acpidev_memory_init(acpidev_walk_info_t *infop);
99 acpidev_memory_probe(acpidev_walk_info_t *infop) in acpidev_memory_probe() argument
104 ASSERT(infop != NULL); in acpidev_memory_probe()
105 ASSERT(infop->awi_hdl != NULL); in acpidev_memory_probe()
106 ASSERT(infop->awi_info != NULL); in acpidev_memory_probe()
107 if (infop->awi_info->Type != ACPI_TYPE_DEVICE || in acpidev_memory_probe()
108 acpidev_match_device_id(infop->awi_info, in acpidev_memory_probe()
114 switch (infop->awi_op_type) { in acpidev_memory_probe()
[all …]
H A Dacpidev_cpu.c73 static ACPI_STATUS acpidev_cpu_pre_probe(acpidev_walk_info_t *infop);
74 static ACPI_STATUS acpidev_cpu_post_probe(acpidev_walk_info_t *infop);
75 static ACPI_STATUS acpidev_cpu_probe(acpidev_walk_info_t *infop);
76 static acpidev_filter_result_t acpidev_cpu_filter(acpidev_walk_info_t *infop,
78 static ACPI_STATUS acpidev_cpu_init(acpidev_walk_info_t *infop);
83 acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *afrp,
315 acpidev_cpu_get_procid(acpidev_walk_info_t *infop, uint32_t *idp) in acpidev_cpu_get_procid() argument
321 if (infop->awi_info->Type != ACPI_TYPE_PROCESSOR && in acpidev_cpu_get_procid()
322 infop->awi_info->Type != ACPI_TYPE_DEVICE) { in acpidev_cpu_get_procid()
325 infop->awi_name); in acpidev_cpu_get_procid()
[all …]
H A Dacpidev_scope.c35 static ACPI_STATUS acpidev_scope_probe(acpidev_walk_info_t *infop);
36 static acpidev_filter_result_t acpidev_scope_filter(acpidev_walk_info_t *infop,
38 static ACPI_STATUS acpidev_scope_init(acpidev_walk_info_t *infop);
103 acpidev_scope_probe(acpidev_walk_info_t *infop) in acpidev_scope_probe() argument
108 ASSERT(infop != NULL); in acpidev_scope_probe()
109 ASSERT(infop->awi_hdl != NULL); in acpidev_scope_probe()
110 ASSERT(infop->awi_info != NULL); in acpidev_scope_probe()
111 if (infop->awi_info->Type != ACPI_TYPE_LOCAL_SCOPE) { in acpidev_scope_probe()
116 switch (infop->awi_op_type) { in acpidev_scope_probe()
131 "in acpidev_scope_probe().", infop->awi_op_type); in acpidev_scope_probe()
[all …]
H A Dacpidev_container.c66 static ACPI_STATUS acpidev_container_probe(acpidev_walk_info_t *infop);
68 acpidev_walk_info_t *infop, char *devname, int maxlen);
69 static ACPI_STATUS acpidev_container_init(acpidev_walk_info_t *infop);
71 acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *rulep,
127 acpidev_container_probe(acpidev_walk_info_t *infop) in acpidev_container_probe() argument
132 ASSERT(infop != NULL); in acpidev_container_probe()
133 ASSERT(infop->awi_hdl != NULL); in acpidev_container_probe()
134 ASSERT(infop->awi_info != NULL); in acpidev_container_probe()
136 if (infop->awi_info->Type != ACPI_TYPE_DEVICE || in acpidev_container_probe()
137 acpidev_match_device_id(infop->awi_info, in acpidev_container_probe()
[all …]
H A Dacpidev_device.c35 static ACPI_STATUS acpidev_device_probe(acpidev_walk_info_t *infop);
36 static acpidev_filter_result_t acpidev_device_filter(acpidev_walk_info_t *infop,
38 static ACPI_STATUS acpidev_device_init(acpidev_walk_info_t *infop);
104 acpidev_device_probe(acpidev_walk_info_t *infop) in acpidev_device_probe() argument
109 ASSERT(infop != NULL); in acpidev_device_probe()
110 ASSERT(infop->awi_hdl != NULL); in acpidev_device_probe()
111 ASSERT(infop->awi_info != NULL); in acpidev_device_probe()
113 if (infop->awi_info->Type != ACPI_TYPE_DEVICE) { in acpidev_device_probe()
118 switch (infop->awi_op_type) { in acpidev_device_probe()
135 "acpi_device_probe().", infop->awi_op_type); in acpidev_device_probe()
[all …]
H A Dacpidev_drv.c570 acpidev_walk_info_t *infop; in acpidev_boot_probe_device() local
576 infop = acpidev_alloc_walk_info(op_type, 0, ACPI_ROOT_OBJECT, in acpidev_boot_probe_device()
578 if (infop == NULL) { in acpidev_boot_probe_device()
584 rc = acpidev_probe_child(infop); in acpidev_boot_probe_device()
589 acpidev_free_walk_info(infop); in acpidev_boot_probe_device()
653 acpidev_probe_child(acpidev_walk_info_t *infop) in acpidev_probe_child() argument
665 ASSERT(infop != NULL); in acpidev_probe_child()
666 if (infop == NULL) { in acpidev_probe_child()
671 ASSERT(infop->awi_level < ACPIDEV_MAX_ENUM_LEVELS - 1); in acpidev_probe_child()
672 if (infop->awi_level >= ACPIDEV_MAX_ENUM_LEVELS - 1) { in acpidev_probe_child()
[all …]
H A Dacpidev_util.c108 acpidev_match_device_id(ACPI_DEVICE_INFO *infop, char **ids, int count) in acpidev_match_device_id() argument
112 ASSERT(infop != NULL); in acpidev_match_device_id()
117 } else if (infop == NULL || ids == NULL) { in acpidev_match_device_id()
124 if (infop->Valid & ACPI_VALID_HID) { in acpidev_match_device_id()
126 if (strncmp(ids[i], infop->HardwareId.String, in acpidev_match_device_id()
127 infop->HardwareId.Length) == 0) { in acpidev_match_device_id()
134 if (infop->Valid & ACPI_VALID_CID) { in acpidev_match_device_id()
136 for (j = 0; j < infop->CompatibleIdList.Count; j++) { in acpidev_match_device_id()
138 infop->CompatibleIdList.Ids[j].String, in acpidev_match_device_id()
139 infop->CompatibleIdList.Ids[j].Length) in acpidev_match_device_id()
[all …]
H A Dacpidev_pci.c38 static ACPI_STATUS acpidev_pci_probe(acpidev_walk_info_t *infop);
68 acpidev_pci_update_status(acpidev_walk_info_t *infop) in acpidev_pci_update_status() argument
74 dhdl = infop->awi_data; in acpidev_pci_update_status()
78 status = acpidev_query_device_status(infop->awi_hdl); in acpidev_pci_update_status()
84 dhdl->aod_level = infop->awi_level; in acpidev_pci_update_status()
85 dhdl->aod_hdl = infop->awi_hdl; in acpidev_pci_update_status()
88 if (acpidev_match_device_id(infop->awi_info, in acpidev_pci_update_status()
95 if (ACPI_FAILURE(acpica_get_devinfo(infop->awi_hdl, &dip))) { in acpidev_pci_update_status()
120 acpidev_pci_probe(acpidev_walk_info_t *infop) in acpidev_pci_probe() argument
124 ASSERT(infop != NULL); in acpidev_pci_probe()
[all …]
H A Dacpidev_dr.c295 acpidev_dr_check(acpidev_walk_info_t *infop) in acpidev_dr_check() argument
303 if (infop == NULL || in acpidev_dr_check()
304 infop->awi_op_type != ACPIDEV_OP_BOOT_PROBE) { in acpidev_dr_check()
314 dhdl = infop->awi_data; in acpidev_dr_check()
327 acpidev_dr_device_hotplug_capable(infop->awi_hdl)) { in acpidev_dr_check()
337 if (ACPI_FAILURE(acpidev_dr_scan_topo(infop->awi_hdl, 0, NULL, in acpidev_dr_check()
341 "is unsupported for DR operations.", infop->awi_name); in acpidev_dr_check()
348 phdl = infop->awi_hdl; in acpidev_dr_check()
375 arg.level = infop->awi_level; in acpidev_dr_check()
376 if (ACPI_FAILURE(acpidev_dr_scan_topo(infop->awi_hdl, 0, &arg, in acpidev_dr_check()
[all …]
/titanic_44/usr/src/lib/librcm/
H A Dlibrcm.c126 rcm_get_info(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) in rcm_get_info() argument
130 if ((flag & ~RCM_GET_INFO_MASK) || (infop == NULL)) { in rcm_get_info()
147 return (rcm_common(CMD_GETINFO, hd, rsrcnames, flag, NULL, infop)); in rcm_get_info()
153 rcm_info_t **infop) in rcm_get_info_list() argument
161 return (rcm_common(CMD_GETINFO, hd, rsrcnames, flag, NULL, infop)); in rcm_get_info_list()
167 rcm_info_t **infop) in rcm_request_offline() argument
174 return (rcm_request_offline_list(hd, rsrcnames, flag, infop)); in rcm_request_offline()
180 rcm_info_t **infop) in rcm_request_offline_list() argument
187 return (rcm_common(CMD_OFFLINE, hd, rsrcnames, flag, NULL, infop)); in rcm_request_offline_list()
193 rcm_info_t **infop) in rcm_notify_online() argument
[all …]
/titanic_44/usr/src/lib/krb5/ss/
H A Derror.c25 register ss_data *infop; local
27 infop = ss_info(sci_idx);
28 if (infop->current_request == (char const *)NULL) {
30 (strlen(infop->subsystem_name)+1)
34 strcpy(ret_val, infop->subsystem_name);
41 (strlen(infop->subsystem_name)+
42 strlen(infop->current_request)+
45 cp1 = infop->subsystem_name;
50 cp1 = infop->current_request;
/titanic_44/usr/src/lib/libdtrace/common/
H A Ddt_program.c401 dt_header_info_t *infop = data; in dt_header_decl() local
402 dtrace_hdl_t *dtp = infop->dthi_dtp; in dt_header_decl()
417 if (fprintf(infop->dthi_out, "extern void __dtrace_%s___%s(", in dt_header_decl()
418 infop->dthi_pfname, fname) < 0) in dt_header_decl()
422 if (fprintf(infop->dthi_out, "%s", in dt_header_decl()
428 fprintf(infop->dthi_out, ", ") < 0) in dt_header_decl()
432 if (i == 0 && fprintf(infop->dthi_out, "void") < 0) in dt_header_decl()
435 if (fprintf(infop->dthi_out, ");\n") < 0) in dt_header_decl()
438 if (fprintf(infop->dthi_out, in dt_header_decl()
444 infop->dthi_pfname, fname, infop->dthi_pfname, fname) < 0) in dt_header_decl()
[all …]
/titanic_44/usr/src/lib/libproc/common/
H A Dpr_waitid.c46 idtype_t idtype, id_t id, siginfo_t *infop, int options) in pr_waitid() argument
57 return (waitid(idtype, id, infop, options)); in pr_waitid()
82 adp->arg_object = infop; in pr_waitid()
83 adp->arg_size = sizeof (*infop); in pr_waitid()
86 adp->arg_object = infop; in pr_waitid()
87 adp->arg_size = sizeof (*infop); in pr_waitid()
105 siginfo_32_to_n(&siginfo32, infop); in pr_waitid()
/titanic_44/usr/src/lib/libc/port/threads/
H A Dcancel.c275 __cleanup_t *infop = (__cleanup_t *)clnup_info; in __pthread_cleanup_push() local
277 infop->func = routine; in __pthread_cleanup_push()
278 infop->arg = args; in __pthread_cleanup_push()
279 infop->fp = fp; in __pthread_cleanup_push()
280 infop->next = self->ul_clnup_hdr; in __pthread_cleanup_push()
281 self->ul_clnup_hdr = infop; in __pthread_cleanup_push()
294 __cleanup_t *infop = self->ul_clnup_hdr; in __pthread_cleanup_pop() local
296 self->ul_clnup_hdr = infop->next; in __pthread_cleanup_pop()
298 (*infop->func)(infop->arg); in __pthread_cleanup_pop()
/titanic_44/usr/src/uts/common/syscall/
H A Dsigtimedwait.c105 k_siginfo_t info, *infop; in sigtimedwait() local
185 infop = &lwp->lwp_curinfo->sq_info; in sigtimedwait()
187 infop = &info; in sigtimedwait()
188 bzero(infop, sizeof (info)); in sigtimedwait()
189 infop->si_signo = lwp->lwp_cursig; in sigtimedwait()
190 infop->si_code = SI_NOINFO; in sigtimedwait()
195 DTRACE_PROC2(signal__clear, int, ret, ksiginfo_t *, infop); in sigtimedwait()
201 ret = copyout_siginfo(datamodel, infop, siginfop); in sigtimedwait()
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/
H A Ditree.c84 static void vmatch(struct info *infop, struct node *np, struct node *lnp,
86 static void hmatch(struct info *infop, struct node *np, struct node *nextnp);
87 static void hmatch_event(struct info *infop, struct node *eventnp,
99 static struct event *find_or_add_event(struct info *infop, struct node *np);
168 generate(struct info *infop) in generate() argument
182 arrowp = itree_add_arrow(G.arrownp, G.fromnp, G.tonp, infop->ex); in generate()
188 G.frome = find_or_add_event(infop, G.fromnp); in generate()
191 G.toe = find_or_add_event(infop, G.tonp); in generate()
507 find_or_add_event(struct info *infop, struct node *np) in find_or_add_event() argument
516 if ((ret = lut_lookup(infop->lut, (void *)&searchevent, in find_or_add_event()
[all …]
/titanic_44/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c262 dlpi_info(dlpi_handle_t dh, dlpi_info_t *infop, uint_t opt) in dlpi_info() argument
275 if (infop == NULL || opt != 0) in dlpi_info()
278 (void) memset(infop, 0, sizeof (dlpi_info_t)); in dlpi_info()
281 infop->di_qos_range.dl_qos_type = (t_uscalar_t)DL_UNKNOWN; in dlpi_info()
282 infop->di_qos_range.dl_trans_delay.dl_target_value = DL_UNKNOWN; in dlpi_info()
283 infop->di_qos_range.dl_trans_delay.dl_accept_value = DL_UNKNOWN; in dlpi_info()
284 infop->di_qos_range.dl_priority.dl_min = DL_UNKNOWN; in dlpi_info()
285 infop->di_qos_range.dl_priority.dl_max = DL_UNKNOWN; in dlpi_info()
286 infop->di_qos_range.dl_protection.dl_min = DL_UNKNOWN; in dlpi_info()
287 infop->di_qos_range.dl_protection.dl_max = DL_UNKNOWN; in dlpi_info()
[all …]
/titanic_44/usr/src/uts/i86pc/sys/
H A Dacpidev.h386 extern ACPI_STATUS acpidev_probe_child(acpidev_walk_info_t *infop);
398 extern ACPI_STATUS acpidev_process_object(acpidev_walk_info_t *infop,
420 extern acpidev_filter_result_t acpidev_filter_device(acpidev_walk_info_t *infop,
426 acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *afrp,
437 extern void acpidev_free_walk_info(acpidev_walk_info_t *infop);
438 extern dev_info_t *acpidev_walk_info_get_pdip(acpidev_walk_info_t *infop);
469 extern ACPI_STATUS acpidev_set_unitaddr(acpidev_walk_info_t *infop,
482 extern ACPI_STATUS acpidev_set_compatible(acpidev_walk_info_t *infop,
510 extern boolean_t acpidev_match_device_id(ACPI_DEVICE_INFO *infop,
/titanic_44/usr/src/uts/i86pc/os/
H A Dmp_implfuncs.c60 static struct modlinkage *psm_modlinkage_alloc(struct psm_info *infop);
80 psm_modlinkage_alloc(struct psm_info *infop) in psm_modlinkage_alloc() argument
92 infop->p_mach_idstring); in psm_modlinkage_alloc()
103 mlpsmp->psm_linkinfo = infop->p_mach_desc; in psm_modlinkage_alloc()
106 swp->psw_infop = infop; in psm_modlinkage_alloc()
122 psm_mod_init(void **handlepp, struct psm_info *infop) in psm_mod_init() argument
129 mlinkp = psm_modlinkage_alloc(infop); in psm_mod_init()
147 psm_mod_fini(void **handlepp, struct psm_info *infop) in psm_mod_fini() argument
161 psm_mod_info(void **handlepp, struct psm_info *infop, struct modinfo *modinfop) in psm_mod_info() argument
168 mlinkp = psm_modlinkage_alloc(infop); in psm_mod_info()
/titanic_44/usr/src/uts/common/io/
H A Dsysmsg.c515 char *infop; in sysmioctl() local
573 infop = kmem_alloc(size, KM_SLEEP); in sysmioctl()
575 error = copystr((caddr_t)arg, infop, size, NULL); in sysmioctl()
577 error = copyinstr((caddr_t)arg, infop, size, NULL); in sysmioctl()
594 if (infop[0] != NULL) { in sysmioctl()
595 if ((rval = lookupname(infop, UIO_SYSSPACE, FOLLOW, in sysmioctl()
616 if (infop[0] != NULL) in sysmioctl()
617 (void) strcat(infop, " "); in sysmioctl()
618 (void) strcat(infop, sysmcache[i].dca_name); in sysmioctl()
622 if (rval == 0 && copyoutstr(infop, (void *)arg, size, NULL)) in sysmioctl()
[all …]
/titanic_44/usr/src/uts/common/io/i40e/
H A Di40e_gld.c480 const int ring_index, mac_ring_info_t *infop, mac_ring_handle_t rh) in i40e_fill_tx_ring() argument
483 mac_intr_t *mintr = &infop->mri_intr; in i40e_fill_tx_ring()
494 infop->mri_driver = (mac_ring_driver_t)itrq; in i40e_fill_tx_ring()
495 infop->mri_start = NULL; in i40e_fill_tx_ring()
496 infop->mri_stop = NULL; in i40e_fill_tx_ring()
497 infop->mri_tx = i40e_ring_tx; in i40e_fill_tx_ring()
498 infop->mri_stat = i40e_tx_ring_stat; in i40e_fill_tx_ring()
513 const int ring_index, mac_ring_info_t *infop, mac_ring_handle_t rh) in i40e_fill_rx_ring() argument
516 mac_intr_t *mintr = &infop->mri_intr; in i40e_fill_rx_ring()
529 infop->mri_driver = (mac_ring_driver_t)itrq; in i40e_fill_rx_ring()
[all …]
/titanic_44/usr/src/lib/libsqlite/src/
H A Dprintf.c216 et_info *infop; /* Pointer to the appropriate info structure */ in vxprintf() local
310 infop = 0; in vxprintf()
314 infop = &fmtinfo[idx]; in vxprintf()
315 if( useExtended || (infop->flags & FLAG_INTERN)==0 ){ in vxprintf()
316 xtype = infop->type; in vxprintf()
352 if( longvalue==0 && infop->base==8 ) flag_alternateform = 0; in vxprintf()
354 if( infop->flags & FLAG_SIGNED ){ in vxprintf()
369 cset = infop->charset; in vxprintf()
370 base = infop->base; in vxprintf()
381 if( flag_alternateform && infop->prefix ){ /* Add "0" or "0x" */ in vxprintf()
[all …]
/titanic_44/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c704 const struct info *infop; /* Info[] table entry */ in buildcode() local
754 infop = dictval2info(dictval); in buildcode()
759 "%ssubtract offset %llu\n", debugstr, infop->offset); in buildcode()
760 if (bitv_sub(dictval, infop->offset) < 0) { in buildcode()
793 bitv_shiftin(allbits, 2, infop->sizeval); in buildcode()
794 bitv_shiftinv(allbits, infop->databits, dictval); in buildcode()
797 bitv_shiftin(allbits, infop->csumbits, 0); in buildcode()
800 limbit = infop->numx * 5; in buildcode()
801 for (bit = 0; bit < infop->numx; bit++) { in buildcode()
807 bitv_setlo(allbits, infop->csumbits, (unsigned)csum); in buildcode()
[all …]

12345