| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| dsl_synctask.c | 163 uint64_t quota = dsl_pool_adjustedsize(dp, local 168 if (dst->dst_space > 0 && used + dst->dst_space * 3 > quota) {
|
| dsl_dir.c | 64 * or snapshots, even though they're not exceeding their space quota. 1060 uint64_t parentspace, myspace, quota, used; local 1066 quota = UINT64_MAX; 1076 quota = dsl_dir_phys(dd)->dd_quota; 1083 quota = MIN(quota, poolsize); 1102 if (used > quota) { 1103 /* over quota */ 1108 * the space left in our quota 1110 myspace = MIN(parentspace, quota - used) 1130 uint64_t est_inflight, used_on_disk, quota, parent_rsrv; local [all...] |
| zfs_vfsops.c | 1057 const char *domain, uint64_t rid, uint64_t quota) 1102 if (quota == 0) { 1107 err = zap_update(zfsvfs->z_os, *objp, buf, 8, 1, "a, tx); 1120 uint64_t used, quota, usedobj, quotaobj; local 1130 err = zap_lookup(zfsvfs->z_os, quotaobj, buf, 8, 1, "a); 1137 return (used >= quota);
|
| zfs_ioctl.c | 2435 uint64_t quota; local 2459 quota = valary[2]; 2463 err = zfs_set_userquota(zfsvfs, type, domain, rid, quota); 2658 * receiving quota and reservation out of order. 2898 * 'inherit -S' to revert non-inheritable properties like quota 4295 * refquota pre-receipt will set the dsl's ACTUAL quota, which will prevent 4942 * Retrieve a single {user|group}{used|quota}@... property.
|
| /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/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/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/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/sys/arch/arm/gemini/ |
| gemini_ipm.c | 34 size_t quota; member in struct:dispatch_entry 48 size_t sc_txqavail; /* quota available */ 159 gemini_ipm_register(uint8_t tag, unsigned int ipl, size_t quota, 170 tag, ipl, quota, consume, counter, arg)); 180 if (sc->sc_txqavail >= quota) { 181 sc->sc_txqavail -= quota;
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/netmgr/ |
| tcp.c | 29 #include <isc/quota.h> 75 accept_connection(isc_nmsocket_t *ssock, isc_quota_t *quota); 78 quota_accept_cb(isc_quota_t *quota, void *sock0); 94 * Detach the quota early to make room for other connections; 96 * the quota unnecessarily. 98 if (sock->quota != NULL) { 99 isc_quota_detach(&sock->quota); 398 * We don't attach to quota, just assign - to avoid 399 * increasing quota unnecessarily. 434 size_t extrahandlesize, int backlog, isc_quota_t *quota, 635 isc_quota_t *quota = NULL; local [all...] |
| tcpdns.c | 29 #include <isc/quota.h> 73 accept_connection(isc_nmsocket_t *ssock, isc_quota_t *quota); 76 quota_accept_cb(isc_quota_t *quota, void *sock0); 371 * We don't attach to quota, just assign - to avoid 372 * increasing quota unnecessarily. 399 size_t extrahandlesize, int backlog, isc_quota_t *quota, 428 sock->pquota = quota; 601 isc_quota_t *quota = NULL; local 617 result = isc_quota_attach_cb(ssock->pquota, "a, 626 result = accept_connection(ssock, quota); [all...] |
| netmgr-int.h | 32 #include <isc/quota.h> 536 isc_quota_t *quota; member in struct:isc__netievent__socket_quota 544 isc_nm_t *nm, isc_nmsocket_t *sock, isc_quota_t *quota); \ 550 isc_nm_t *nm, isc_nmsocket_t *sock, isc_quota_t *quota) { \ 554 ievent->quota = quota; \ 765 * quota is the TCP client, attached when a TCP connection 767 * TCP client quota, stored in listening sockets but only 770 isc_quota_t *quota; member in struct:isc_nmsocket
|
| /src/external/mpl/bind/dist/lib/ns/ |
| interfacemgr.c | 517 * this is necessary because we are adding to the TCP quota just 554 * this is necessary because we are adding to the TCP quota just 593 isc_quota_t *quota = NULL; local 600 quota = isc_mem_get(ifp->mgr->mctx, sizeof(*quota)); 601 isc_quota_init(quota, max_clients); 604 ifp->mgr->backlog, quota, sslctx, epset, 610 if (quota != NULL) { 612 isc_quota_destroy(quota); 613 isc_mem_put(ifp->mgr->mctx, quota, sizeof(*quota)) [all...] |
| /src/external/mit/libuv/dist/src/unix/ |
| core.c | 2049 long long quota = 0; local 2051 if (uv__get_constrained_cpu("a) == 0) 2052 if (quota > 0 && quota < rc) 2053 rc = quota;
|
| /src/external/mpl/bind/dist/lib/dns/ |
| adb.c | 120 uint32_t quota; member in struct:dns_adb 234 atomic_uint_fast32_t quota; member in struct:dns_adbentry 1061 .quota = adb->quota, 1463 "adb: quota %s (%" PRIuFAST32 "/%" PRIuFAST32 "): %s", 1465 atomic_load_relaxed(&entry->quota), msgbuf); 2432 if (adb != NULL && adb->quota != 0 && adb->atr_freq != 0) { 2433 uint_fast32_t quota = atomic_load_relaxed(&entry->quota); local 2434 fprintf(f, " [atr %0.2f] [quota %" PRIuFAST32 "]", entry->atr 3489 uint_fast32_t quota = atomic_load_relaxed(&entry->quota); local [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| adb.c | 159 uint32_t quota; member in struct:dns_adb 253 atomic_uint_fast32_t quota; member in struct:dns_adbentry 1889 atomic_init(&e->quota, adb->quota); 2219 "adb: quota %s (%" PRIuFAST32 "/%" PRIuFAST32 "): %s", 2221 atomic_load_relaxed(&entry->quota), msgbuf); 2610 adb->quota = 0; 3588 if (adb != NULL && adb->quota != 0 && adb->atr_freq != 0) { 3589 uint_fast32_t quota = atomic_load_relaxed(&entry->quota); local 4867 uint_fast32_t quota = atomic_load_relaxed(&entry->quota); local [all...] |
| /src/sys/dev/pci/ |
| if_iwm.c | 6387 int i, idx, num_active_macs, quota, quota_rem; local 6407 * equally between all the bindings that require quota 6415 quota = 0; 6418 quota = IWM_MAX_QUOTA / num_active_macs; 6430 cmd.quotas[idx].quota = htole32(0); 6433 cmd.quotas[idx].quota = htole32(quota * n_ifs[i]); 6440 cmd.quotas[0].quota = htole32(le32toh(cmd.quotas[0].quota) + quota_rem);
|
| if_iwmreg.h | 2886 /* Bindings and Time Quota */ 2931 * struct iwm_time_quota_data - configuration of time quota per binding 2933 * @quota: absolute time quota in TU. The scheduler will try to divide the 2934 * remainig quota (after Time Events) according to this quota. 2939 uint32_t quota; member in struct:iwm_time_quota_data 2944 * struct iwm_time_quota_cmd - configuration of time quota between bindings
|