Home
last modified time | relevance | path

Searched refs:pm (Results 1 – 25 of 97) sorted by relevance

1234

/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpfstab.c101 assert(((mnttable == NULL) && (pm == NULL)) || (pm != NULL));
131 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm));
134 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm));
135 pm = pm->pm_next;
160 return (pm);
190 pm = addvfstab(VFSTAB, pm); in mnttabread()
219 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm));
222 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm));
223 pm = pm->pm_next;
229 return (pm);
[all …]
/illumos-gate/usr/src/lib/libppt/common/
H A Dlibppt.c292 ppt_match_t *pm; in get_matches() local
304 if ((pm = malloc(sizeof (*pm))) == NULL) { in get_matches()
310 bzero(pm, sizeof (*pm)); in get_matches()
320 (void) strlcpy(pm->pm_path, line, sizeof (pm->pm_path)); in get_matches()
326 free(pm); in get_matches()
349 for (ppt_match_t *pm = list_head(matches); pm != NULL; in match_ppt() local
350 pm = list_next(matches, pm)) { in match_ppt()
351 if (pm->pm_path[0] != '\0' && strcmp(pm->pm_path, path) == 0) in match_ppt()
444 for (ppt_match_t *pm = list_head(&nd.nd_matches); pm != NULL; ) { in ppt_list() local
446 free(pm); in ppt_list()
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A D__flt_decim.c270 if (pm->rd != fp_nearest) in __fast_double_to_decimal()
273 if (pm->df == fixed_form) { in __fast_double_to_decimal()
275 if (pm->ndigits < 0 || pm->ndigits > __TBL_TENS_MAX) in __fast_double_to_decimal()
280 if (pm->ndigits) { in __fast_double_to_decimal()
282 if (pm->ndigits > __TBL_TENS_EXACT) { in __fast_double_to_decimal()
283 dds *= __tbl_tens[pm->ndigits]; in __fast_double_to_decimal()
302 is = (pm->ndigits > 0)? pm->ndigits : 1; in __fast_double_to_decimal()
311 pd->exponent = -pm->ndigits; in __fast_double_to_decimal()
314 if (pm->ndigits < 1 || pm->ndigits > 18) in __fast_double_to_decimal()
339 i = pm->ndigits - 1 - (i - TBL_DECADE_OFFSET); in __fast_double_to_decimal()
[all …]
H A Ddouble_decim.c202 if (pm->df == fixed_form) { in __big_decimal_to_string()
204 er = -pm->ndigits; in __big_decimal_to_string()
224 elast = er = e - pm->ndigits + 1; in __big_decimal_to_string()
288 switch (pm->rd) { in __big_decimal_to_string()
317 if (pm->df == floating_form) { in __big_decimal_to_string()
349 if (pm->ndigits >= DECIMAL_STRING_LENGTH || pm->ndigits <= in __bigfloat_to_decimal()
359 if (pm->df == fixed_form) { in __bigfloat_to_decimal()
365 powten = pm->ndigits + 1; in __bigfloat_to_decimal()
390 powten = pm->ndigits + 1; in __bigfloat_to_decimal()
407 sigdigits = pm->ndigits + 2; in __bigfloat_to_decimal()
[all …]
H A Ddecimal_bin.c340 if (pm->rd != fp_nearest) in __fast_decimal_to_single()
438 if (pm->rd != fp_nearest || pd->ndigits > 18 || pd->exponent in __fast_decimal_to_double()
493 decimal_to_single(single *px, decimal_mode *pm, decimal_record *pd, in decimal_to_single() argument
553 if (__fast_decimal_to_single(px, pm, pd, &ef) == 1) { in decimal_to_single()
561 __pack_single(&u, px, pm->rd, &ef); in decimal_to_single()
632 if (__fast_decimal_to_double(px, pm, pd, &ef) == 1) { in decimal_to_double()
640 __pack_double(&u, px, pm->rd, &ef); in decimal_to_double()
712 if (__fast_decimal_to_double(&dd.x, pm, pd, &ef) == 1 && in decimal_to_extended()
727 __pack_extended(&u, px, pm->rd, &ef); in decimal_to_extended()
807 if (__fast_decimal_to_double(&dd.x, pm, pd, &ef) == 1 && in decimal_to_quadruple()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dputdgrp.c637 while (pm->next) pm = pm->next; in _adddgrptabrec()
640 pm->next = new->membership; in _adddgrptabrec()
643 for (pm = ent->membership; pm; pm = pm->next) { in _adddgrptabrec()
644 qm = pm; in _adddgrptabrec()
835 pm = ent->membership; in _rmdgrpmems()
837 while (pm && !found) { in _rmdgrpmems()
839 if (strcmp(*pp, pm->name) == 0) { in _rmdgrpmems()
844 if (pm->name) free(pm->name); in _rmdgrpmems()
845 free(pm); in _rmdgrpmems()
851 prev = pm; in _rmdgrpmems()
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c82 if (pm != NULL) in __fex_sym_init()
83 free(pm); in __fex_sym_init()
84 pm = lpm = NULL; in __fex_sym_init()
93 free(pm); in __fex_sym_init()
94 pm = NULL; in __fex_sym_init()
97 n = read(i, pm, statbuf.st_size); in __fex_sym_init()
101 free(pm); in __fex_sym_init()
102 pm = NULL; in __fex_sym_init()
229 if (a >= (char*)pm[i].pr_vaddr && a < (char*)pm[i].pr_vaddr + in __fex_sym()
230 pm[i].pr_size) in __fex_sym()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dinsfilter.c690 register PARM *pm; local
699 for (fail = 0, pm = parms; !fail && pm->keyword; pm++) {
701 if (!(pm->flags & X_MUST))
711 pt->result && MATCH(pt, pm))
804 register PARM *pm; local
819 for (pm = parms; pm->keyword; pm++) {
821 if ((pm->flags & X_USED) || !*(pm->pvalue))
838 if (MATCH(pt, pm)) {
844 *(pm->pvalue), pt->nbra);
859 pm->flags |= X_USED;
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c299 register char *pe, *pm, *pl; in execbrc() local
337 for (pl = pm = p; pm <= pe; pm += len) { in execbrc()
338 if ((len = mblen(pm, MB_CUR_MAX)) <= 0) in execbrc()
341 switch (*pm & (QUOTE|TRIM)) { in execbrc()
359 savec = *pm; in execbrc()
360 *pm = 0; in execbrc()
363 *pm = savec; in execbrc()
372 pl = pm + 1; in execbrc()
378 for (pm++; *pm && *pm != ']'; pm += len) { in execbrc()
383 if (!*pm) in execbrc()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c228 crypto_get_provider_mechanisms_t *pm, tmp; in C_GetMechanismList() local
269 pm = malloc(alloc_bytes); in C_GetMechanismList()
270 if (pm == NULL) in C_GetMechanismList()
273 pm->pm_provider_id = provider_id; in C_GetMechanismList()
274 pm->pm_count = tmp.pm_count; in C_GetMechanismList()
283 rv = crypto2pkcs11_error_number(pm->pm_return_value); in C_GetMechanismList()
289 for (i = 0; i < pm->pm_count; i++) { in C_GetMechanismList()
291 bcopy(&pm->pm_list[i][0], mechanism_info.mi_mechanism_name, in C_GetMechanismList()
335 if (strcmp(&pm->pm_list[i][0], "random") != 0) { in C_GetMechanismList()
337 if (pkcs11_str2mech(&pm->pm_list[i][0], in C_GetMechanismList()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dtimetype.sh56 tt[3]=2pm
65 tt[4]=5pm
71 tt[2pm]='2008-08-11+00:00:00,2pm'
75 [[ ${tt[2pm]} == *+14:00 ]] || err_exit "tt[2pm] failed -- expected 14:00, got '${tt[2pm]##*+}'"
78 (( (tt[2pm] - tt[today] ) == 14*3600 )) || err_exit "tt[2pm]-tt[today] failed -- expected 14*3600, …
/illumos-gate/usr/src/pkg/manifests/
H A Druntime-perl-module-sun-solaris.p5m28 <transform file path=.*\.pm -> default mode 0444>
43 $(BUILDPERL32)file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Intrs.pm
44 $(BUILDPERL32)file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Kstat.pm
45 $(BUILDPERL32)file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Lgrp.pm
46 $(BUILDPERL32)file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Project.pm
47 $(BUILDPERL32)file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Task.pm
48 $(BUILDPERL32)file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Utils.pm
69 $(BUILDPERL64)file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH64)/Sun/Solaris/Lgrp.pm
71 $(BUILDPERL64)file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH64)/Sun/Solaris/Task.pm
91 file path=usr/perl5/$(PERL_VERSION)/lib/Sun/Solaris/BSM/_BSMparse.pm
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dexpand.c345 register char *pe, *pm, *pl; local
380 for (pl = pm = p; pm <= pe; pm++)
381 switch (*pm & (QUOTE|TRIM)) {
398 savec = *pm;
399 *pm = 0;
407 *pm = savec;
416 pl = pm + 1;
420 for (pm++; *pm && *pm != ']'; pm++)
422 if (!*pm)
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dmutex-16200.c152 pthread_mutex_t pm; in mutex_test_thr() local
154 VERIFY0(pthread_mutex_init(&pm, attrp)); in mutex_test_thr()
155 ret = pthread_mutex_unlock(&pm); in mutex_test_thr()
168 pthread_mutex_t pm; in mutex_test_thr() local
170 VERIFY0(pthread_mutex_init(&pm, attrp)); in mutex_test_thr()
171 VERIFY0(pthread_mutex_lock(&pm)); in mutex_test_thr()
172 ret = pthread_mutex_lock(&pm); in mutex_test_thr()
/illumos-gate/usr/src/cmd/localedef/
H A Dtime.c123 } else if (tm.pm == NULL) { in add_time_list()
124 tm.pm = str; in add_time_list()
162 if (tm.pm != NULL) in check_time_list()
208 free((char *)tm.pm); in reset_time_list()
209 tm.pm = NULL; in reset_time_list()
256 (putl_category(tm.pm, f) == EOF) || in dump_time()
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_check.c124 find_procname(rpcproc_t procnum, boolean_t pm) in find_procname() argument
129 if (pm) { in find_procname()
149 boolean_t pm) in rpcb_log() argument
177 if ((procname = find_procname(proc, pm)) == NULL) { in rpcb_log()
180 verdict ? "" : "refused ", client, pm ? "pmap" : "rpcb", in rpcb_log()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.glob.c288 tchar *pe, *pm, *pl; in execbrc() local
321 for (pl = pm = p; pm <= pe; pm++) in execbrc()
322 switch (*pm & (QUOTE|TRIM)) { in execbrc()
339 savec = *pm; in execbrc()
340 *pm = 0; in execbrc()
343 *pm = savec; in execbrc()
352 pl = pm + 1; in execbrc()
356 for (pm++; *pm && *pm != ']'; pm++) in execbrc()
358 if (!*pm) in execbrc()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/
H A Dlmrc_phys.c62 lmrc_pd_map_t *pm; in lmrc_get_pdmap() local
76 pm = mfi->mfi_data_dma.ld_buf; in lmrc_get_pdmap()
78 if (pm->pm_count > LMRC_MAX_PHYS_DEV) { in lmrc_get_pdmap()
80 "!FW reports too many PDs: %d", pm->pm_count); in lmrc_get_pdmap()
86 pm->pm_count * sizeof (lmrc_pd_cfg_t); in lmrc_get_pdmap()
88 bcopy(pm, *pdmap, pdmap_sz); in lmrc_get_pdmap()
139 lmrc_pd_map_t *pm = dma->ld_buf; in lmrc_complete_sync_pdmap() local
167 bcopy(pm, lmrc->l_pdmap, pdmap_sz); in lmrc_complete_sync_pdmap()
169 bzero(pm, pdmap_sz); in lmrc_complete_sync_pdmap()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_prop.c151 if (topo_method_call(node, pm->tpm_name, pm->tpm_version, in prop_method_get()
832 ret = topo_method_call(node, pm->tpm_name, pm->tpm_version, in topo_prop_setprop()
859 if (pm != NULL) { in register_methoderror()
860 if (pm->tpm_name != NULL) in register_methoderror()
862 nvlist_free(pm->tpm_args); in register_methoderror()
891 pm->tpm_version = version; in prop_method_register()
927 pv->tp_method = pm; in prop_method_register()
1307 topo_propmethod_t *pm; in propmethod_destroy() local
1309 pm = pv->tp_method; in propmethod_destroy()
1310 if (pm != NULL) { in propmethod_destroy()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Daudio_link.c121 #define COPYSUB(to, from, pm, pos) (void) strncpy(to, &from[pm[pos].rm_so], \ argument
122 pm[pos].rm_eo - pm[pos].rm_so); \
123 to[pm[pos].rm_eo - pm[pos].rm_so] = 0;
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c473 uftdi_pm_t *pm = uf->uf_pm; in uftdi_usb_power() local
478 if (!pm) in uftdi_usb_power()
497 if (pm->pm_raise_power && (level < (int)pm->pm_cur_power)) { in uftdi_usb_power()
1271 uftdi_pm_t *pm; in uftdi_create_pm_components() local
1280 pm = uf->uf_pm = kmem_zalloc(sizeof (*pm), KM_SLEEP); in uftdi_create_pm_components()
1299 uftdi_pm_t *pm = uf->uf_pm; in uftdi_destroy_pm_components() local
1303 if (!pm) in uftdi_destroy_pm_components()
1324 kmem_free(pm, sizeof (*pm)); in uftdi_destroy_pm_components()
1335 uftdi_pm_t *pm = uf->uf_pm; in uftdi_pm_set_busy() local
1341 if (!pm) in uftdi_pm_set_busy()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dpl2303_dsd.c470 pl2303_pm_t *pm = plp->pl_pm; in pl2303_usb_power() local
475 if (!pm) { in pl2303_usb_power()
496 if (pm->pm_raise_power && (level < (int)pm->pm_cur_power)) { in pl2303_usb_power()
1210 pl2303_pm_t *pm; in pl2303_create_pm_components() local
1243 if (!pm) in pl2303_destroy_pm_components()
1284 if (!pm) { in pl2303_pm_set_busy()
1291 if (pm->pm_busy_cnt++ > 0) { in pl2303_pm_set_busy()
1307 pm->pm_raise_power = B_TRUE; in pl2303_pm_set_busy()
1334 if (!pm) { in pl2303_pm_set_idle()
1343 if (--pm->pm_busy_cnt > 0) { in pl2303_pm_set_idle()
[all …]
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dglob.c326 const wcat_t *pe, *pm, *pl; in globexp2() local
330 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++) in globexp2()
348 pe = pm; in globexp2()
362 for (i = 0, pl = pm = ptr; pm <= pe; pm++) { in globexp2()
363 switch (pm->w_wc) { in globexp2()
366 for (pl = pm++; pm->w_wc != RBRACKET && pm->w_wc != EOS; in globexp2()
367 pm++) in globexp2()
369 if (pm->w_wc == EOS) { in globexp2()
374 pm = pl; in globexp2()
389 if (i && pm->w_wc == COMMA) in globexp2()
[all …]
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4u_memlist.c82 struct sun4u_prom_memlist *pm = scratch_memlist; in fill_memlists() local
120 (void) prom_getprop(node, prop, (caddr_t)pm); in fill_memlists()
121 sort_reglist(pm, links); in fill_memlists()
122 al = reg_to_list(pm, links, old); in fill_memlists()
/illumos-gate/usr/src/cmd/perl/
H A DMakefile.perl29 PERLMOD = ../$(MODULE).pm
41 ROOTPERLMOD = $(ROOTPERLMODDIR)/$(MODULE).pm
43 ROOTPERLMOD64 = $(ROOTPERLMODDIR64)/$(MODULE).pm

1234