/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_quota.h | 30 __aligned_u64 quota; member in struct:xt_quota_info
|
/external/iptables/include/linux/netfilter/ |
xt_quota.h | 16 __aligned_u64 quota; member in struct:xt_quota_info
|
xt_quota2.h | 19 aligned_u64 quota; member in struct:xt_quota_mtinfo2
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_quota.h | 17 __aligned_u64 quota; member in struct:xt_quota_info
|
/external/iptables/extensions/ |
libxt_quota.c | 2 * Shared library add-on to iptables to add quota support 15 {.name = "quota", .id = O_QUOTA, .type = XTTYPE_UINT64, 17 XTOPT_POINTER(struct xt_quota_info, quota)}, 23 printf("quota match options:\n" 24 "[!] --quota quota quota (bytes)\n"); 31 printf(" quota: %llu bytes", (unsigned long long)q->quota); 41 printf(" --quota %llu", (unsigned long long) q->quota) [all...] |
libxt_quota2.c | 41 {.name = "quota", .id = O_QUOTA, .type = XTTYPE_UINT64, 43 XTOPT_POINTER(struct xt_quota_mtinfo2, quota)}, 51 "quota match options:\n" 53 " --no-change never change counter/quota value for matching packets\n" 55 "[!] --quota quota initial quota (bytes or packets)\n" 99 printf(" --quota %llu ", (unsigned long long)q->quota); 112 printf(" quota"); [all...] |
/bionic/libc/include/sys/ |
quota.h | 32 * @file sys/quota.h 41 #include <linux/quota.h>
|
/bionic/tests/ |
sys_quota_test.cpp | 17 #include <sys/quota.h>
|
/external/ltp/testcases/kernel/syscalls/quotactl/ |
quotactl03.c | 23 * quotactl(2) with XGETNEXTQUOTA looks for the next active quota for an user 26 * and finding no active quota, it should return -1 and set errno to ENOENT. 42 #include <sys/quota.h> 46 # include <sys/quota.h> 99 TST_TEST_TCONF("This system didn't support quota or xfs quota");
|
quotactl02.c | 23 * 1) quotactl(2) succeeds to turn off xfs quota and get xfs quota off status. 24 * 2) quotactl(2) succeeds to turn on xfs quota and get xfs quota on status. 25 * 3) quotactl(2) succeeds to set and use Q_XGETQUOTA to get xfs disk quota 28 * quota limits. 34 #include <sys/quota.h> 38 # include <sys/quota.h> 69 "turn off xfs quota and get xfs quota off status"} [all...] |
quotactl01.c | 23 * 1) quotactl(2) succeeds to turn on quota with Q_QUOTAON flag for user. 24 * 2) quotactl(2) succeeds to set disk quota limits with Q_SETQUOTA flag 26 * 3) quotactl(2) succeeds to get disk quota limits with Q_GETQUOTA flag 32 * 6) quotactl(2) succeeds to get quota format with Q_GETFMT flag for user. 33 * 7) quotactl(2) succeeds to update quota usages with Q_SYNC flag for user. 34 * 8) quotactl(2) succeeds to turn off quota with Q_QUOTAOFF flag for user. 35 * 9) quotactl(2) succeeds to turn on quota with Q_QUOTAON flag for group. 36 * 10) quotactl(2) succeeds to set disk quota limits with Q_SETQUOTA flag 38 * 11) quotactl(2) succeeds to get disk quota limits with Q_GETQUOTA flag 44 * 14) quotactl(2) succeeds to get quota format with Q_GETFMT flag for group [all...] |
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
UtilsReceiver.java | 69 final long quota = sm.getCacheQuotaBytes(intUuid); local 70 final long bytes = (long) (quota * fraction); 93 Log.d(TAG, "Quota " + quota + ", target " + bytes + ", allocated " + allocated);
|
/external/ltp/testcases/kernel/fs/quota_remount/ |
quota_remount_test01.sh | 26 # with quota. This feature was added in kernel 2.6.26. Please ## 56 if [ ! -d /proc/sys/fs/quota ]; then 57 tst_resm TCONF "Quota not supported in kernel!" 77 tst_resm TFAIL "Quota on Remount Failed" 90 # of quota files in a directory with SELinux file_t type 96 quotacheck -cug $MNTDIR || die 2 "Could not create quota files" 97 tst_resm TINFO "Successfully Created Quota Files" 99 quotaon -ug $MNTDIR || die 2 "Could not turn quota on" 100 tst_resm TINFO "Successfully Turned on Quota" 105 # Get current quota usag [all...] |
/external/syzkaller/vendor/google.golang.org/grpc/transport/ |
flowcontrol.go | 55 quota int32 56 // get waits on read from when quota goes less than or equal to zero. 57 // replenish writes on it when quota goes positive again. 61 // replenish is called by loopyWriter to give quota back to. 69 quota: sz, 79 if atomic.LoadInt32(&w.quota) > 0 { 80 atomic.AddInt32(&w.quota, -sz) 94 a := atomic.AddInt32(&w.quota, sz)
|
/external/f2fs-tools/fsck/ |
Makefile.am | 7 include_HEADERS = $(top_srcdir)/include/quota.h
|
/external/strace/tests/ |
quotactl.h | 2 * Common definitions for Linux and XFS quota tests. 42 # include <linux/quota.h> 47 # include <sys/quota.h>
|
/external/strace/tests-m32/ |
quotactl.h | 2 * Common definitions for Linux and XFS quota tests. 42 # include <linux/quota.h> 47 # include <sys/quota.h>
|
/external/strace/tests-mx32/ |
quotactl.h | 2 * Common definitions for Linux and XFS quota tests. 42 # include <linux/quota.h> 47 # include <sys/quota.h>
|
/external/autotest/client/site_tests/kernel_SchedBandwith/ |
kernel_SchedBandwith.py | 123 def _cg_set_quota(self, quota=-1): 124 """Set CPU quota that can be used for cgroup 129 quota) 132 if rd_quota != quota: 133 error.TestFail("Setting cpu quota to %d" % quota) 235 errors += self._check_stats('quota', quota_stats, 0.9)
|
/external/syzkaller/vendor/google.golang.org/appengine/ |
errors.go | 16 // due to insufficient available quota.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsUtils.java | 189 public static byte[] getDataFromImage(Image image, Semaphore quota) 208 if (quota != null) { 210 Logt.i(TAG, "Start waiting for quota Semaphore"); 211 quota.acquire(buffer.capacity()); 212 Logt.i(TAG, "Acquired quota Semaphore. Start reading image"); 214 Logt.e(TAG, "getDataFromImage error acquiring memory quota. Interrupted", e); 226 if (quota != null) { 228 Logt.i(TAG, "Start waiting for quota Semaphore"); 229 quota.acquire(dataSize); 230 Logt.i(TAG, "Acquired quota Semaphore. Start reading image") [all...] |
/external/e2fsprogs/po/ |
at-expand.pl | 98 $msg =~ s/\@q/quota/g;
|
/external/grpc-grpc/test/cpp/end2end/ |
thread_stress_test.cc | 156 ResourceQuota quota; variable 158 quota.SetMaxThreads(4); 159 builder.SetResourceQuota(quota);
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
AppStandbyTests.java | 319 final int quota = APP_STANDBY_QUOTAS[bucketIndex]; local 330 assertTrue("Quota too large for test", 331 firstTrigger + ((quota - 1) * MIN_FUTURITY) < desiredTrigger); 332 for (int i = 0; i < quota; i++) { 336 assertTrue("Alarm within quota not firing as expected", waitForAlarm()); 339 // Now quota is reached, any subsequent alarm should get deferred. 342 assertFalse("Alarm exceeding quota not deferred", waitForAlarm()); 345 assertTrue("Alarm exceeding quota not delivered after expected delay", waitForAlarm());
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
flow_control.cc | 310 static double AdjustForMemoryPressure(grpc_resource_quota* quota, 313 double memory_pressure = grpc_resource_quota_get_memory_pressure(quota);
|