Home
last modified time | relevance | path

Searched refs:acc (Results 1 – 25 of 73) sorted by relevance

123

/illumos-gate/usr/src/uts/sparc/fpu/
H A Dmul.c75 s = r = acc[0] = acc[1] = acc[2] = acc[3] = 0;
83 acc[3] = ((acc[2]&1)<<31)|(acc[3]>>1);
84 acc[2] = ((acc[1]&1)<<31)|(acc[2]>>1);
85 acc[1] = ((acc[0]&1)<<31)|(acc[1]>>1);
104 acc[3] = ((acc[2]&1)<<31)|(acc[3]>>1);
105 acc[2] = ((acc[1]&1)<<31)|(acc[2]>>1);
106 acc[1] = ((acc[0]&1)<<31)|(acc[1]>>1);
120 acc[3] = acc[2]; acc[2] = acc[1]; acc[1] = acc[0]; acc[0] = 0;
129 acc[3] = ((acc[2]&1)<<31)|(acc[3]>>1);
130 acc[2] = ((acc[1]&1)<<31)|(acc[2]>>1);
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgen.c131 if (!(acc = memget(sizeof *acc))) { in irs_gen_acc()
135 memset(acc, 0x5e, sizeof *acc); in irs_gen_acc()
138 memput(acc, sizeof *acc); in irs_gen_acc()
352 if (inst->acc == NULL && accs[acc] != NULL) in add_rule()
353 inst->acc = (*accs[acc])(irs->options); in add_rule()
356 inst->gr = (*inst->acc->gr_map)(inst->acc); in add_rule()
358 inst->pw = (*inst->acc->pw_map)(inst->acc); in add_rule()
360 inst->sv = (*inst->acc->sv_map)(inst->acc); in add_rule()
362 inst->pr = (*inst->acc->pr_map)(inst->acc); in add_rule()
364 inst->ho = (*inst->acc->ho_map)(inst->acc); in add_rule()
[all …]
H A Ddns.c56 struct irs_acc *acc; in irs_dns_acc() local
61 if (!(acc = memget(sizeof *acc))) { in irs_dns_acc()
65 memset(acc, 0x5e, sizeof *acc); in irs_dns_acc()
68 memput(acc, sizeof *acc); in irs_dns_acc()
82 acc->private = dns; in irs_dns_acc()
84 acc->gr_map = irs_dns_gr; in irs_dns_acc()
86 acc->gr_map = NULL; in irs_dns_acc()
89 acc->pw_map = irs_dns_pw; in irs_dns_acc()
91 acc->pw_map = NULL; in irs_dns_acc()
100 acc->close = dns_close; in irs_dns_acc()
[all …]
H A Dlcl.c49 struct irs_acc *acc; in irs_lcl_acc() local
54 if (!(acc = memget(sizeof *acc))) { in irs_lcl_acc()
58 memset(acc, 0x5e, sizeof *acc); in irs_lcl_acc()
61 free(acc); in irs_lcl_acc()
67 acc->private = lcl; in irs_lcl_acc()
69 acc->gr_map = irs_lcl_gr; in irs_lcl_acc()
71 acc->gr_map = NULL; in irs_lcl_acc()
74 acc->pw_map = irs_lcl_pw; in irs_lcl_acc()
76 acc->pw_map = NULL; in irs_lcl_acc()
85 acc->close = lcl_close; in irs_lcl_acc()
[all …]
H A Dnis.c60 struct irs_acc *acc; in irs_nis_acc() local
72 if (!(acc = memget(sizeof *acc))) { in irs_nis_acc()
77 memset(acc, 0x5e, sizeof *acc); in irs_nis_acc()
78 acc->private = nis; in irs_nis_acc()
81 acc->gr_map = irs_nis_gr; in irs_nis_acc()
83 acc->gr_map = NULL; in irs_nis_acc()
86 acc->pw_map = irs_nis_pw; in irs_nis_acc()
88 acc->pw_map = NULL; in irs_nis_acc()
90 acc->sv_map = irs_nis_sv; in irs_nis_acc()
97 acc->close = nis_close; in irs_nis_acc()
[all …]
H A Dirp.c78 struct irs_acc *acc; in irs_irp_acc() local
83 if (!(acc = memget(sizeof *acc))) { in irs_irp_acc()
87 memset(acc, 0x5e, sizeof *acc); in irs_irp_acc()
90 free(acc); in irs_irp_acc()
96 acc->private = irp; in irs_irp_acc()
99 acc->gr_map = irs_irp_gr; in irs_irp_acc()
101 acc->gr_map = NULL; in irs_irp_acc()
104 acc->pw_map = irs_irp_pw; in irs_irp_acc()
106 acc->pw_map = NULL; in irs_irp_acc()
113 acc->close = irp_close; in irs_irp_acc()
[all …]
/illumos-gate/usr/src/uts/common/io/vr/
H A Dvr.h164 ddi_get8((acc)->hdl, \
174 ddi_put8((acc)->hdl, \
187 VR_PUT8(acc, r, VR_GET8(acc, r) & ~(b))
189 VR_PUT16(acc, r, VR_GET16(acc, r) & ~(b))
191 VR_PUT32(acc, r, VR_GET32(acc, r) & ~(b))
197 VR_PUT8(acc, r, (VR_GET8(acc, r) | (b)))
199 VR_PUT16(acc, r, (VR_GET16(acc, r) | (b)))
201 VR_PUT32(acc, r, (VR_GET32(acc, r) | (b)))
207 VR_PUT8(acc, r, (VR_GET8(acc, r) & ~(b)) | (v))
209 VR_PUT16(acc, r, (VR_GET16(acc, r) & ~(b)) | (v))
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrto.c134 if (acc < cutoff || (acc == cutoff && c > cutlim))
143 acc *= base;
144 acc -= c;
149 if (acc > cutoff || (acc == cutoff && c > cutlim))
158 acc *= base;
159 acc += c;
165 return acc;
238 if (acc > cutoff || (acc == cutoff && c > cutlim))
248 acc += c;
252 acc = -((LONGLONG_T) acc);
[all …]
/illumos-gate/usr/src/cmd/troff/
H A Dn4.c433 acc = 0; in atoi0()
449 acc += i; in atoi0()
455 acc -= i; in atoi0()
461 acc *= i; in atoi0()
470 acc = 0; in atoi0()
478 acc %= i; in atoi0()
573 long acc; local
577 acc = 0;
602 acc = 10 * acc + i - '0';
661 acc = -acc;
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrtoul.c59 u_long acc, cutoff; in strtoul() local
85 for (acc = 0, any = 0;; c = *(const unsigned char*)s++) { in strtoul()
94 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoul()
98 acc *= base; in strtoul()
99 acc += c; in strtoul()
103 acc = ULONG_MAX; in strtoul()
106 acc = -acc; in strtoul()
109 return (acc); in strtoul()
/illumos-gate/usr/src/lib/libc/port/fp/
H A D__x_power.c162 unsigned int acc, p; in __multiply_base_two_vector() local
166 acc = 0; in __multiply_base_two_vector()
170 if (p < acc) in __multiply_base_two_vector()
172 acc = p; in __multiply_base_two_vector()
195 unsigned int acc; in __multiply_base_ten_vector() local
199 acc = 0; in __multiply_base_ten_vector()
202 acc = px[i] * py[n - 1 - i] + acc; in __multiply_base_ten_vector()
203 if (acc >= ABASE) { in __multiply_base_ten_vector()
205 acc -= ABASE; in __multiply_base_ten_vector()
209 acc = acc / 10000; in __multiply_base_ten_vector()
[all …]
H A Ddecimal_bin.c289 int i, acc; in __digits_to_double() local
293 acc = s[0] - '0'; in __digits_to_double()
296 acc = (acc << 1) + (acc << 3) + s[i] - '0'; in __digits_to_double()
298 t = (double)acc; in __digits_to_double()
301 acc = s[0] - '0'; in __digits_to_double()
304 acc = (acc << 1) + (acc << 3) + s[i] - '0'; in __digits_to_double()
306 th = 1.0e9 * (double)acc; /* this will be exact */ in __digits_to_double()
307 acc = s[n - 9] - '0'; in __digits_to_double()
310 acc = (acc << 1) + (acc << 3) + s[i] - '0'; in __digits_to_double()
312 tl = (double)acc; in __digits_to_double()
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmcs.c110 vmcs_seg_desc_encoding(int seg, uint32_t *base, uint32_t *lim, uint32_t *acc) in vmcs_seg_desc_encoding() argument
116 *acc = VMCS_GUEST_ES_ACCESS_RIGHTS; in vmcs_seg_desc_encoding()
121 *acc = VMCS_GUEST_CS_ACCESS_RIGHTS; in vmcs_seg_desc_encoding()
126 *acc = VMCS_GUEST_SS_ACCESS_RIGHTS; in vmcs_seg_desc_encoding()
131 *acc = VMCS_GUEST_DS_ACCESS_RIGHTS; in vmcs_seg_desc_encoding()
136 *acc = VMCS_GUEST_FS_ACCESS_RIGHTS; in vmcs_seg_desc_encoding()
141 *acc = VMCS_GUEST_GS_ACCESS_RIGHTS; in vmcs_seg_desc_encoding()
146 *acc = VMCS_GUEST_TR_ACCESS_RIGHTS; in vmcs_seg_desc_encoding()
151 *acc = VMCS_GUEST_LDTR_ACCESS_RIGHTS; in vmcs_seg_desc_encoding()
156 *acc = VMCS_INVALID_ENCODING; in vmcs_seg_desc_encoding()
[all …]
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c1108 ddi_acc_handle_t acc; in aac_shutdown() local
1515 ddi_put32(acc, in aac_process_intr_old()
2506 ddi_acc_handle_t acc; in aac_get_adapter_info() local
2609 ddi_acc_handle_t acc; in aac_get_bus_info() local
2711 ddi_acc_handle_t acc; in aac_handle_adapter_config_issues() local
3227 pi = ddi_get32(acc, in aac_fib_enqueue()
3229 ci = ddi_get32(acc, in aac_fib_enqueue()
3283 pi = ddi_get32(acc, in aac_fib_dequeue()
3285 ci = ddi_get32(acc, in aac_fib_dequeue()
3375 ddi_acc_handle_t acc; in aac_get_container_count() local
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_acache.c66 nfs4_access_check(rnode4_t *rp, uint32_t acc, cred_t *cr) in nfs4_access_check() argument
83 if ((ap->known & acc) == acc) { in nfs4_access_check()
87 if ((ap->allowed & acc) == acc) in nfs4_access_check()
112 nfs4_access_cache(rnode4_t *rp, uint32_t acc, uint32_t resacc, cred_t *cr) in nfs4_access_cache() argument
127 nap->known = acc; in nfs4_access_cache()
141 ap->known |= acc; in nfs4_access_cache()
142 ap->allowed &= ~acc; in nfs4_access_cache()
H A Dnfs_acl_vnops.c284 uint32 acc; in acl_access2() local
292 acc = 0; in acl_access2()
294 acc |= ACCESS2_READ; in acl_access2()
299 acc |= ACCESS2_DELETE; in acl_access2()
300 acc |= ACCESS2_MODIFY | ACCESS2_EXTEND; in acl_access2()
304 acc |= ACCESS2_LOOKUP; in acl_access2()
306 acc |= ACCESS2_EXECUTE; in acl_access2()
337 cacc = nfs_access_check(rp, acc, cr); in acl_access2()
386 if ((acc & res.resok.access) != acc) { in acl_access2()
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_context.c59 ddi_device_acc_attr_t acc; in xhci_scratchpad_alloc() local
67 xhci_dma_acc_attr(xhcip, &acc); in xhci_scratchpad_alloc()
70 if (xhci_dma_alloc(xhcip, &xsp->xsp_addr_dma, &attr, &acc, in xhci_scratchpad_alloc()
90 if (xhci_dma_alloc(xhcip, &xsp->xsp_scratch_dma[i], &attr, &acc, in xhci_scratchpad_alloc()
118 ddi_device_acc_attr_t acc; in xhci_dcbaa_alloc() local
122 xhci_dma_acc_attr(xhcip, &acc); in xhci_dcbaa_alloc()
124 if (xhci_dma_alloc(xhcip, &dcb->xdc_dma, &attr, &acc, in xhci_dcbaa_alloc()
H A Dxhci_event.c56 ddi_device_acc_attr_t acc; in xhci_event_alloc() local
63 xhci_dma_acc_attr(xhcip, &acc); in xhci_event_alloc()
65 if (!xhci_dma_alloc(xhcip, &xev->xev_dma, &attr, &acc, B_FALSE, in xhci_event_alloc()
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_connects.c153 evAccept *acc, *nxtacc; in evCancelConn() local
184 for (acc = HEAD(ctx->accepts), nxtacc = NULL; in evCancelConn()
185 acc != NULL; in evCancelConn()
186 acc = nxtacc) in evCancelConn()
188 nxtacc = NEXT(acc, link); in evCancelConn()
189 if (acc->conn == this) { in evCancelConn()
190 UNLINK(ctx->accepts, acc, link); in evCancelConn()
191 close(acc->fd); in evCancelConn()
192 FREE(acc); in evCancelConn()
/illumos-gate/usr/src/uts/common/io/ena/
H A Dena_dma.c119 ddi_device_acc_attr_t acc; in ena_dma_alloc() local
125 acc.devacc_attr_version = DDI_DEVICE_ATTR_V1; in ena_dma_alloc()
126 acc.devacc_attr_endian_flags = conf->edc_endian; in ena_dma_alloc()
127 acc.devacc_attr_dataorder = DDI_STRICTORDER_ACC; in ena_dma_alloc()
136 ret = ddi_dma_mem_alloc(edb->edb_dma_hdl, size, &acc, flags, in ena_dma_alloc()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math_scalar.c92 #define XOR_ACC(src, acc) acc.e ^= ((v_t *)src)[0].e argument
93 #define XOR(src, acc) acc.e ^= src.e argument
94 #define ZERO(acc) acc.e = 0 argument
/illumos-gate/usr/src/common/bignum/
H A Dmont_mulf.c215 int64_t acc; in adjust_montf_result() local
226 acc = 0; in adjust_montf_result()
228 acc = acc + (uint64_t)(i32[i]) - (uint64_t)(nint[i]); in adjust_montf_result()
229 i32[i] = acc & 0xffffffff; in adjust_montf_result()
230 acc = acc >> 32; in adjust_montf_result()
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcpci.c551 ddi_device_acc_attr_t acc; in pfc_map_in() local
567 acc.devacc_attr_version = DDI_DEVICE_ATTR_V0; in pfc_map_in()
573 acc.devacc_attr_dataorder = DDI_STRICTORDER_ACC; in pfc_map_in()
837 ddi_device_acc_attr_t acc; in pfc_config_fetch() local
893 acc.devacc_attr_version = DDI_DEVICE_ATTR_V0; in pfc_config_fetch()
972 ddi_device_acc_attr_t acc; in pfc_config_store() local
1024 acc.devacc_attr_version = DDI_DEVICE_ATTR_V0; in pfc_config_store()
1275 ddi_device_acc_attr_t acc; in pci_alloc_resource() local
1356 acc.devacc_attr_version = DDI_DEVICE_ATTR_V0; in pci_alloc_resource()
1568 ddi_device_acc_attr_t acc; in pci_free_resource() local
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dbofi.c2645 return (hp->save.acc.ahi_get8(&hp->save.acc, addr)); in bofi_rd8()
2672 return (hp->save.acc.ahi_get16(&hp->save.acc, addr)); in bofi_rd16()
2699 return (hp->save.acc.ahi_get32(&hp->save.acc, addr)); in bofi_rd32()
2726 return (hp->save.acc.ahi_get64(&hp->save.acc, addr)); in bofi_rd64()
2756 hp->save.acc.ahi_put8(&hp->save.acc, addr, (uint8_t)llvalue); in bofi_wr8()
2760 hp->save.acc.ahi_put8(&hp->save.acc, addr, (uint8_t)llvalue); in bofi_wr8()
2855 hp->save.acc.ahi_rep_get8(&hp->save.acc, host_addr, dev_addr, in bofi_rep_rd8()
2986 hp->save.acc.ahi_put8(&hp->save.acc, addr, in bofi_rep_wr8()
3017 hp->save.acc.ahi_put16(&hp->save.acc, addr, in bofi_rep_wr16()
3048 hp->save.acc.ahi_put32(&hp->save.acc, addr, in bofi_rep_wr32()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioPipe.cc40 const FileAccess acc, // access mode in AudioPipe() argument
42 AudioUnixfile(name_local, acc) in AudioPipe()

123