/illumos-gate/usr/src/cmd/locale/ |
H A D | locale.c | 524 add_loc_entry(char *loc) argument 542 s = strdup(loc); 574 check_loc(char *loc) argument 579 if (setlocale(LC_ALL, loc) != NULL) { 581 add_loc_entry(loc); 590 if (setlocale(cat, loc) != NULL) { 592 add_loc_entry(loc); 597 /* loc is not a valid locale */ 702 /* restore the saved loc */
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_alloc.c | 1297 int start, len, loc, map, i; local 1331 loc = skpc(0xff, (uint_t)len, &iused[start]); 1332 if (loc == 0) { 1335 loc = skpc(0xff, (uint_t)len, &iused[0]); 1336 if (loc == 0) { 1344 i = start + len - loc; 1388 int start, len, loc, i, last, first, secondtime; local 1418 loc = scanc((unsigned)len, (uchar_t *)&cg_blksfree(cgp)[first], 1424 if (loc) { 1425 bno = (last - loc) * NBB [all...] |
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_inode.c | 137 uint32_t loc, dummy; local 140 loc = ud_xlate_to_daddr(udf_vfsp, prn, ploc, 1, &dummy); 143 hno = UD_INOHASH(vfsp->vfs_dev, loc); 174 daddr_t loc; local 187 loc = ud_xlate_to_daddr(udf_vfsp, prn, ploc, 1, &dummy); 190 hno = UD_INOHASH(vfsp->vfs_dev, loc); 411 ip->i_icb_lbano = loc; 914 if (ip->i_udf->udf_root_blkno == loc) { 1690 uint32_t loc; local 1756 loc [all...] |
H A D | udf_vfsops.c | 1839 ud_get_lbsize(dev_t dev, uint32_t *loc) argument 1900 *loc = avd_loc;
|
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 67 int loc; member in struct:dirinfo 248 dirp.loc = 0; 292 if (dirp->loc >= ip->i_size) { 295 off = dirp->loc & ((1 << ISO_SECTOR_SHIFT) - 1); 297 lbn = hdbtodb(dirp->loc >> ISO_SECTOR_SHIFT); 305 dirp->loc += parse_dir(filep, off, &hsdep); 306 if (udp->d_reclen == 0 && dirp->loc <= ip->i_size) { 307 dirp->loc = roundup(dirp->loc, ISO_SECTOR_SIZE); 1015 oldoff = dir.loc [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | kcpc.c | 895 kcpc_ctx_t **loc; local 899 loc = &kcpc_ctx_list[hash]; 900 ASSERT(*loc != NULL); 901 while (*loc != ctx) 902 loc = &(*loc)->kc_next; 903 *loc = ctx->kc_next;
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr_rdma.c | 901 caddr_t loc = *pp; local 904 if (loc == NULL) { 910 *pp = loc = (caddr_t)clist_alloc(); 914 ASSERT(loc); 919 stat = xdr_clist(xdrs, (struct clist *)loc); 922 kmem_cache_free(clist_cache, loc);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_xprt.c | 1127 char *loc = NULL; local 1150 &loc) != 0) { 1151 if (fru && topo_fmri_label(thp, fru, &loc, &err) == 0) 1153 FM_FAULT_LOCATION, loc); 1154 else if (rsrc && topo_fmri_label(thp, rsrc, &loc, 1157 FM_FAULT_LOCATION, loc); 1158 if (loc) 1159 topo_hdl_strfree(thp, loc);
|
H A D | fmd_api.c | 1305 char *loc = NULL, *serial = NULL; local 1362 (void) topo_fmri_label(thp, fru, &loc, &err); 1364 (void) topo_fmri_label(thp, rsrc, &loc, &err); 1365 if (loc != NULL) { 1368 (void) nvlist_add_string(nvl, FM_FAULT_LOCATION, loc); 1369 topo_hdl_strfree(thp, loc);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | macro.c | 950 int loc = stktell(mp->shp->stk); local 965 return(loc);
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg.c | 2264 char loc[NSC_MAXPATH]; local 2344 strcpy(loc, altroot); 2345 strcat(loc, config_file); 2347 strcpy(config_file, loc); 2353 sscanf(config_file, "%s", loc); 2354 strcpy(config_file, loc); 3036 cfg_invalidate_hsizes(int fd, const char *loc) { argument 3049 if (cfg_shldskip_vtoc(fd, loc) > 0) 3487 cfg_shldskip_vtoc(int fd, const char *loc) argument 3515 p = strstr(loc, "/ds [all...] |
/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/cmd/cmd-inet/usr.bin/pppd/ |
H A D | options.c | 362 { "[<loc>]:[<rem>]", o_special_noarg, NULL, 900 register u_int32_t loc; local 918 loc = opt_hash(sopt->name); 919 bucket = hash_tbl[loc]; 934 hash_tbl[loc] = he; 1055 \t<loc>:<rem>\tSet the local and/or remote interface IP\n\
|
/illumos-gate/usr/src/cmd/more/ |
H A D | more.c | 976 char *loc; local 1157 loc = setlocale(LC_MESSAGES, 0); 1158 sprintf(filebuf, LOCAL_HELP, loc); 1160 if ((strcmp(loc, "C") == 0) || (helpf = fopen (filebuf, "r")) == NULL) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 169 getaline(FILE *fp, caddr_t loc, int maxlen) argument 174 p = loc; 184 return (p - loc);
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 3941 struct file_loc *loc) 3945 loc->offset = ftell(etcf); 3989 loc->offset = ftell(etcf); 3992 loc->size = len; 4001 struct file_loc *loc) 4005 loc->offset = ftell(etcf); 4025 loc->offset = ftell(etcf); 4028 loc->size = len; 4094 struct file_loc loc; local 4100 while (tt->filedbmline(&line, etcf, &lineno, &loc)) { 3940 filedbmline_comment(struct line_buf *line, FILE *etcf, int *lineno, struct file_loc *loc) argument 4000 filedbmline_plus(struct line_buf *line, FILE *etcf, int *lineno, struct file_loc *loc) argument [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | dwarf.c | 573 Dwarf_Locdesc *loc; local 579 if (dwarf_loclist(attr, &loc, &locnum, &dw->dw_err) != DW_DLV_OK) { 586 if (locnum != 1 || loc->ld_s->lr_atom != DW_OP_plus_uconst) { 591 *valp = loc->ld_s->lr_number; 593 dwarf_dealloc(dw->dw_dw, loc->ld_s, DW_DLA_LOC_BLOCK); 594 dwarf_dealloc(dw->dw_dw, loc, DW_DLA_LOCDESC);
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_frame.c | 2124 char *loc = 0; local 2129 loc = (char *) in_fde->fd_fde_start; 2131 *fde_off = (loc - start); 2154 char *loc = 0; local 2157 loc = (char *) in_cie->ci_cie_start; 2159 *cie_off = (loc - start);
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_nexus.c | 2226 uint_t *loc, new; local 2232 loc = (uint_t *)&sc->cpl_handler[opcode]; 2233 (void) atomic_swap_uint(loc, new);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | sa.c | 411 avl_index_t loc; local 449 if ((findtb = avl_find(&sa->sa_layout_hash_tree, tb, &loc)) != NULL) { 466 avl_index_t loc; local 473 tb = avl_find(&sa->sa_layout_hash_tree, &tbsearch, &loc); 1170 avl_index_t loc; local 1178 tb = avl_find(&sa->sa_layout_num_tree, &search, &loc); 1493 avl_index_t loc; local 1506 tb = avl_find(&sa->sa_layout_num_tree, &search, &loc);
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | scf_tmpl.c | 712 char *loc; local 716 loc = strdup(locale); 717 if (loc == NULL) { 721 _scf_sanitize_locale(loc); 732 if (strlcat(lname, loc, lsz) >= lsz) { 738 free(loc);
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | btree.c | 2634 int loc; local 2653 rc = fileBtreeMoveto(pCur, pKey, nKey, &loc); 2662 if( loc==0 ){ 2667 }else if( loc<0 && pPage->nCell>0 ){
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 2085 * updates the picl node 'loc' with the new fru handle (PICL_PROP_SC_HANDLE) 2090 update_fru_hdl(picl_nodehdl_t loc, fru_hdl_t newsgfruhdl) argument 2095 err = ptree_get_prop_by_name(loc, PICL_PROP_SC_HANDLE, &schproph); 2101 (void) add_prop_ull(loc, (uint64_t)newsgfruhdl, PICL_PROP_SC_HANDLE); 2105 * Get the fru handle of loc by iterating through the parent's children. 2109 get_fruhdl_from_parent(picl_nodehdl_t loc, fru_hdl_t *fruhdl) argument 2120 err = ptree_get_propval_by_name(loc, PICL_PROP_NAME, (void *)nodename, 2124 err = ptree_get_propval_by_name(loc, PICL_PROP_PARENT, &parlocnodeh,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 135 "loc", 362 "create loc ", 372 "destroy loc ", 384 "export loc ", 393 "list loc ", 397 "list -a loc ", 404 "select loc ", 611 /* Returns "loc", "enm", "wlan" or "ncp" as string */ 627 /* Returns "ncp, "ncu", "loc", "enm", or "wlan" according to the scope */ 638 return ("loc"); 1509 destroy_loc_callback(nwam_loc_handle_t loc, void *arg) argument 2627 list_loc_callback(nwam_loc_handle_t loc, void *arg) argument 3333 export_loc_callback(nwam_loc_handle_t loc, void *arg) argument [all...] |
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-device.c | 6129 int loc = off % 8; local 6130 u64 mask = vBIT(0xff,(loc*8),8); 6131 int shift = 64-(loc+1)*8;
|