Home
last modified time | relevance | path

Searched refs:lim (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/basic/ !
Dlimits-util.c16 uint64_t mem, lim; in physical_memory() local
66 r = safe_atou64(value, &lim); in physical_memory()
71 if (lim == UINT64_MAX) in physical_memory()
75 lim /= ps; in physical_memory()
76 lim *= ps; in physical_memory()
78 return MIN(mem, lim); in physical_memory()
Drlimit-util.h22 #define RLIMIT_MAKE_CONST(lim) ((struct rlimit) { lim, lim }) argument
/systemd-251/src/network/tc/ !
Dtbf.c38 double lim, lim2; in token_bucket_filter_fill_message() local
40 lim = tbf->rate * (double) tbf->latency / USEC_PER_SEC + tbf->burst; in token_bucket_filter_fill_message()
43 lim = MIN(lim, lim2); in token_bucket_filter_fill_message()
45 opt.limit = lim; in token_bucket_filter_fill_message()
/systemd-251/src/shared/ !
Dbtrfs-util.c782 .lim.max_rfer = referenced_max, in btrfs_qgroup_set_limit_fd()
783 .lim.flags = BTRFS_QGROUP_LIMIT_MAX_RFER, in btrfs_qgroup_set_limit_fd()
1266 .lim.max_rfer = le64toh(qli->max_rfer), in btrfs_qgroup_copy_limits()
1267 .lim.max_excl = le64toh(qli->max_excl), in btrfs_qgroup_copy_limits()
1268 .lim.rsv_rfer = le64toh(qli->rsv_rfer), in btrfs_qgroup_copy_limits()
1269 .lim.rsv_excl = le64toh(qli->rsv_excl), in btrfs_qgroup_copy_limits()
1271 .lim.flags = le64toh(qli->flags) & (BTRFS_QGROUP_LIMIT_MAX_RFER| in btrfs_qgroup_copy_limits()
/systemd-251/src/basic/linux/ !
Dbtrfs.h95 struct btrfs_qgroup_limit lim; member
101 struct btrfs_qgroup_limit lim; member