/titanic_41/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 690 fastboot_file_t *fb = &nk->fi_files[i]; in fastboot_reserve_mem() local 696 if ((fb->fb_pte_list_va = contig_alloc(size, in fastboot_reserve_mem() 700 fb->fb_pte_list_size = size; in fastboot_reserve_mem() 728 fastboot_cksum_file(fastboot_file_t *fb, uchar_t *md5_hash) in fastboot_cksum_file() argument 733 MD5Update(&md5_ctx, (void *)fb->fb_va, fb->fb_size); in fastboot_cksum_file() 741 fastboot_free_file(fastboot_file_t *fb) in fastboot_free_file() argument 745 fsize_roundup = P2ROUNDUP_TYPED(fb->fb_size, PAGESIZE, size_t); in fastboot_free_file() 747 contig_free((void *)fb->fb_va, fsize_roundup); in fastboot_free_file() 748 fb->fb_va = NULL; in fastboot_free_file() 749 fb->fb_size = 0; in fastboot_free_file() [all …]
|
/titanic_41/usr/src/lib/libast/common/comp/ |
H A D | iconv.c | 260 _win_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) in _win_iconv() argument 281 memcpy(*tb, *fb, fz); in _win_iconv() 294 …if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <… in _win_iconv() 311 while (!(tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)fz, (LPWSTR)*tb, 0))) in _win_iconv() 338 ub = (LPWSTR)*fb; in _win_iconv() 340 else if (!(un = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, 0))) in _win_iconv() 344 else if (!(un = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)ub, un))) in _win_iconv() 365 while (!(fz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)bz, (LPWSTR)ub, un))) in _win_iconv() 395 if (ub != (LPWSTR)*fb) in _win_iconv() 399 *fb += fz; in _win_iconv() [all …]
|
H A D | omitted.c | 587 char fb[PATH_MAX]; in link() local 591 if ((r = _link(fp, tp)) && errno == ENOENT && execrate(fp, fb, sizeof(fb), 1)) in link() 596 r = _link(fb, tp); in link() 721 char fb[PATH_MAX]; in rename() local 725 if ((r = _rename(fp, tp)) && errno == ENOENT && execrate(fp, fb, sizeof(fb), 1)) in rename() 730 r = _rename(fb, tp); in rename()
|
/titanic_41/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_fire.c | 46 #define FAB_FIRE_PEC_BIT(fb) "ereport.io." PCIEX_FIRE "." FIRE_PEC_ ## fb argument 47 #define FAB_FIRE_DMC_BIT(fb) "ereport.io." PCIEX_FIRE "." FIRE_DMC_ ## fb argument 48 #define FAB_N2_DMU_BIT(fb) "ereport.io.n2.dmu." fb argument 49 #define FAB_OB_PEC_BIT(fb) "ereport.io." PCIEX_OBERON "." FIRE_PEC_ ## fb argument 51 #define FAB_FIRE_UE(fb, bit, sts, bdg) \ argument 52 FAB_FIRE_PEC_BIT(fb), PCIE_AER_UCE_ ## bit, sts, bdg 53 #define FAB_OB_UE(fb, bit, sts, bdg) \ argument 54 FAB_OB_PEC_BIT(fb), PCIE_AER_UCE_ ## bit, sts, bdg 72 #define FAB_FIRE_CE(fb, bit) \ argument 73 FAB_FIRE_PEC_BIT(fb), PCIE_AER_CE_ ## bit, 0, 0 [all …]
|
/titanic_41/usr/src/cmd/mandoc/ |
H A D | preconv.c | 243 struct buf *fb, int *with_mmap) in read_whole_file() argument 269 fb->sz = (size_t)st.st_size; in read_whole_file() 270 fb->buf = mmap(NULL, fb->sz, PROT_READ, MAP_SHARED, fd, 0); in read_whole_file() 271 if (fb->buf != MAP_FAILED) in read_whole_file() 283 fb->sz = 0; in read_whole_file() 284 fb->buf = NULL; in read_whole_file() 286 if (off == fb->sz && fb->sz == (1U << 31)) { in read_whole_file() 291 if (off == fb->sz) in read_whole_file() 292 resize_buf(fb, 65536); in read_whole_file() 294 ssz = read(fd, fb->buf + (int)off, fb->sz - off); in read_whole_file() [all …]
|
H A D | read.c | 571 read_whole_file(const char *file, int fd, struct buf *fb, int *with_mmap) in read_whole_file() argument 596 fb->sz = (size_t)st.st_size; in read_whole_file() 597 fb->buf = mmap(NULL, fb->sz, PROT_READ, MAP_SHARED, fd, 0); in read_whole_file() 598 if (fb->buf != MAP_FAILED) in read_whole_file() 610 fb->sz = 0; in read_whole_file() 611 fb->buf = NULL; in read_whole_file() 613 if (off == fb->sz) { in read_whole_file() 614 if (fb->sz == (1U << 31)) { in read_whole_file() 618 resize_buf(fb, 65536); in read_whole_file() 620 ssz = read(fd, fb->buf + (int)off, fb->sz - off); in read_whole_file() [all …]
|
/titanic_41/usr/src/cmd/svc/milestone/ |
H A D | devices-local | 61 if [ -h /dev/fb ]; then 62 fblink=`ls -l /dev/fb | /usr/bin/awk '{ print $11 }'` 65 rm -f /dev/fb 66 ln -s $1 /dev/fb 69 rm -f /dev/fb 70 ln -s $1 /dev/fb
|
/titanic_41/usr/src/cmd/refer/ |
H A D | inv6.c | 23 whash(FILE *ft, FILE *fa, FILE *fb, int nhash, int iflong, in whash() argument 49 if (iflong) putl(-1L, fb); in whash() 50 else putw(-1, fb); in whash() 62 putl(opoint = point, fb); in whash() 64 putw((int)(opoint = point), fb); in whash() 69 if (iflong) putl(-1L, fb); in whash() 70 else putw(-1, fb); in whash()
|
H A D | inv1.c | 41 FILE *fa, *fb, *fc, *fta, *ftb, *ftc; in main() local 113 fb = 0; in main() 115 if (fb = fopen(nmb, "r")) { in main() 120 nhash = recopy(ftb, fb, fopen(nma, "r")); in main() 151 fb = fopen(nmb, "w"); in main() 152 whash(fta, fa, fb, nhash, iflong, &keys, &hashes); in main()
|
H A D | hunt1.c | 59 static FILE *fa, *fb, *fc; in main() local 155 fclose(fb); in main() 163 fb = NULL; in main() 166 fb = fopen(nmb, "r"); in main() 169 if (fb == NULL || fc == NULL) { in main() 173 indexdate = gdate(fb); in main() 204 if (fb != NULL) { in main() 205 nfound = doquery(hpt, nhash, fb, nitem, qitem, master); in main()
|
H A D | hunt2.c | 37 doquery(long *hpt, int nhash, FILE *fb, int nitem, in doquery() argument 101 assert(fb != NULL); in doquery() 102 assert(fseek(fb, lp, 0) != -1); in doquery() 105 master.b[i] = getl(fb); in doquery() 107 master.a[i] = getw(fb); in doquery() 137 assert(fseek(fb, lp, 0) != -1); in doquery() 145 k = getl(fb); in doquery() 147 k = getw(fb); in doquery() 295 getl(FILE *fb) in getl() argument 297 return (getw(fb)); in getl()
|
H A D | inv5.c | 23 recopy(FILE *ft, FILE *fb, FILE *fa, int nhash) in recopy() argument 58 fseek(fb, lp, 0); in recopy() 59 while ((k = (*getfun)(fb)) != -1) in recopy() 62 fclose(fb); in recopy()
|
H A D | hunt8.c | 40 FILE *fa, *fb; in makefgrep() local 47 fb = iopen(indexname, ""); in makefgrep() 48 if (gdate(fb) > gdate(fa)) { in makefgrep() 56 unopen(fb); in makefgrep()
|
H A D | glue1.c | 63 static FILE *fa, *fb, *fc; in huntmain() local 148 unopen(fb); in huntmain() 156 fb = iopen(indexname, ".ib"); in huntmain() 160 fprintf(stderr, "opened f's as %o %o %o\n", fa, fb, fc); in huntmain() 162 indexdate = gdate(fb); in huntmain() 245 fprintf(stderr, "approaching doquery fb %o\n", fb); in huntmain() 247 nfound = doquery(hpt, nhash, fb, nitem, qitem, masterp); in huntmain()
|
/titanic_41/usr/src/lib/libc/port/fp/ |
H A D | __flt_decim.c | 270 __ieee_flags_type fb; in __fast_double_to_decimal() local 279 __get_ieee_flags(&fb); in __fast_double_to_decimal() 294 __set_ieee_flags(&fb); in __fast_double_to_decimal() 300 __set_ieee_flags(&fb); in __fast_double_to_decimal() 318 __get_ieee_flags(&fb); in __fast_double_to_decimal() 347 __set_ieee_flags(&fb); in __fast_double_to_decimal() 360 __set_ieee_flags(&fb); in __fast_double_to_decimal() 373 __set_ieee_flags(&fb); in __fast_double_to_decimal() 390 __set_ieee_flags(&fb); in __fast_double_to_decimal()
|
/titanic_41/usr/src/cmd/sh/ |
H A D | main.c | 459 Ldup(int fa, int fb) in Ldup() argument 463 dup(fa | DUPFLG, fb); in Ldup() 465 ioctl(fb, FIOCLEX, 0); in Ldup() 470 if (fa != fb) { in Ldup() 471 close(fb); in Ldup() 472 fcntl(fa, 0, fb); /* normal dup */ in Ldup() 475 fcntl(fb, 2, 1); /* autoclose for fb */ in Ldup()
|
/titanic_41/usr/src/lib/libprtdiag/common/ |
H A D | io.c | 360 Prom_node *fb; in display_ffb() local 376 for (fb = dev_find_node_by_type(board->nodes, "device_type", "display"); in display_ffb() 377 fb != NULL; in display_ffb() 378 fb = dev_next_node_by_type(fb, "device_type", "display")) { in display_ffb() 379 value = get_prop_val(find_prop(fb, "name")); in display_ffb() 395 card.slot = get_id(fb); in display_ffb() 399 value = get_prop_val(find_prop(fb, "board_type")); in display_ffb() 416 value = get_prop_val(find_prop(fb, in display_ffb() 426 value = get_prop_val(find_prop(fb, "model")); in display_ffb() 443 value = get_prop_val(find_prop(fb, "upa-portid")); in display_ffb() [all …]
|
/titanic_41/usr/src/tools/ndrgen/ |
H A D | ndr_anal.c | 192 char fb[NDLBUFSZ]; in type_ident_decl1() local 204 type_ident_decl1(tup->up, fb, NDLBUFSZ, ident); in type_ident_decl1() 206 "", ti->type_name->n_sym->name, *fb ? " " : "", fb); in type_ident_decl1() 210 type_ident_decl1(tup->up, fb, NDLBUFSZ, ident); in type_ident_decl1() 212 "struct ", ti->type_name->n_sym->name, *fb ? " " : "", fb); in type_ident_decl1() 216 type_ident_decl1(tup->up, fb, NDLBUFSZ, ident); in type_ident_decl1() 218 "union ", ti->type_name->n_sym->name, *fb ? " " : "", fb); in type_ident_decl1() 227 p = fb; in type_ident_decl1() 231 p = fb; in type_ident_decl1() 244 p = fb; in type_ident_decl1() [all …]
|
/titanic_41/usr/src/cmd/ipf/tools/ |
H A D | ipfstat.c | 814 struct frentry fb, *fg; local 819 fb.fr_next = fp; 828 rule.iri_rule = &fb; 908 struct frentry fb, *fg; local 913 fb.fr_next = fp; 919 fp = fb.fr_next; 920 if (kmemcpy((char *)&fb, (u_long)fb.fr_next, 921 sizeof(fb)) == -1) { 927 type = fb.fr_type & ~FR_T_BUILTIN; 929 if (fb.fr_dsize) { [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | shmem.h | 631 #define SHMEM_ARRAY_BITPOS(i, eb, fb) \ argument 632 ((((32/(fb)) - 1 - ((i)/((fb)/(eb))) % (32/(fb))) * (fb)) + \ 633 (((i)%((fb)/(eb))) * (eb))) 635 #define SHMEM_ARRAY_GET(a, i, eb, fb) \ argument 636 ((a[SHMEM_ARRAY_ENTRY(i, eb)] >> SHMEM_ARRAY_BITPOS(i, eb, fb)) & \ 639 #define SHMEM_ARRAY_SET(a, i, eb, fb, val) \ argument 642 SHMEM_ARRAY_BITPOS(i, eb, fb)); \ 644 SHMEM_ARRAY_BITPOS(i, eb, fb)); \
|
/titanic_41/usr/src/cmd/ipf/lib/common/ |
H A D | printfr.c | 201 fakebpf_t *fb; local 205 i = fp->fr_dsize / sizeof(*fb); 207 for (fb = fp->fr_data, s = ""; i; i--, fb++, s = " ") 208 printf("%s%#x %#x %#x %#x", s, fb->fb_c, fb->fb_t, 209 fb->fb_f, fb->fb_k);
|
/titanic_41/usr/src/lib/libast/common/string/ |
H A D | base64.c | 51 base64encode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) in base64encode() argument 64 fp = fe = (unsigned char*)fb; in base64encode() 162 base64decode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) in base64decode() argument 184 fp = (unsigned char*)fb; in base64decode()
|
/titanic_41/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_vgatext.c | 70 struct vgaregmap fb; member 430 (caddr_t *)&softc->fb.addr, in gfxp_vgatext_attach() 432 &dev_attr, &softc->fb.handle); in gfxp_vgatext_attach() 435 softc->fb.mapped = B_TRUE; in gfxp_vgatext_attach() 439 softc->text_base = (caddr_t)softc->fb.addr + VGA_COLOR_BASE; in gfxp_vgatext_attach() 441 softc->text_base = (caddr_t)softc->fb.addr + VGA_MONO_BASE; in gfxp_vgatext_attach() 502 if (softc->fb.mapped) in gfxp_vgatext_detach() 503 ddi_regs_map_free(&softc->fb.handle); in gfxp_vgatext_detach() 1217 to = (unsigned char *)softc->fb.addr + i * 0x20; in vgatext_setfont() 1384 fbs->addr = softc->fb.addr; in vgatext_return_pointers() [all …]
|
/titanic_41/usr/src/cmd/acct/ |
H A D | acctdusg.c | 78 char fbuf[PATH_MAX+1], *fb; in main() local 114 if ((fb = strchr(fbuf, '\n')) != NULL) { in main() 119 *fb = '\0'; in main()
|
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/ |
H A D | pmAboutBox.java | 70 Font fb = new Font(f.getName(), f.PLAIN, f.getSize()); in pmAboutBox() local 72 textArea.setFont(fb); in pmAboutBox()
|