/illumos-gate/usr/src/boot/sys/ufs/ffs/ |
H A D | fs.h | 562 #define blkmap(fs, map, loc) \ 563 (((map)[(loc) / NBBY] >> ((loc) % NBBY)) & (0xff >> (NBBY - (fs)->fs_frag))) 570 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ 571 ((loc) & ~((fs)->fs_bmask)) 572 #define fragoff(fs, loc) /* calculates (loc % fs->fs_fsize) */ \ 573 ((loc) & ~((fs)->fs_fmask)) 581 #define lblkno(fs, loc) /* calculate [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | mbsnrtowcs.c | 40 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) 46 return (loc->ctype->lc_mbsnrtowcs(dst, src, nms, len, ps)); 39 mbsnrtowcs_l(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
|
H A D | nextwctype.c | 42 nextwctype_l(wint_t wc, wctype_t wct, locale_t loc) argument 50 rl = loc->runelocale;
|
H A D | wcsnrtombs.c | 41 size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) 47 return (loc->ctype->lc_wcsnrtombs(dst, src, nwc, len, ps)); 40 wcsnrtombs_l(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
|
H A D | collate.c | 513 xfrm(locale_t loc, unsigned char *p, int pri, int pass) argument 516 uint32_t val = (uint32_t)loc->collate->lc_pri_count[pass]; 530 _collate_sxfrm(const wchar_t *src, char *xf, size_t room, locale_t loc) argument 543 const struct lc_collate *lcc = loc->collate; 602 b = xfrm(loc, buf, pri, pass); 628 b = xfrm(loc, buf, pri, pass);
|
H A D | wcscoll.c | 39 wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t loc) argument 44 const struct lc_collate *lcc = loc->collate;
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_msgfmt.h | 69 struct loc { struct 80 struct loc *pos;
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 1128 char *loc; local 1240 if ((loc = (char *)malloc(PICL_PROPNAMELEN_MAX*PARENT_NAMES)) != NULL) { 1246 free(loc); 1247 loc = NULL; 1252 if (loc != 0) { 1267 loc[0] = '\0'; 1269 (void) strlcat(loc, names[i], 1273 (void) strlcat(loc, "/", PICL_PROPNAMELEN_MAX * 1275 (void) strlcat(loc, names[i], 1278 log_printf("%-35s", loc); 1357 char *loc; local 1762 char *loc; local [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | stk.c | 321 * returns 1 if <loc> is on this stack 323 int stkon(register Sfio_t * stream, register char* loc) argument 328 if(loc>=((char*)(fp+1)) && loc< fp->end) 333 * reset the bottom of the current stack back to <loc> 334 * if <loc> is not in this stack, then the stack is reset to the beginning 338 char *stkset(register Sfio_t * stream, register char* loc, unsigned offset) argument 355 if(loc==fp->aliases[n]) 357 loc = cp; 361 /* see whether <loc> i [all...] |
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | svc_udp.c | 414 u_int loc; local 423 loc = CACHE_LOC(xprt, victim->cache_xid); 424 for (vicp = &uc->uc_entries[loc]; 463 loc = CACHE_LOC(xprt, victim->cache_xid); 464 victim->cache_next = uc->uc_entries[loc]; 465 uc->uc_entries[loc] = victim; 481 u_int loc; local 489 loc = CACHE_LOC(xprt, su->su_xid); 490 for (ent = uc->uc_entries[loc]; ent != NULL; ent = ent->cache_next) {
|
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | fault.c | 90 char *loc = NULL; local 106 if (nvlist_lookup_string(nva[i], FM_FAULT_LOCATION, &loc) 110 loc = fname + sizeof (FM_FMRI_LEGACY_HC_PREFIX); 140 loc ? loc : "-");
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | Makefile | 32 events.o known_wlans.o llp.o loc.o logging.o\ 42 ROOTLOCDIR= $(ROOTCFGDIR)/loc
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_fs.c | 156 int loc; local 178 (void) waitpid(pid, &loc, 0); 180 if (WIFEXITED(loc) && WEXITSTATUS(loc) == 0) {
|
H A D | inuse_lu.c | 311 int loc; local 334 (void) waitpid(pid, &loc, 0); 336 /* printf("got 0x%x %d %d\n", loc, WIFEXITED(loc), WEXITSTATUS(loc)); */ 338 if (WIFEXITED(loc) && WEXITSTATUS(loc) == 0) {
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | erie.h | 104 char name[], char loc[], int size);
|
H A D | huron.h | 110 char name[], char loc[], int size);
|
/illumos-gate/usr/src/test/libc-tests/tests/nl_langinfo/ |
H A D | nl_langinfo_test.c | 216 locale_t loc; local 230 loc = newlocale(LC_ALL_MASK, locale, NULL); 231 if (loc == NULL) { 236 v = nl_langinfo_l(test[i].param, loc);
|
/illumos-gate/usr/src/boot/include/isofs/cd9660/ |
H A D | iso.h | 261 #define blkoff(imp, loc) ((loc) & (imp)->im_bmask) 263 #define lblkno(imp, loc) ((loc) >> (imp)->im_bshift)
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_ext2fs.c | 565 int loc; /* location within a directory */ local 751 loc = 0; 757 printf ("dirname=%s, rest=%s, loc=%d\n", dirname, rest, loc); 762 if (loc >= INODE->i_size) 779 blk = loc >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK); 795 off = loc & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1); 797 /* advance loc prematurely to next on-disk directory entry */ 798 loc += dp->rec_len;
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | dst_api.c | 706 int loc = 0; local 719 loc += 2; 721 out_storage[loc++] = (u_char) key->dk_proto; 722 out_storage[loc++] = (u_char) key->dk_alg; 726 dst_s_put_int16(&out_storage[loc], val); 727 loc += 2; 730 return (loc); 733 (u_char *) &out_storage[loc], 734 out_len - loc); 736 return (enc_len + loc); [all...] |
/illumos-gate/usr/src/lib/libdll/common/ |
H A D | dlfcn.c | 215 char *loc; local 231 loc = (char*)ldsym->l_value; 234 loc += datareloc; 236 loc += textreloc; 237 return loc;
|
/illumos-gate/usr/src/cmd/checknr/ |
H A D | checknr.c | 558 char **src, **dest, **loc; local 570 loc = &knowncmds[slot]; 573 while (dest > loc) 575 *loc = malloc(3); 576 (void) strcpy(*loc, mac);
|
/illumos-gate/usr/src/common/fs/ |
H A D | hsfs.c | 93 int loc; member in struct:dirstuff 253 dirp.loc = 0; 299 if (dirp->loc >= ip->i_size) { 302 off = dirp->loc & ((1 << ISO_SECTOR_SHIFT) - 1); 304 lbn = hdbtodb(dirp->loc >> ISO_SECTOR_SHIFT); 313 dirp->loc += parse_dir(filep, off, &hsdep); 314 if (udp->d_reclen == 0 && dirp->loc <= ip->i_size) { 315 dirp->loc = roundup(dirp->loc, ISO_SECTOR_SIZE);
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 413 size_t loc, i; local 425 loc = 0; 426 while (loc < size) { 427 /*LINTED [buf is char[] in getfile, loc % 4 == 0]*/ 428 dp = (struct direct *)(buf + loc); 430 i = DIRBLKSIZ - (loc & (DIRBLKSIZ - 1)); 432 loc += i; 435 loc += dp->d_reclen; 588 rst_seekdir(RST_DIR *sdirp, offset_t loc, offset_t base) argument 591 if (loc [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 96 int loc; member in struct:dirstuff 462 dirp.loc = 0; 501 dirp.loc = 0; 565 if (dirp->loc >= (int)dirp->ip->di_size) 567 if (blkoff(&sblock, dirp->loc) == 0) { 568 lbn = lblkno(&sblock, dirp->loc); 576 (dirp->dbuf + blkoff(&sblock, dirp->loc)); 577 dirp->loc += dp->d_reclen;
|