Searched refs:quotactl (Results 1 - 10 of 10) sorted by relevance

/macosx-10.9.5/diskdev_cmds-572.1.1/quotaon.tproj/
H A Dquotaon.c241 if (quotactl(fst->f_mntonname, QCMD(Q_QUOTAOFF, type), 0, 0) < 0) {
251 if (quotactl(fst->f_mntonname, QCMD(Q_QUOTAON, type), 0, qfpathname) < 0) {
271 if (quotactl(fs->fs_file, QCMD(Q_QUOTAOFF, type), 0, 0) < 0) {
280 if (quotactl(fs->fs_file, QCMD(Q_QUOTAON, type), 0, qfpathname) < 0) {
/macosx-10.9.5/xnu-2422.115.4/bsd/man/man2/
H A DMakefile135 quotactl.2 \
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dquota.h115 * Command definitions for the 'quotactl' system call. The commands are
247 int quotactl(const char *, int, int, caddr_t);
/macosx-10.9.5/diskdev_cmds-572.1.1/quotacheck.tproj/
H A Dquotacheck.c402 if (quotactl(fsname, QCMD(Q_SYNC, type), 0, 0) < 0 &&
505 (void) quotactl(fsname, QCMD(Q_SETUSE, type), dqbuf.dqb_id,
538 (void) quotactl(fsname, QCMD(Q_SETUSE, type),
605 if (quotactl(fsname, QCMD(Q_SYNC, type), (u_long)0, (caddr_t)0) < 0 &&
650 (void) quotactl(fsname, QCMD(Q_SETUSE, type), id,
/macosx-10.9.5/diskdev_cmds-572.1.1/quota.tproj/
H A Dquota.c126 if (quotactl("/", 0, 0, (caddr_t)0) < 0 && errno == ENOTSUP) {
597 error = quotactl(fst[i].f_mntonname, qcmd, id, (char *)&dqb);
660 if (quotactl(fs->fs_file, qcmd, id, &qup->dqblk) != 0) {
/macosx-10.9.5/diskdev_cmds-572.1.1/repquota.tproj/
H A Drepquota.c274 if (quotactl(fst->f_mntonname, QCMD(Q_SYNC, type), 0, 0) < 0 &&
389 if (quotactl(fs->fs_file, QCMD(Q_SYNC, type), 0, 0) < 0 &&
/macosx-10.9.5/diskdev_cmds-572.1.1/edquota.tproj/
H A Dedquota.c357 if (quotactl(fst[i].f_mntonname, qcmd, id, (char *)&qup->dqblk) != 0) {
431 if (quotactl(fs->fs_file, qcmd, id, &qup->dqblk) != 0) {
629 if (quotactl(qup->fsname, qcmd, id, (char *)&qup->dqblk) == 0)
/macosx-10.9.5/NFS-81/rpc.rquotad/
H A Drquotad.c574 if (quotactl(path, qcmd, id, (char*)dqblk) == 0) {
/macosx-10.9.5/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dtests.c4039 * Test quotactl system calls.
4056 my_err = quotactl( "/mach_kernel", QCMD(Q_QUOTASTAT, USRQUOTA), 0, (caddr_t)&is_quotas_on );
4058 printf( "quotactl - Q_QUOTASTAT - failed with errno %d - %s \n", errno, strerror( errno ) );
4068 my_err = quotactl( "/mach_kernel", QCMD(Q_GETQUOTA, USRQUOTA), getuid(), (caddr_t)&my_quota_blk );
4070 printf( "quotactl - Q_GETQUOTA - failed with errno %d - %s \n", errno, strerror( errno ) );
/macosx-10.9.5/xnu-2422.115.4/bsd/vfs/
H A Dvfs_syscalls.c2118 quotactl(proc_t p, struct quotactl_args *uap, int32_t *retval) function
2225 quotactl(__unused proc_t p, __unused struct quotactl_args *uap, __unused int32_t *retval) function

Completed in 126 milliseconds