| /src/external/mpl/bind/dist/lib/isc/ |
| quota.c | 1 /* $NetBSD: quota.c,v 1.11 2025/05/21 14:48:05 christos Exp $ */ 21 #include <isc/quota.h> 29 isc_quota_init(isc_quota_t *quota, unsigned int max) { 30 atomic_init("a->max, max); 31 atomic_init("a->used, 0); 32 atomic_init("a->soft, 0); 33 cds_wfcq_init("a->jobs.head, "a->jobs.tail); 34 ISC_LINK_INIT(quota, link); 35 quota->magic = QUOTA_MAGIC [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| quota.c | 1 /* $NetBSD: quota.c,v 1.1 2024/02/18 20:57:50 christos Exp $ */ 21 #include <isc/quota.h> 31 isc_quota_init(isc_quota_t *quota, unsigned int max) { 32 atomic_init("a->max, max); 33 atomic_init("a->used, 0); 34 atomic_init("a->soft, 0); 35 atomic_init("a->waiting, 0); 36 ISC_LIST_INIT(quota->cbs); 37 isc_mutex_init("a->cblock); 38 quota->magic = QUOTA_MAGIC 196 isc_quota_t *quota = *quotap; local [all...] |
| /src/external/mpl/bind/dist/tests/isc/ |
| quota_test.c | 30 #include <isc/quota.h> 38 isc_quota_t quota; variable 42 isc_quota_init("a, 100); 44 assert_int_equal(isc_quota_getmax("a), 100); 45 assert_int_equal(isc_quota_getsoft("a), 0); 47 isc_quota_max("a, 50); 48 isc_quota_soft("a, 30); 50 assert_int_equal(isc_quota_getmax("a), 50); 51 assert_int_equal(isc_quota_getsoft("a), 30); 53 assert_int_equal(isc_quota_getused("a), 0) [all...] |
| /src/usr.bin/quota/ |
| Makefile | 5 PROG= quota 6 SRCS= quota.c printquota.c 8 CPPFLAGS+= -I${NETBSDSRCDIR}/usr.bin/quota
|
| /src/external/mpl/bind/dist/lib/isc/include/isc/ |
| quota.h | 1 /* $NetBSD: quota.h,v 1.11 2025/01/26 16:25:42 christos Exp $ */ 22 /*! \file isc/quota.h 26 * a server. It keeps track of the amount of quota in use, and 28 * share a quota. 79 isc_quota_init(isc_quota_t *quota, unsigned int max); 81 * Initialize a quota object. 85 isc_quota_destroy(isc_quota_t *quota); 87 * Destroy a quota object. 91 isc_quota_soft(isc_quota_t *quota, unsigned int soft); 93 * Set a soft quota [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/ |
| quota.h | 1 /* $NetBSD: quota.h,v 1.1 2024/02/18 20:57:53 christos Exp $ */ 23 /*! \file isc/quota.h 27 * a server. It keeps track of the amount of quota in use, and 29 * share a quota. 48 /*% isc_quota_cb - quota callback structure */ 50 typedef void (*isc_quota_cb_func_t)(isc_quota_t *quota, void *data); 70 isc_quota_init(isc_quota_t *quota, unsigned int max); 72 * Initialize a quota object. 76 isc_quota_destroy(isc_quota_t *quota); 78 * Destroy a quota object [all...] |
| /src/usr.sbin/edquota/ |
| Makefile | 11 CPPFLAGS+=-I${NETBSDSRCDIR}/sys -I${NETBSDSRCDIR}/usr.bin/quota 15 .PATH: ${NETBSDSRCDIR}/usr.bin/quota
|
| /src/usr.sbin/repquota/ |
| Makefile | 13 CPPFLAGS+=-I${NETBSDSRCDIR}/sys -I${NETBSDSRCDIR}/usr.bin/quota 17 .PATH: ${NETBSDSRCDIR}/usr.bin/quota
|
| /src/lib/libquota/ |
| quota_delete.c | 36 #include <quota.h>
|
| quota_put.c | 36 #include <quota.h>
|
| quota_get.c | 36 #include <quota.h>
|
| /src/sys/ufs/ufs/ |
| Makefile | 5 INCS= dinode.h dir.h extattr.h inode.h quota.h quota1.h quota2.h \
|
| quota1.h | 34 * @(#)quota.h 8.3 (Berkeley) 8/19/94 40 #include <sys/quota.h> 41 #include <ufs/ufs/quota.h> 44 * These definitions are for the original disk quota implementation, which 61 #define QUOTAFILENAME "quota" 67 * to convey the type of quota that is being manipulated (see above). 81 * The following structure defines the format of the disk quota file 84 * the vnode for each quota file (a pointer is retained in the ufsmount
|
| quota.h | 1 /* $NetBSD: quota.h,v 1.30 2012/08/26 02:32:14 dholland Exp $ */ 34 * @(#)quota.h 8.3 (Berkeley) 8/19/94 41 * These definitions are common to the original disk quota implementation 46 * The following constants define the usage of the quota file array in the 49 * the remainder of the quota code treats them generically and need not be 57 * Initializer for the strings corresponding to the quota ID types. 58 * (in quota1 these are also the default names of the quota files) 66 #include <sys/quota.h>
|
| /src/etc/rc.d/ |
| cleartmp | 35 # Delete almost everything, except lost+found, quota.user, 36 # and quota.group in the top level. (This is not needed 46 find -x . ! -name . ! -name lost+found ! -name quota.user \ 47 ! -name quota.group -exec rm -rf -- {} \+ -type d -prune)
|
| /src/usr.sbin/quotacheck/ |
| Makefile | 11 CPPFLAGS+=-I${NETBSDSRCDIR}/sbin/fsck -I${NETBSDSRCDIR}/usr.bin/quota 12 .PATH: ${NETBSDSRCDIR}/sbin/fsck ${NETBSDSRCDIR}/sys/ufs/ffs ${NETBSDSRCDIR}/usr.bin/quota
|
| /src/external/mpl/bind/dist/bin/tests/system/checkconf/ |
| bad-fetchparam.conf | 14 /* Bad fetch-quota-params */ 16 fetch-quota-params 1 2 3 2;
|
| bad-sig0checks-quota-exempt.conf | 15 sig0checks-quota-exempt { unknownacl; };
|
| /src/sys/ufs/lfs/ |
| ulfs_quotacommon.h | 2 /* from NetBSD: quota.h,v 1.30 2012/08/26 02:32:14 dholland Exp */ 35 * @(#)quota.h 8.3 (Berkeley) 8/19/94 45 * These definitions are common to the original disk quota implementation 50 * Initializer for the strings corresponding to the quota ID types. 51 * (in quota1 these are also the default names of the quota files) 59 #include <sys/quota.h>
|
| ulfs_quota1.h | 35 * @(#)quota.h 8.3 (Berkeley) 8/19/94 41 #include <sys/quota.h> 45 * These definitions are for the original disk quota implementation, which 62 #define QUOTAFILENAME "quota" 68 * to convey the type of quota that is being manipulated (see above). 82 * The following structure defines the format of the disk quota file 85 * the vnode for each quota file (a pointer is retained in the ulfsmount
|
| /src/sys/altq/ |
| altq_wfq.h | 97 #define WFQ_QUOTA 512 /* quota bytes to send at a time */ 98 #define WFQ_ADDQUOTA(q) ((q)->quota += WFQ_QUOTA * (q)->weight / 100) 106 int quota; /* bytes sent in this round */ member in struct:weighted_fair_queue
|
| /src/external/mit/libuv/dist/test/ |
| test-platform-output.c | 97 uint64_t quota, period; local 102 if (fscanf(file, "%lu %lu", "a, &period) == 2 && quota > 0) { 104 cgroup_par = (unsigned int)(quota / period); 113 if (fscanf(file, "%lu", "a) == 1 && quota > 0 && quota < ~0ULL) { 118 cgroup_par = (unsigned int)(quota / period);
|
| /src/external/mpl/bind/dist/bin/tests/system/upforwd/ns3/ |
| named2.conf.j2 | 28 update-quota 1;
|
| /src/include/ |
| quota.h | 1 /* $NetBSD: quota.h,v 1.7 2017/04/04 12:25:40 sevan Exp $ */ 36 #include <sys/quota.h>
|
| /src/tests/fs/ffs/ |
| t_clearquota.sh | 32 "clear quota with ${q} enabled" -b ${e} ${v} ${q} 35 "clear quota with both enabled" -b ${e} ${v} "both" 37 "clear quota for new id with both enabled, WAPBL" -bl ${e} ${v} "both" 63 atf_fail "wrong quota type" 67 #set and check the expected quota 75 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v ${id} 83 #check that we do not get positive reply for any quota type 88 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v ${id}
|