Searched defs:pu (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/fp/
H A Dhex_bin.c37 * Convert a hexadecimal record in *pd to unpacked form in *pu.
45 __hex_to_unpacked(decimal_record *pd, unpacked *pu) argument
49 pu->sign = pd->sign;
50 pu->fpclass = pd->fpclass;
55 * digit while the radix point in *pu lies to the right of the
58 pu->exponent = pd->exponent + (pd->ndigits << 2) - 1;
62 pu->significand[i] = 0;
68 pu->significand[i >> 3] |= HEXVAL(pd->ds[i]) <<
73 if (pu->significand[0] == 0) {
74 pu
[all...]
H A Dpack_float.c33 __fp_rightshift(unpacked *pu, int n) argument
41 for (i = 0; (pu->significand[i] == 0) && (i < UNPACKED_SIZE);
44 pu->fpclass = fp_zero;
48 pu->significand[i] = 0;
49 pu->significand[UNPACKED_SIZE - 1] = 1;
54 if (pu->significand[UNPACKED_SIZE - 1] != 0)
55 pu->significand[UNPACKED_SIZE - 2] |= 1;
57 pu->significand[i + 1] = pu->significand[i];
58 pu
100 round(unpacked *pu, int roundword, enum fp_direction_type rd, int *ex) argument
154 __pack_single(unpacked *pu, single *px, enum fp_direction_type rd, fp_exception_field_type *ex) argument
218 __pack_double(unpacked *pu, double *px, enum fp_direction_type rd, fp_exception_field_type *ex) argument
291 __pack_extended(unpacked *pu, extended *px, enum fp_direction_type rd, fp_exception_field_type *ex) argument
359 __pack_quadruple(unpacked *pu, quadruple *px, enum fp_direction_type rd, fp_exception_field_type *ex) argument
[all...]
/illumos-gate/usr/src/tools/smatch/src/
H A Dunssa.c40 struct pseudo_user *pu; local
55 FOR_EACH_PTR(target->users, pu) {
56 use_pseudo(pu->insn, tmp, pu->userp);
57 } END_FOR_EACH_PTR(pu);
H A Dmemops.c67 struct pseudo_user *pu; local
68 FOR_EACH_PTR(pseudo->users, pu) {
69 struct instruction *insn = pu->insn;
72 if (pu->userp != &insn->src)
74 } END_FOR_EACH_PTR(pu);
H A Dssa.c127 struct pseudo_user *pu; local
129 FOR_EACH_PTR(addr->users, pu) {
130 struct instruction *insn = pu->insn;
154 } END_FOR_EACH_PTR(pu);
176 struct pseudo_user *pu; local
202 FOR_EACH_PTR(addr->users, pu) {
203 struct instruction *insn = pu->insn;
229 } END_FOR_EACH_PTR(pu);
H A Dflow.c287 struct pseudo_user *pu; local
294 FOR_EACH_PTR(target->users, pu) {
295 if (*pu->userp != VOID) {
296 assert(*pu->userp == target);
297 *pu->userp = src;
299 } END_FOR_EACH_PTR(pu);
490 struct pseudo_user *pu; local
491 FOR_EACH_PTR(p->users, pu) {
492 if (!pu)
494 return pu;
509 struct pseudo_user *pu = first_user(addr); local
[all...]
H A Dsimplify.c243 struct pseudo_user *pu; local
245 FOR_EACH_PTR(*list, pu) {
246 if (pu->userp == entry) {
247 MARK_CURRENT_DELETED(pu);
251 } END_FOR_EACH_PTR(pu);
H A Dlinearize.c563 struct pseudo_user *pu; local
566 FOR_EACH_PTR(pseudo->users, pu) {
567 printf("\t%s\n", show_instruction(pu->insn));
568 } END_FOR_EACH_PTR(pu);
/illumos-gate/usr/src/uts/sparc/fpu/
H A Dunpack.c36 unpacked *pu, /* unpacked result */
41 pu->sticky = pu->rounded = 0;
43 pu->sign = 0;
44 pu->fpclass = fp_zero;
46 (*pu).sign = x < 0;
47 (*pu).fpclass = fp_normal;
48 (*pu).exponent = INTEGER_BIAS;
50 (*pu).significand[0] = ux>>15;
51 (*pu)
35 unpackint32( unpacked *pu, int32_t x) argument
69 unpackint64( unpacked *pu, int64_t x) argument
98 unpacksingle( fp_simd_type *pfpsd, unpacked *pu, single_type x) argument
145 unpackdouble( fp_simd_type *pfpsd, unpacked *pu, double_type x, uint_t y) argument
195 unpackextended( fp_simd_type *pfpsd, unpacked *pu, extended_type x, uint32_t y, uint32_t z, uint32_t w) argument
243 _fp_unpack( fp_simd_type *pfpsd, unpacked *pu, uint_t n, enum fp_op_type dtype) argument
290 _fp_unpack_word( fp_simd_type *pfpsd, uint32_t *pu, uint_t n) argument
299 _fp_unpack_extword( fp_simd_type *pfpsd, uint64_t *pu, uint_t n) argument
[all...]
H A Dpack.c67 unpacked *pu) /* unpacked result */
72 sr = pu->sticky|pu->rounded;
79 increment = pu->rounded;
85 increment = (pu->sign == 0) & (sr != 0);
88 increment = (pu->sign != 0) & (sr != 0);
92 pu->significand[3]++;
93 if (pu->significand[3] == 0) {
94 pu->significand[2]++;
95 if (pu
65 round( fp_simd_type *pfpsd, unpacked *pu) argument
114 packint32( fp_simd_type *pfpsd, unpacked *pu, int32_t *px) argument
150 packint64( fp_simd_type *pfpsd, unpacked *pu, int64_t *px) argument
196 packsingle( fp_simd_type *pfpsd, unpacked *pu, single_type *px) argument
270 packdouble( fp_simd_type *pfpsd, unpacked *pu, double_type *px, uint_t *py) argument
354 packextended( fp_simd_type *pfpsd, unpacked *pu, extended_type *px, uint_t *py, uint_t *pz, uint_t *pw) argument
447 _fp_pack( fp_simd_type *pfpsd, unpacked *pu, uint_t n, enum fp_op_type type) argument
567 _fp_pack_word( fp_simd_type *pfpsd, uint32_t *pu, uint_t n) argument
576 _fp_pack_extword( fp_simd_type *pfpsd, uint64_t *pu, uint_t n) argument
[all...]
H A Dutility.c76 fpu_normalize(unpacked *pu) argument
79 u0 = pu->significand[0];
80 u1 = pu->significand[1];
81 u2 = pu->significand[2];
82 u3 = pu->significand[3];
83 if ((*pu).fpclass == fp_normal) {
85 (*pu).fpclass = fp_zero;
90 (*pu).exponent = (*pu).exponent - 32;
100 (*pu)
130 fpu_rightshift(unpacked *pu, int n) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dboot.c55 pu; local
62 pu.aout = (struct exec *) buffer;
100 || pu.elf->e_ident[EI_OSABI] == ELFOSABI_FREEBSD
101 || grub_strcmp (pu.elf->e_ident + EI_BRAND, "FreeBSD") == 0
107 entry_addr = (entry_func) pu.elf->e_entry;
109 entry_addr = (entry_func) (pu.elf->e_entry & 0xFFFFFF);
116 if (pu.elf->e_phoff == 0 || pu.elf->e_phnum == 0
117 || ((pu.elf->e_phoff + (pu
[all...]
/illumos-gate/usr/src/cmd/units/
H A Dunits.c86 int pu(int u, int i, int f);
162 f |= pu(p->dim[i], i, f);
167 f |= pu(-p->dim[i], i, f);
173 pu(int u, int i, int f) function
/illumos-gate/usr/src/uts/common/syscall/
H A Dexacctsys.c105 proc_usage_t *pu; local
118 pu = kmem_zalloc(sizeof (proc_usage_t), KM_SLEEP);
119 pu->pu_command = kmem_zalloc(MAXCOMLEN + 1, KM_SLEEP);
124 kmem_free(pu->pu_command, MAXCOMLEN + 1);
125 kmem_free(pu, sizeof (proc_usage_t));
131 exacct_calculate_proc_usage(p, pu, ac_mask, EW_PARTIAL, 0);
134 error = exacct_assemble_proc_usage(ac_proc, pu,
137 kmem_free(pu->pu_command, MAXCOMLEN + 1);
138 kmem_free(pu, sizeof (proc_usage_t));
250 proc_usage_t *pu; local
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dvalidate.c656 register USER *pu = Getuser(prs->secure->user); local
719 if (pu && prs->request->priority < pu->priority_limit)
720 prs->request->priority = pu->priority_limit;
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_sched.c1397 user_t *pu = PTOU(curproc); local
1406 (void) snprintf(pu->u_psargs, sizeof (pu->u_psargs), "kcfpoold");
1407 (void) strlcpy(pu->u_comm, pu->u_psargs, sizeof (pu->u_comm));
/illumos-gate/usr/src/uts/common/os/
H A Dexacct.c748 exacct_attach_proc_item(proc_usage_t *pu, ea_object_t *record, int res) argument
754 (void) ea_attach_item(record, &pu->pu_pid,
758 (void) ea_attach_item(record, &pu->pu_ruid,
762 (void) ea_attach_item(record, &pu->pu_acflag,
766 (void) ea_attach_item(record, &pu->pu_rgid,
770 (void) ea_attach_item(record, &pu->pu_projid,
774 (void) ea_attach_item(record, &pu->pu_taskid,
778 (void) ea_attach_item(record, &pu->pu_utimesec,
780 (void) ea_attach_item(record, &pu->pu_utimensec,
782 (void) ea_attach_item(record, &pu
864 exacct_assemble_proc_record(proc_usage_t *pu, ulong_t *mask, ea_catalog_t record_type) argument
889 exacct_calculate_proc_mstate(proc_t *p, proc_usage_t *pu) argument
914 exacct_copy_proc_mstate(proc_t *p, proc_usage_t *pu) argument
931 exacct_calculate_proc_usage(proc_t *p, proc_usage_t *pu, ulong_t *mask, int flag, int wstat) argument
1022 exacct_assemble_proc_usage(ac_info_t *ac_proc, proc_usage_t *pu, int (*callback)(ac_info_t *, void *, size_t, void *, size_t, size_t *), void *ubuf, size_t ubufsize, size_t *actual, int flag) argument
1108 proc_usage_t *pu; local
[all...]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_dbus.c2372 PendingUpdate *pu; local
2374 pu = g_new0 (PendingUpdate, 1);
2375 pu->udi = g_strdup (udi);
2376 pu->key = g_strdup (key);
2377 pu->removed = removed;
2378 pu->added = added;
2379 pu->next = pending_updates_head;
2381 pending_updates_head = pu;
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.c997 ns_conn_user_t *pu, *u; local
1020 pu = cm->cu_head;
1024 pu = u;
1026 if (pu != cm->cu_tail) {
1027 pu->next = cu->next;
1028 if (pu->next == NULL)
1029 cm->cu_tail = pu;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c1082 user_t *pu = PTOU(curproc); local
1088 (void) snprintf(pu->u_psargs, sizeof (pu->u_psargs),
1090 (void) strlcpy(pu->u_comm, pu->u_psargs, sizeof (pu->u_comm));

Completed in 161 milliseconds