/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | fstab.c | 114 struct fstab *fsp; local 118 while((fsp = getfsent()) != 0) 119 if (strcmp(fsp->fs_spec, name) == 0) 120 return (fsp); 127 struct fstab *fsp; local 131 while ((fsp = getfsent()) != 0) 132 if (strcmp(fsp->fs_file, name) == 0) 133 return (fsp);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/labelit/ |
H A D | labelit.c | 143 struct fs *fsp, *altfsp; local 190 fsp = &sblock; 211 p = (char *)&(fs_rotbl(fsp)[blk]); 284 bcopy((char *)&(fs_rotbl(fsp)[blk]), 299 p = (char *)&(fs_rotbl(fsp)[blk]);
|
/illumos-gate/usr/src/cmd/fm/ipmitopo/common/ |
H A D | ipmitopo.c | 48 ipmi_sdr_full_sensor_t *fsp; local 68 fsp = (ipmi_sdr_full_sensor_t *)sdrp->is_record; 69 sensor_number = fsp->is_fs_number; 70 sensor_type = fsp->is_fs_type; 71 reading_type = fsp->is_fs_reading_type;
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_susp_subr.c | 89 struct hsfs *fsp, /* filesystem pointer */ 95 uchar_t *tmp_SUA_p = (SUA_p + fsp->hsfs_sua_off); 96 int tmp_SUA_len = (SUA_len - fsp->hsfs_sua_off); 115 hs_log_bogus_disk_warning(fsp, HSFS_ERR_NEG_SUA_LEN, 0); 120 hs_log_bogus_disk_warning(fsp, HSFS_ERR_BAD_SUA_LEN, 0); 135 sig_args.fsp = fsp; 156 if (get_cont_area(fsp, &cont_p, &cont_info)) { 256 if (!IS_IMPL_BIT_SET(sig_args_p->fsp, impl_bit_num)) 369 struct hsfs *fsp; local 82 parse_sua( uchar_t *name_p, int *name_len_p, int *name_change_p, uchar_t *dirp, uint_t last_offset, struct hs_direntry *hdp, struct hsfs *fsp, uchar_t *search_sig, int search_num) argument 473 get_cont_area(struct hsfs *fsp, uchar_t **buf_pp, cont_info_t *cont_info_p) argument [all...] |
H A D | hsfs_rrip.c | 446 struct hsfs *fsp, /* filesystem pointer */ 475 hdp, fsp, (uchar_t *)NULL, NULL); 533 hs_filldirent(sig_args_p->fsp->hsfs_rootvp, sig_args_p->hdp); 556 hs_filldirent(sig_args_p->fsp->hsfs_rootvp, sig_args_p->hdp); 440 rrip_namecopy( char *from, char *to, char *tmp_name, uchar_t *dirp, uint_t last_offset, struct hsfs *fsp, struct hs_direntry *hdp) argument
|
H A D | hsfs_subr.c | 309 hs_log_bogus_disk_warning(fsp, errtype, data) 310 struct hsfs *fsp; 315 if (fsp->hsfs_err_flags & (1 << errtype)) 319 fsp->hsfs_fsmnt); 340 fsp->hsfs_err_flags |= (1 << errtype); 350 struct hsfs *fsp; local 362 fsp = ksp->ks_private; 365 mutex_enter(&(fsp->hqueue->strategy_lock)); 366 mutex_enter(&(fsp->hqueue->hsfs_queue_lock)); 368 cache_read_pages = fsp 394 hsfs_setup_named_kstats(struct hsfs *fsp, int fsid, char *name, const hsfs_ksindex_t *ksip, int (*update)(kstat_t *, int)) argument 428 hsfs_init_kstats(struct hsfs *fsp, int fsid) argument 435 hsfs_fini_kstats(struct hsfs *fsp) argument [all...] |
H A D | hsfs_node.c | 110 static void hs_addfreeb(struct hsfs *fsp, struct hsnode *hp); 112 uint_t last_offset, char *nm, int nmlen, struct hsfs *fsp, 115 static int strip_trailing(struct hsfs *fsp, char *nm, int len); 116 static int hs_namelen(struct hsfs *fsp, char *nm, int len); 211 struct hsfs *fsp; local 218 for (fsp = hs_mounttab; fsp != NULL; fsp = fsp->hsfs_next) { 222 (void) dnlc_purge_vfsp(fsp 243 hs_freenode(HTOV(hp), fsp, 1); local 255 hs_addfreeb(struct hsfs *fsp, struct hsnode *hp) argument 278 hs_getfree(struct hsfs *fsp) argument 351 hs_remfree(struct hsfs *fsp, struct hsnode *hp) argument 382 struct hsfs *fsp; local 427 hs_addhash(struct hsfs *fsp, struct hsnode *hp) argument 445 struct hsfs *fsp; local 520 struct hsfs *fsp; local 663 hs_freenode(vnode_t *vp, struct hsfs *fsp, int nopage) argument 716 struct hsfs *fsp; local 768 struct hsfs *fsp; local 923 hs_parsedir( struct hsfs *fsp, uchar_t *dirp, struct hs_direntry *hdp, char *dnp, int *dnlen, int last_offset) argument 1402 struct hsfs *fsp; local 1442 process_dirblock( struct fbuf *fbp, uint_t *offset, uint_t last_offset, char *nm, int nmlen, struct hsfs *fsp, struct hsnode *dhp, struct vnode *dvp, struct vnode **vpp, int *error) argument 1721 strip_trailing(struct hsfs *fsp, char *nm, int len) argument 1740 hs_namelen(struct hsfs *fsp, char *nm, int len) argument [all...] |
H A D | hsfs_vfsops.c | 216 extern void hsched_init(struct hsfs *fsp, int fsid, 219 extern void hsfs_init_kstats(struct hsfs *fsp, int fsid); 220 extern void hsfs_fini_kstats(struct hsfs *fsp); 232 static int hs_getrootvp(struct vfs *vfsp, struct hsfs *fsp, size_t pathsize); 233 static int hs_findhsvol(struct hsfs *fsp, struct vnode *vp, 235 static int hs_parsehsvol(struct hsfs *fsp, uchar_t *volp, 237 static int hs_findisovol(struct hsfs *fsp, struct vnode *vp, 242 static int hs_parseisovol(struct hsfs *fsp, uchar_t *volp, 371 struct hsfs *fsp; local 383 fsp 445 struct hsfs *fsp; local 484 struct hsfs *fsp; local 526 compute_cdrom_id(struct hsfs *fsp, vnode_t *devvp) argument 578 struct hsfs *fsp = NULL; local 953 hs_getrootvp( struct vfs *vfsp, struct hsfs *fsp, size_t pathsize) argument 1001 hs_findhsvol(struct hsfs *fsp, struct vnode *vp, struct hs_volume *hvp) argument 1077 hs_parsehsvol(struct hsfs *fsp, uchar_t *volp, struct hs_volume *hvp) argument 1128 hs_findisovol(struct hsfs *fsp, struct vnode *vp, struct hs_volume *hvp, struct hs_volume *svp, struct hs_volume *jvp) argument 1294 hs_parseisovol(struct hsfs *fsp, uchar_t *volp, struct hs_volume *hvp) argument 1459 struct hsfs *fsp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_alloc.c | 44 static pc_cluster32_t pc_getcluster(struct pcfs *fsp, pc_cluster32_t cn); 59 struct pcfs *fsp; /* pcfs that file is in */ local 65 fsp = VFSTOPCFS(vp->v_vfsp); 74 if (!IS_FAT32(fsp) && (vp->v_flag & VROOT)) { 77 lbn = pc_cltodb(fsp, lcn); 78 if (lbn >= fsp->pcfs_rdirsec) { 82 *dbnp = pc_dbdaddr(fsp, fsp->pcfs_rdirstart + lbn); 84 ASSERT (*contigbp >= fsp->pcfs_secsize); 86 fsp 167 struct pcfs *fsp; /* pcfs that file is in */ local 256 struct pcfs *fsp; local 330 pc_freeclusters(struct pcfs *fsp) argument 365 pc_getcluster(struct pcfs *fsp, pc_cluster32_t cn) argument 406 pc_setcluster(struct pcfs *fsp, pc_cluster32_t cn, pc_cluster32_t ncn) argument 453 pc_alloccluster( struct pcfs *fsp, int zwrite) argument 502 pc_fileclsize( struct pcfs *fsp, pc_cluster32_t startcl, pc_cluster32_t *ncl) argument [all...] |
H A D | pc_node.c | 84 struct pcfs *fsp, /* filsystem for node */ 94 ASSERT(fsp->pcfs_flags & PCFS_LOCKED); 99 scluster = pc_getstartcluster(fsp, ep); 109 hp = &pcdhead[PCDHASH(fsp, scluster)]; 113 if ((fsp == VFSTOPCFS(PCTOV(pcp)->v_vfsp)) && 122 hp = &pcfhead[PCFHASH(fsp, blkno, offset)]; 126 if ((fsp == VFSTOPCFS(PCTOV(pcp)->v_vfsp)) && 157 if (IS_FAT32(fsp)) { 160 scluster = fsp->pcfs_rdirstart; 161 if (pc_fileclsize(fsp, scluste 83 pc_getnode( struct pcfs *fsp, daddr_t blkno, int offset, struct pcdir *ep) argument 216 struct pcfs *fsp; local 303 pc_mark_mod(struct pcfs *fsp, struct pcnode *pcp) argument 325 pc_mark_acc(struct pcfs *fsp, struct pcnode *pcp) argument 360 struct pcfs *fsp; local 460 struct pcfs *fsp; local 490 struct pcfs *fsp; local 529 struct pcfs *fsp; local 573 pc_verify(struct pcfs *fsp) argument 647 pc_mark_irrecov(struct pcfs *fsp) argument 676 pc_diskchanged(struct pcfs *fsp) argument [all...] |
H A D | pc_dir.c | 136 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 164 if (PCA_IS_HIDDEN(fsp, dp->pc_entry.pcd_attr)) { 177 pc_getnode(fsp, slot.sl_blkno, slot.sl_offset, 223 boff = pc_blkoff(fsp, offset); 228 blkno = pc_daddrdb(fsp, bp->b_blkno); 232 *pcpp = pc_getnode(fsp, blkno, boff, ep); 235 (*pcpp)->pc_size = fsp->pcfs_clsize; 240 error = pc_syncfat(fsp); 276 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 301 if (!IS_FAT32(fsp)) 397 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 569 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 852 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 908 struct pcfs *fsp; local 998 struct pcfs *fsp; local 1114 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 1154 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 1206 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 1271 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 1624 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 1670 pc_getstartcluster(struct pcfs *fsp, struct pcdir *ep) argument 1687 pc_setstartcluster(struct pcfs *fsp, struct pcdir *ep, pc_cluster32_t cln) argument [all...] |
H A D | pc_vnops.c | 228 struct pcfs *fsp; local 232 fsp = VFSTOPCFS(vp->v_vfsp); 233 if (error = pc_verify(fsp)) 235 error = pc_lockfs(fsp, 0, 0); 239 pc_unlockfs(fsp); 243 if ((fsp->pcfs_vfs->vfs_flag & VFS_RDONLY) == 0) { 244 pc_mark_acc(fsp, pcp); 246 pc_unlockfs(fsp); 262 struct pcfs *fsp; local 266 fsp 306 struct pcfs *fsp; local 574 struct pcfs *fsp; local 711 struct pcfs *fsp; local 858 struct pcfs *fsp; local 889 struct pcfs *fsp; local 919 struct pcfs *fsp; local 992 struct pcfs *fsp; local 1052 struct pcfs *fsp; local 1137 struct pcfs *fsp; local 1178 struct pcfs *fsp; local 1219 struct pcfs *fsp; local 1263 struct pcfs *fsp; local 1306 struct pcfs *fsp; local 1448 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 1589 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 1634 struct pcfs *fsp; local 1765 struct pcfs *fsp; local 1972 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); local 2172 struct pcfs *fsp = VFSTOPCFS(dvp->v_vfsp); local 2319 struct pcfs *fsp = VFSTOPCFS(dvp->v_vfsp); local 2360 struct pcfs *fsp = VFSTOPCFS(dvp->v_vfsp); local 2406 struct pcfs *fsp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_filio.c | 449 struct fs *fsp = ufsvfsp->vfs_fs; local 455 if (!fsp->fs_ronly && (fsp->fs_reclaim & 457 fsp->fs_reclaim &= ~FS_RECLAIM; 458 fsp->fs_reclaim |= FS_RECLAIMING; 461 if (!fsp->fs_ronly) {
|
H A D | ufs_vfsops.c | 466 struct fs *fsp; local 491 fsp = getfs(vfsp); 504 fsp = ufsvfsp->vfs_fs; 507 (fsp->fs_rolled == FS_NEED_ROLL)) { 511 ufsvfsp, fsp); 513 fsp->fs_rolled = FS_ALL_ROLLED; 566 fsp = getfs(vfsp); 567 clkset(doclkset ? fsp->fs_time : -1); 581 struct fs *fsp = (struct fs *)bp->b_un.b_addr; local 628 if (fsp 800 struct fs *fsp; local 1781 struct fs *fsp; local 2215 struct fs *fsp = ufsvfsp->vfs_fs; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | solaris.c | 320 filterstats_t *fsp; local 329 fsp = ksp->ks_private; 331 fkp->fks_pass.value.ul = fsp->fr_pass; 332 fkp->fks_block.value.ul = fsp->fr_block; 333 fkp->fks_nom.value.ul = fsp->fr_nom; 334 fkp->fks_short.value.ul = fsp->fr_short; 335 fkp->fks_ppkl.value.ul = fsp->fr_ppkl; 336 fkp->fks_bpkl.value.ul = fsp->fr_bpkl; 337 fkp->fks_npkl.value.ul = fsp->fr_npkl; 338 fkp->fks_pkl.value.ul = fsp [all...] |
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_entity.c | 113 ipmi_sdr_full_sensor_t *fsp = local 115 *id = fsp->is_fs_entity_id; 116 *instance = fsp->is_fs_entity_instance; 117 *logical = fsp->is_fs_entity_logical; 293 ipmi_sdr_full_sensor_t *fsp; local 305 fsp = (ipmi_sdr_full_sensor_t *)sdrp->is_record; 306 number = fsp->is_fs_number; 307 sensor_type = fsp->is_fs_type; 308 reading_type = fsp->is_fs_reading_type; 412 ipmi_sdr_full_sensor_t *fsp; local [all...] |
H A D | ipmi_sdr.c | 267 ipmi_sdr_full_sensor_t *fsp = local 272 namelen = fsp->is_fs_idlen; 273 type = fsp->is_fs_idtype; 274 name = fsp->is_fs_idstring; 276 tmp = LE_IN16(&fsp->is_fs_assert_mask); 277 (void) memcpy(&fsp->is_fs_assert_mask, &tmp, 280 tmp = LE_IN16(&fsp->is_fs_deassert_mask); 281 (void) memcpy(&fsp->is_fs_deassert_mask, &tmp, 284 tmp = LE_IN16(&fsp->is_fs_reading_mask); 285 (void) memcpy(&fsp [all...] |
/illumos-gate/usr/src/lib/libmalloc/common/ |
H A D | malloc.c | 973 ssize_t fsp; /* free space in 1 hold block */ local 1016 fsp = freespace(hblk); 1017 inf.fsmblks += fsp; 1018 inf.usmblks += numlblks*size - fsp;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/ |
H A D | fstyp.c | 213 struct fs *fsp = &h->afs; local 217 ADD_INT32(h, "magic", fsp->fs_magic); 219 fsp->fs_postblformat == FS_42POSTBLFMT ? "static" : "dynamic"); 220 t = (time_t)fsp->fs_time; 224 ADD_INT32(h, "sblkno", fsp->fs_sblkno); 225 ADD_INT32(h, "cblkno", fsp->fs_cblkno); 226 ADD_INT32(h, "iblkno", fsp->fs_iblkno); 227 ADD_INT32(h, "dblkno", fsp->fs_dblkno); 228 ADD_INT32(h, "sbsize", fsp->fs_sbsize); 229 ADD_INT32(h, "cgsize", fsp 305 struct fs *fsp = &h->afs; local 461 struct fs *fsp = &h->afs; local 538 struct fs *fsp = &h->afs; local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses_safte.c | 892 uchar_t fsp; local 894 fsp = 4; 896 fsp = 3; 898 fsp = 2; 900 fsp = 1; 902 (void) wrbuf16(ssc, SAFTE_WT_FANSPD, idx, fsp, 0, slp);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ttyname.c | 106 static char *_ttyname_common(struct stat64 *fsp, char *buffer, 201 _ttyname_common(struct stat64 *fsp, char *buffer, uint_t match_mask) argument 233 if (spclp->spcl_rdev == fsp->st_rdev) { 237 } else if (spclp->spcl_fsdev == fsp->st_dev && 238 spclp->spcl_rdev == fsp->st_rdev && 239 spclp->spcl_inum == fsp->st_ino) { 259 (minor(spclp->spcl_rdev) == major(fsp->st_rdev))) 266 if ((retval = ispty(fsp, match_mask)) != NULL) 289 if ((pt = ispts(fsp, match_mask)) != NULL) { 296 == 0) ? MAX_SRCH_DEPTH : 1), 0, fsp); [all...] |
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | hsfs_susp.h | 54 * These here expect the fsp and a bit as an agument 56 #define SET_IMPL_BIT(fsp, y) ((fsp->hsfs_ext_impl) |= (0x01L) << (y)) 57 #define UNSET_IMPL_BIT(fsp, y) ((fsp->hsfs_ext_impl) &= ~((0x01L) << (y))) 58 #define IS_IMPL_BIT_SET(fsp, y) ((fsp->hsfs_ext_impl) & ((0x01L) << (y))) 65 * These here expect just the fsp->hsfs_ext_impl 67 #define SET_SUSP_BIT(fsp) (SET_IMPL_BIT((fsp), HAVE_SUS 232 struct hsfs *fsp; /* file system */ member in struct:sig_args_struct [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | fncs.c | 301 free_fstatus(FSTATUS *fsp) argument 303 if (fsp != NULL) { 304 if (fsp->form != NULL) 305 free_form(fsp->form); 306 if (fsp->alert != NULL) 307 free_alert(fsp->alert); 308 if (fsp->users_allowed != NULL) 309 unload_list(&fsp->users_allowed); 310 if (fsp->users_denied != NULL) 311 unload_list(&fsp [all...] |
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | mkfs.c | 621 struct file_set_desc *fsp; local 908 fsp = (struct file_set_desc *)&buf; 909 tp = &fsp->fsd_tag; 916 setstamp(&fsp->fsd_time); 917 fsp->fsd_ilevel = 3; 918 fsp->fsd_mi_level = 3; 919 fsp->fsd_cs_list = 1; 920 fsp->fsd_mcs_list = 1; 921 fsp->fsd_fs_no = 0; 922 fsp [all...] |
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 460 struct hs_volume *fsp; local 506 fsp = (struct hs_volume *)devp->un_fs.dummy; 517 fsp->vol_size = ISO_VOL_SIZE(bufp); 518 fsp->lbn_size = ISO_BLK_SIZE(bufp); 519 fsp->lbn_shift = ISO_SECTOR_SHIFT; 520 fsp->lbn_secshift = ISO_SECTOR_SHIFT; 521 fsp->vol_set_size = (ushort_t)ISO_SET_SIZE(bufp); 522 fsp->vol_set_seq = (ushort_t)ISO_SET_SEQ(bufp); 525 if (fsp->lbn_size & ~(1 << fsp [all...] |