Searched refs:fsp (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_alloc.c44 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 Dpc_vfsops.c89 static int pc_readfat(struct pcfs *fsp, uchar_t *fatp);
90 static int pc_writefat(struct pcfs *fsp, daddr_t start);
92 static int pc_getfattype(struct pcfs *fsp);
93 static void pcfs_parse_mntopts(struct pcfs *fsp);
453 struct pcfs *fsp; local
469 for (fsp = pc_mounttab; fsp; fsp = fsp->pcfs_nxt)
470 if (fsp
547 pcfs_parse_mntopts(struct pcfs *fsp) argument
632 struct pcfs *fsp; local
816 struct pcfs *fsp, *fsp1; local
877 struct pcfs *fsp; local
900 struct pcfs *fsp; local
927 pc_syncfsnodes(struct pcfs *fsp) argument
967 struct pcfs *fsp; local
1002 pc_lockfs(struct pcfs *fsp, int diskchanged, int releasing) argument
1035 pc_unlockfs(struct pcfs *fsp) argument
1050 pc_syncfat(struct pcfs *fsp) argument
1103 pc_invalfat(struct pcfs *fsp) argument
1136 pc_badfs(struct pcfs *fsp) argument
1159 struct pcfs *fsp; local
1280 pc_readfat(struct pcfs *fsp, uchar_t *fatp) argument
1322 pc_writefat(struct pcfs *fsp, daddr_t start) argument
1358 pc_mark_fat_updated(struct pcfs *fsp, pc_cluster32_t cn) argument
1393 pc_fat_is_changed(struct pcfs *fsp, pc_cluster32_t bn) argument
1407 struct pcfs *fsp = VFSTOPCFS(vfsp); local
1515 findTheDrive(struct pcfs *fsp, buf_t **bp) argument
1825 secondaryBPBChecks(struct pcfs *fsp, uchar_t *bpb, size_t secsize) argument
1920 parseBPB(struct pcfs *fsp, uchar_t *bpb, int *valid) argument
2296 pcfs_device_getinfo(struct pcfs *fsp) argument
2458 pc_getfattype(struct pcfs *fsp) argument
2538 pc_getfat(struct pcfs *fsp) argument
[all...]
H A Dpc_node.c84 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 Dpc_vnops.c228 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...]
H A Dpc_dir.c136 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...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c213 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/fs/hsfs/
H A Dhsfs_node.c110 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 Dhsfs_vfsops.c216 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...]
H A Dhsfs_subr.c309 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 Dhsfs_susp_subr.c89 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 Dhsfs_vnops.c155 static void hsched_enqueue_io(struct hsfs *fsp, struct hio *hsio, int ra);
156 int hsched_invoke_strategy(struct hsfs *fsp);
313 struct hsfs *fsp; local
316 fsp = VFS_TO_HSFS(vp->v_vfsp);
345 (hp->hs_dirent.xar_len << fsp->hsfs_vol.lbn_shift), DEV_BSIZE);
379 struct hsfs *fsp; local
384 fsp = VFS_TO_HSFS(vp->v_vfsp);
391 rw_enter(&fsp->hsfs_hash_lock, RW_WRITER);
404 rw_exit(&fsp->hsfs_hash_lock);
424 hs_freenode(vp, fsp, nopag
482 struct hsfs *fsp; local
797 hsfs_getpage_ra( struct vnode *vp, u_offset_t off, struct seg *seg, caddr_t addr, struct hsnode *hp, struct hsfs *fsp, int xarsiz, offset_t bof, int chunk_lbn_count, int chunk_data_bytes) argument
1098 struct hsfs *fsp; local
1580 struct hsfs *fsp; local
1992 hsched_init(struct hsfs *fsp, int fsid, struct modlinkage *modlinkage) argument
2118 hsched_invoke_strategy(struct hsfs *fsp) argument
2373 hsched_enqueue_io(struct hsfs *fsp, struct hio *hsio, int ra) argument
2400 struct hsfs *fsp; local
[all...]
H A Dhsfs_susp.c136 SET_SUSP_BIT(sig_args_p->fsp);
138 sig_args_p->fsp->hsfs_sua_off = SP_SUA_OFFSET(sp_ptr);
177 SET_IMPL_BIT(sig_args_p->fsp, index);
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_susp.h54 * 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...]
H A Dhsfs_impl.h59 extern void hs_freenode(vnode_t *vp, struct hsfs *fsp, int nopage);
61 extern int hs_parsedir(struct hsfs *fsp, uchar_t *dirp,
78 extern void hs_log_bogus_disk_warning(struct hsfs *fsp, int errtype,
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c466 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/lib/libbc/libc/gen/common/
H A Dfstab.c114 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/uts/common/inet/ipf/
H A Dsolaris.c320 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/cmd/fs.d/
H A Ddf.c1314 g_output(struct df_request *dfrp, struct statvfs64 *fsp) argument
1316 fsblkcnt64_t available_blocks = fsp->f_bavail;
1317 fsblkcnt64_t total_blocks = fsp->f_blocks;
1386 NCOL3_WIDTH, fsp->f_bsize, SCOL3_WIDTH, block_size_str,
1387 NCOL4_WIDTH, fsp->f_frsize, SCOL4_WIDTH, frag_size_str);
1398 adjust_total_blocks(dfrp, &total_blocks, fsp->f_frsize);
1402 total_blocks, fsp->f_frsize, 512),
1405 fsp->f_bfree, fsp->f_frsize, 512),
1408 available_blocks, fsp
1431 k_output(struct df_request *dfrp, struct statvfs64 *fsp) argument
1575 t_output(struct df_request *dfrp, struct statvfs64 *fsp) argument
1617 eb_output(struct df_request *dfrp, struct statvfs64 *fsp) argument
1641 e_output(struct df_request *dfrp, struct statvfs64 *fsp) argument
1653 b_output(struct df_request *dfrp, struct statvfs64 *fsp) argument
1666 n_output(struct df_request *dfrp, struct statvfs64 *fsp) argument
1675 default_output(struct df_request *dfrp, struct statvfs64 *fsp) argument
1696 V_output(struct df_request *dfrp, struct statvfs64 *fsp) argument
[all...]
/illumos-gate/usr/src/cmd/fm/ipmitopo/common/
H A Dipmitopo.c48 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/lib/libipmi/common/
H A Dipmi_entity.c113 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 Dipmi_sdr.c267 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/libc/port/gen/
H A Dttyname.c106 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/cmd/ed/
H A Ded.c175 static char *fsp; variable
2824 for (fsp = line; *fsp && *fsp != '\n'; fsp += len) {
2825 if ((len = mblen(fsp, MB_CUR_MAX)) <= 0)
2827 switch (*fsp) {
2831 if (*(fsp+1) == ':') {
2837 fsp++;
2857 if (*(fsp
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c143 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/lp/cmd/lpsched/
H A Dfncs.c301 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...]

Completed in 127 milliseconds

12