Searched refs:fst (Results 1 - 24 of 24) sorted by relevance

/macosx-10.10/diskdev_cmds-576/quotaon.tproj/
H A Dquotaon.c119 struct statfs *fst; local
160 nfst = getmntinfo(&fst, MNT_WAIT);
167 if(strcmp(fst[i].f_fstypename, "hfs")) {
170 if(fst[i].f_flags & MNT_RDONLY) {
176 if (gflag && hasquota(&fst[i], GRPQUOTA, &qfnp))
177 errs += quotaonoff(&fst[i], offmode, GRPQUOTA, qfnp);
178 if (uflag && hasquota(&fst[i], USRQUOTA, &qfnp))
179 errs += quotaonoff(&fst[i], offmode, USRQUOTA, qfnp);
182 if ((argnum = oneof(fst[i].f_mntonname, argv, argc)) >= 0 ||
183 (argnum = oneof(fst[
[all...]
/macosx-10.10/autofs-246/automountlib/
H A Dns_fstab.c195 freefst_ent(fst)
196 struct fstabnode *fst;
198 if (fst->fst_dir != NULL)
199 free(fst->fst_dir);
200 if (fst->fst_vfstype != NULL)
201 free(fst->fst_vfstype);
202 if (fst->fst_mntops != NULL)
203 free(fst->fst_mntops);
204 if (fst->fst_url != NULL)
205 free(fst
317 struct fstabnode *fst = NULL; local
570 struct fstabnode *fst; local
753 struct fstabnode *fst; local
[all...]
/macosx-10.10/diskdev_cmds-576/repquota.tproj/
H A Drepquota.c138 struct statfs *fst; local
171 nfst = getmntinfo(&fst, MNT_WAIT);
178 if(strcmp(fst[i].f_fstypename, "hfs")) {
182 if (gflag && hasquota(&fst[i], GRPQUOTA, &qfnp))
183 errs += repquota(&fst[i], GRPQUOTA, qfnp);
184 if (uflag && hasquota(&fst[i], USRQUOTA, &qfnp))
185 errs += repquota(&fst[i], USRQUOTA, qfnp);
188 if ((argnum = oneof(fst[i].f_mntonname, argv, argc)) >= 0 ||
189 (argnum = oneof(fst[i].f_mntfromname, argv, argc)) >= 0) {
191 if (gflag && hasquota(&fst[
[all...]
/macosx-10.10/diskdev_cmds-576/quotacheck.tproj/
H A Dquotacheck.c160 struct statfs *fst; local
195 nfst = getmntinfo(&fst, MNT_WAIT);
202 if(strcmp(fst[i].f_fstypename, "hfs")) {
207 if ((auxdata = needchk(&fst[i])) &&
208 (name = blockcheck(fst[i].f_mntfromname))) {
209 errs += chkquota(fst[i].f_fstypename, name, fst[i].f_mntonname, auxdata);
218 if (((argnum = oneof(fst[i].f_mntonname, argv, argc)) >= 0 ||
219 (argnum = oneof(fst[i].f_mntfromname, argv, argc)) >= 0) &&
220 (auxdata = needchk(&fst[
[all...]
/macosx-10.10/file_cmds-242/mv/
H A Dmv.c363 fstore_t fst; local
365 fst.fst_flags = 0;
366 fst.fst_posmode = F_PEOFPOSMODE;
367 fst.fst_offset = 0;
368 fst.fst_length = sbp->st_size;
370 (void) fcntl(to_fd, F_PREALLOCATE, &fst);
/macosx-10.10/NFS-82/rpc.rquotad/
H A Drquotad.c73 int hasquota(struct statfs *fst, char **uqfnamep, char **gqfnamep);
641 hasquota(struct statfs *fst, char **uqfnamep, char **gqfnamep) argument
653 snprintf(buf, sizeof(buf), "%s/%s.%s", fst->f_mntonname, QUOTAOPSNAME, qfextension[USRQUOTA] );
655 snprintf(ubuf, sizeof(ubuf), "%s/%s.%s", fst->f_mntonname, QUOTAFILENAME, qfextension[USRQUOTA]);
659 snprintf(buf, sizeof(buf), "%s/%s.%s", fst->f_mntonname, QUOTAOPSNAME, qfextension[GRPQUOTA] );
661 snprintf(gbuf, sizeof(gbuf), "%s/%s.%s", fst->f_mntonname, QUOTAFILENAME, qfextension[GRPQUOTA]);
686 fsadd(struct statfs *fst) argument
692 if (strcmp(fst->f_fstypename, "hfs") &&
693 strcmp(fst->f_fstypename, "ufs"))
695 if (!hasquota(fst,
753 fsdel(struct statfs *fst) argument
[all...]
/macosx-10.10/diskdev_cmds-576/quota.tproj/
H A Dquota.c573 struct statfs *fst; local
586 nfst = getmntinfo(&fst, MNT_WAIT);
595 if (hasseen(cache, fst[i].f_mntonname))
597 error = quotactl(fst[i].f_mntonname, qcmd, id, (char *)&dqb);
599 if (strcmp(fst[i].f_fstypename, "hfs"))
601 if (!hasquota(&fst[i], quotatype, &qfpathname))
624 strlcpy(qup->fsname, fst[i].f_mntonname, sizeof(qup->fsname));
778 hasquota(fst, type, qfnamep)
779 register struct statfs *fst;
797 (void)snprintf(buf, sizeof(buf), "%s/%s.%s", fst
[all...]
/macosx-10.10/diskdev_cmds-576/edquota.tproj/
H A Dedquota.c326 struct statfs *fst; local
340 nfst = getmntinfo(&fst, MNT_WAIT);
347 if (strcmp(fst[i].f_fstypename, "hfs")) {
350 if (!hasquota(&fst[i], quotatype, &qfpathname))
357 if (quotactl(fst[i].f_mntonname, qcmd, id, (char *)&qup->dqblk) != 0) {
377 if (qfinit(fd, &fst[i], quotatype)) {
394 strlcpy(qup->fsname, fst[i].f_mntonname, sizeof(qup->fsname));
495 qfinit(fd, fst, type)
497 struct statfs *fst;
510 fs_size = (u_int64_t)fst
[all...]
/macosx-10.10/file_cmds-242/cp/
H A Dutils.c165 fstore_t fst; local
167 fst.fst_flags = 0;
168 fst.fst_posmode = F_PEOFPOSMODE;
169 fst.fst_offset = 0;
170 fst.fst_length = fs->st_size;
172 (void) fcntl(to_fd, F_PREALLOCATE, &fst);
/macosx-10.10/hfs-285/hfs_util/
H A Dhfsutil_jnl.c351 fstore_t fst; local
455 memset(&fst, 0, sizeof(fst));
456 fst.fst_flags = F_ALLOCATECONTIG|F_ALLOCATEALL;
457 fst.fst_length = journal_size;
458 fst.fst_posmode = F_PEOFPOSMODE;
460 ret = fcntl(fd, F_PREALLOCATE, &fst);
477 printf("Allocated %lldK for journal file.\n", fst.fst_bytesalloc/1024LL);
/macosx-10.10/tcl-105/tcl_ext/tclsoap/tclsoap/
H A DSOAP-service.tcl262 set fst [addNode $flt "faultstring"]
263 addTextNode $fst {Incorrect number of arguments}
H A DSOAP.tcl703 set fst [addNode $flt "faultstring"]
704 addTextNode $fst $faultstring
/macosx-10.10/gnutar-453/gnutar/src/
H A Dextract.c848 fstore_t fst;
850 fst.fst_flags = 0;
851 fst.fst_posmode = F_PEOFPOSMODE;
852 fst.fst_offset = 0;
853 fst.fst_length = current_stat_info.stat.st_size;
855 (void)fcntl(fd, F_PREALLOCATE, &fst);
847 fstore_t fst; local
/macosx-10.10/OpenSSH-189/openssh/
H A Dscp.c1187 fstore_t fst; local
1189 fst.fst_flags = 0;
1190 fst.fst_posmode = F_PEOFPOSMODE;
1191 fst.fst_offset = 0;
1192 fst.fst_length = size;
1194 (void) fcntl(ofd, F_PREALLOCATE, &fst);
H A Dloginrec.c1665 struct stat fst; local
1674 if (fstat(fd, &fst) < 0) {
1679 if((fst.st_mode & (S_IXGRP | S_IRWXO)) || (fst.st_uid != 0)){
/macosx-10.10/autofs-246/automountd/
H A Dautod_parse.c2722 create_mapent(struct fstabnode *fst, void *arg) argument
2742 if (strcmp(fst->fst_dir, "/") == 0)
2745 if (*(fst->fst_dir) != '/')
2746 me->map_mntpnt = strprefix_slash(fst->fst_dir);
2748 me->map_mntpnt = strdup(fst->fst_dir);
2753 me->map_fstype = strdup(fst->fst_vfstype);
2756 me->map_mounter = strdup(fst->fst_vfstype);
2759 me->map_mntopts = strdup(fst->fst_mntops);
2771 if (strcmp(fst->fst_vfstype, "url") == 0) {
2773 mfs->mfs_dir = strdup(fst
[all...]
/macosx-10.10/lukemftp-14/tnftp/src/
H A Dftp.c1067 fstore_t fst; local
1069 fst.fst_flags = 0;
1070 fst.fst_posmode = F_PEOFPOSMODE;
1071 fst.fst_offset = 0;
1072 fst.fst_length = filesize - restart_point;
1074 (void) fcntl(fileno(fout), F_PREALLOCATE, &fst); local
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/
H A DNTMakefile117 $(OBJ)\rijndael-alg-fst.obj \
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_syscalls.c2675 struct getfsstat_struct fst; local
2731 fst.sfsp = sfsp;
2732 fst.mp = mp;
2733 fst.flags = uap->flags;
2734 fst.count = 0;
2735 fst.error = 0;
2736 fst.maxcount = maxcount;
2739 vfs_iterate(0, getfsstat_callback, &fst);
2744 if (fst.error ) {
2745 KAUTH_DEBUG("ERROR - %s gets %d", p->p_comm, fst
2799 struct getfsstat_struct fst; local
[all...]
/macosx-10.10/tcl-105/tcl/tcl/generic/
H A DtclDate.c2434 { "fst", tDAYZONE, -HOUR( 1) }, /* French Summer */
/macosx-10.10/vim-55/runtime/syntax/
H A Dfasm.vim52 syn keyword fasmInstr fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr
/macosx-10.10/copyfile-118.1.2/
H A Dcopyfile.c1840 fstore_t fst; local
1842 fst.fst_flags = 0;
1843 fst.fst_posmode = F_PEOFPOSMODE;
1844 fst.fst_offset = 0;
1845 fst.fst_length = s->sb.st_size;
1847 (void)fcntl(s->dst_fd, F_PREALLOCATE, &fst);
/macosx-10.10/vim-55/src/
H A Dgui_motif.c3154 Dimension fst; local
3160 XmNshadowThickness, &fst,
3163 borders += fst + fmh;
/macosx-10.10/tcl-105/tcl/tcl/library/
H A Dclock.tcl568 fst +0200 \

Completed in 248 milliseconds