Searched defs:as (Results 1 - 25 of 149) sorted by relevance

123456

/illumos-gate/usr/src/lib/libast/common/hash/
H A Dstrhash.c37 strhash(const char* as) argument
39 register const unsigned char* s = (const unsigned char*)as;
H A Dstrsum.c42 strsum(const char* as, register unsigned long c) argument
44 register const unsigned char* s = (const unsigned char*)as;
H A Dmemhash.c37 memhash(const void* as, int n) argument
39 register const unsigned char* s = (const unsigned char*)as;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmkstemp.c12 mkstemp(char *as) argument
19 s = as;
29 while ((fd = open(as, O_CREAT|O_EXCL|O_RDWR, 0600)) == -1) {
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_as.c35 av1394_as_init(av1394_as_t *as) argument
37 as->as_end = 0;
41 av1394_as_fini(av1394_as_t *as) argument
43 as->as_end = 0;
50 av1394_as_alloc(av1394_as_t *as, size_t size) argument
54 addr = as->as_end;
55 as->as_end += size;
61 av1394_as_free(av1394_as_t *as, off_t addr) argument
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_rm.c53 #include <vm/as.h>
62 * This is currently implemented as the number of active hardware
71 rm_asrss(as)
72 register struct as *as;
74 if (as != (struct as *)NULL && as != &kas)
75 return ((size_t)btop(hat_get_mapped_size(as->a_hat)));
83 * Defined as th
88 rm_pctmemory(struct as *as) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_auth.c134 enum auth_stat as; local
136 as = (*asp->handler)(rqst, msg);
138 return (as);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmkstemp.c64 libc_mkstemps(char *as, int slen, int flags) argument
70 if (as == NULL || *as == NULL)
73 len = (int)strlen(as);
75 (void) strcpy(tstr, as);
90 mkret = libc_mktemps(as, slen);
96 if ((fd = open64(as, O_CREAT|O_EXCL|O_RDWR|flags,
101 if ((fd = open(as, O_CREAT|O_EXCL|O_RDWR|flags,
116 (void) strcpy(as, tstr);
121 mkstemp(char *as) argument
127 mkstemps(char *as, int slen) argument
133 mkostemp(char *as, int flags) argument
139 mkostemps(char *as, int slen, int flags) argument
[all...]
H A Dmktemp.c98 libc_mktemps(char *as, int slen) argument
117 if (as == NULL || *as == '\0') /* If the string passed is null then */
118 return (as); /* a pointer to a null string is returned. */
143 len = (int)strlen(as);
147 s = as + (len - 1);
166 s = as + len;
167 for (xcnt = previous_xcnt; xcnt && s > as; xcnt--) {
183 lstat64(as, &buf) == -1 && errno == ENOENT) {
185 return (as);
[all...]
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtfmt.c50 fmtfmt(const char* as) argument
52 register char* s = (char*)as;
H A Dfmtmatch.c34 fmtmatch(const char* as) argument
36 register char* s = (char*)as;
H A Dfmtre.c42 fmtre(const char* as) argument
44 register char* s = (char*)as;
H A Dstropt.c56 stropt(const char* as, const void* tab, int siz, int(*f)(void*, const void*, int, const char*), void* a) argument
71 if (!as) n = 0;
72 else if (!(x = s = strdup(as))) n = -1;
H A Dfmtesc.c35 * quote string as of length n with qb...qe
44 fmtquote(const char* as, const char* qb, const char* qe, size_t n, int flags) argument
46 register unsigned char* s = (unsigned char*)as;
210 * in length n string as
214 fmtnesq(const char* as, const char* qs, size_t n) argument
216 return fmtquote(as, NiL, qs, n, 0);
224 fmtesq(const char* as, const char* qs) argument
226 return fmtquote(as, NiL, qs, strlen((char*)as), 0);
234 fmtesc(const char* as) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_scsi.c70 scsi_stoh_short(ushort as) argument
72 return (ntohs(as));
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgetarsym.c148 register Elf_Arsym *as = (Elf_Arsym *)oas; local
157 as->as_off = get8(off);
159 as->as_off = get4(off);
160 as->as_name = str;
161 as->as_hash = elf_hash(str);
162 ++as;
168 as->as_name = NULL;
169 as->as_off = 0;
170 as->as_hash = ~(unsigned long)0L;
179 Byte *as; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_segmap.c38 #include <vm/as.h>
60 gfxp_ddi_segmap_setup(dev_t dev, off_t offset, struct as *as, caddr_t *addrp, argument
123 as_rangelock(as);
131 as_rangeunlock(as);
138 (void) as_unmap(as, *addrp, len);
155 error = as_map(as, *addrp, len, segdev_create, &dev_a);
156 as_rangeunlock(as);
H A Dgfxp_vm.c53 #include <vm/as.h>
101 * The hypervisor doesn't allow r/w mappings to some pages, such as
159 gfxp_va2pa(struct as *as, caddr_t addr, uint64_t *pa) argument
163 *pa = pa_to_ma(pfn_to_pa(hat_getpfnum(as->a_hat, addr)));
165 *pa = pfn_to_pa(hat_getpfnum(as->a_hat, addr));
212 struct as *as = ttoproc(curthread)->p_as; local
218 if (valid_usr_range(address, length, 0, as, as
232 struct as *as = ttoproc(curthread)->p_as; local
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dmemcntl.c49 #include <vm/as.h>
60 struct as *as = ttoproc(curthread)->p_as; local
82 * are only used as a "filter" in this code,
85 if (valid_usr_range(addr, len, 0, as,
86 as->a_userlimit) != RANGE_OKAY) {
127 error = as_ctl(as, addr, len, cmd, attr, iarg, NULL, 0);
180 * pgsz == 0 case, leave the SAUTOLPG setting alone, as
191 as_rangelock(as);
207 if (valid_usr_range(addr, len, 0, as,
[all...]
H A Drlimit.c47 #include <vm/as.h>
50 * Perhaps ulimit could be moved into a user library, as calls to
119 struct as *as = p->p_as; local
142 AS_LOCK_ENTER(as, RW_READER);
143 for (seg = as_findseg(as, brkend, 0); seg != NULL;
144 seg = AS_SEGNEXT(as, seg)) {
161 * that this value cannot be greater than as->a_userlimit.
173 if (as->a_userlimit - brkbase > size)
177 retval = (long)as
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Dexpand.c57 expand(unsigned char *as, int rcnt) argument
73 s = cs = as;
153 s = as;
156 slashsav = cs++; /* remember where first slash in as is */
164 do /* find next / in as */
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap_common.c50 const lwpstack_t *as = ap; local
52 uintptr_t a = (uintptr_t)as->lwps_stack.ss_sp + as->lwps_stack.ss_size;
/illumos-gate/usr/src/uts/common/os/
H A Durw.c50 #include <vm/as.h>
126 * Map address "addr" in address space "as" into a kernel virtual address.
130 mapin(struct as *as, caddr_t addr, int writing) argument
143 pfnum = hat_getpfnum(as->a_hat, addr);
169 mapout(struct as *as, caddr_t addr, caddr_t vaddr, int writing) argument
194 struct as *as = p->p_as; local
202 AS_LOCK_ENTER(as, RW_WRITE
[all...]
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dsendsig.c70 #include <vm/as.h>
137 struct as *as = p->p_as; local
226 if (sp >= as->a_userlimit || fp >= as->a_userlimit) {
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_rawfile.c33 * the -f option. If one file is specified, that file will be opened as the
35 * as the "core" file. Each file is opened using the fdio backend, which
36 * internally supports both byte-oriented i/o and block-oriented i/o as needed.
141 rf_aread(mdb_tgt_t *t, mdb_tgt_as_t as, void *buf, argument
144 switch ((uintptr_t)as) {
158 rf_awrite(mdb_tgt_t *t, mdb_tgt_as_t as, const void *buf, argument
161 switch ((uintptr_t)as) {
330 * Load any debugging support modules that match the file type, as

Completed in 69 milliseconds

123456