Searched refs:quota (Results 1 – 11 of 11) sorted by relevance
| /tools/ocaml/xenstored/ |
| A D | quota.ml | 39 let to_string quota domid = 41 Printf.sprintf "dom%i quota: %i/%i" domid (DomidMap.find domid quota.cur) quota.maxent 48 let copy quota = { quota with cur = quota.cur } 50 let del quota id = { quota with cur = DomidMap.remove id quota.cur } 52 let _check quota id size = 66 let check quota id size = 68 _check quota id size 78 let del_entry quota id = 79 {quota with cur = update_entry quota.cur id (-1)} 81 let add_entry quota id = [all …]
|
| A D | oxenstored.conf.in | 57 # Activate quota 58 quota-activate = true 59 quota-maxentity = 1000 60 quota-maxsize = 2048 61 quota-maxwatch = 100 62 quota-transaction = 10 63 quota-maxrequests = 1024 64 quota-path-max = 1024 65 quota-maxoutstanding = 1024 66 quota-maxwatchevents = 1024
|
| A D | store.ml | 248 mutable quota: Quota.t; RecordField 254 let get_quota store = store.quota 255 let set_quota store quota = store.quota <- quota 413 store.quota <- Quota.merge orig_quota mod_quota store.quota 427 then store.quota <- Quota.add_entry store.quota owner 436 store.quota <- Quota.add_entry store.quota owner 444 …store.quota <- Node.recurse (fun node quota -> Quota.del_entry quota (Node.get_owner node)) rmed_n… 455 store.quota <- 456 let quota = Quota.del_entry store.quota old_owner in 498 quota = Quota.create (); [all …]
|
| A D | transaction.ml | 84 quota: Quota.t; RecordField 127 quota = Quota.copy store.Store.quota; 222 maybe (fun n -> Store.set_node cstore p n t.quota store.Store.quota) n;
|
| A D | xenstored.ml | 100 ("quota-activate", Config.Set_bool Quota.activate); 101 ("quota-maxwatch", Config.Set_int Define.maxwatch); 102 ("quota-transaction", Config.Set_int Define.maxtransaction); 103 ("quota-maxentity", Config.Set_int Quota.maxent); 104 ("quota-maxsize", Config.Set_int Quota.maxsize); 105 ("quota-maxrequests", Config.Set_int Define.maxrequests); 106 ("quota-maxoutstanding", Config.Set_int Define.maxoutstanding); 107 ("quota-maxwatchevents", Config.Set_int Define.maxwatchevents); 108 ("quota-path-max", Config.Set_int Define.path_max);
|
| A D | Makefile | 42 quota \
|
| A D | process.ml | 231 | "quota" :: domid :: _ -> 233 let quota = (Store.get_quota t.Transaction.store) in 234 Some (Quota.to_string quota domid ^ "\000")
|
| /tools/xenstored/ |
| A D | domain.h | 43 struct quota { struct 50 extern struct quota hard_quotas[ACC_N]; argument 51 extern struct quota soft_quotas[ACC_N];
|
| A D | control.c | 104 const struct quota *quotas) in quota_show_current() 129 const char **vec, int num, struct quota *quotas) in quota_set()
|
| A D | domain.c | 54 struct quota hard_quotas[ACC_N] = { 102 struct quota soft_quotas[ACC_N] = {
|
| A D | core.c | 2619 struct quota *q = soft ? soft_quotas : hard_quotas; in set_quota()
|
Completed in 29 milliseconds