Lines Matching full:none
7 sysfs_root = None
14 if sysfs_root is None:
19 "Returns error string if failed, or None otherwise"
26 return None
29 '''Returns the read content and error string. The read content is None if
33 return f.read(), None
35 return None, '%s' % e
38 size = None
39 nr_accesses = None
40 age = None
41 scheme = None
43 def __init__(self, size=None, nr_accesses=None, age=None):
48 if self.size is None:
50 if self.nr_accesses is None:
52 if self.age is None:
61 if err is not None:
65 if err is not None:
69 if err is not None:
73 if err is not None:
77 if err is not None:
81 if err is not None:
89 metric = None
90 target_value = None
91 current_value = None
92 effective_bytes = None
93 quota = None # owner quota
94 idx = None
107 if err is not None:
111 if err is not None:
115 if err is not None:
117 return None
120 sz = None # size quota, in bytes
121 ms = None # time quota
122 goals = None # quota goals
123 reset_interval_ms = None # quota reset interval
124 scheme = None # owner scheme
126 def __init__(self, sz=0, ms=0, goals=None, reset_interval_ms=0):
130 self.goals = goals if goals is not None else []
140 if err is not None:
143 if err is not None:
147 if err is not None:
152 if err is not None:
156 if err is not None:
160 if err is not None:
162 return None
165 nr_tried = None
166 sz_tried = None
167 nr_applied = None
168 sz_applied = None
169 qt_exceeds = None
186 action = None
187 access_pattern = None
188 quota = None
189 apply_interval_us = None
191 idx = None
192 context = None
193 tried_bytes = None
194 stats = None
195 tried_regions = None
212 if err is not None:
215 if err is not None:
219 if err is not None:
223 if err is not None:
228 os.path.join(self.sysfs_dir(), 'watermarks', 'metric'), 'none')
229 if err is not None:
235 if err is not None:
239 pid = None
241 idx = None
242 context = None
254 if err is not None:
260 sample_us = None
261 aggr_us = None
262 update_us = None
263 min_nr_regions = None
264 max_nr_regions = None
265 context = None
286 if err is not None:
290 if err is not None:
294 if err is not None:
300 if err is not None:
306 if err is not None:
310 ops = None
311 monitoring_attrs = None
312 targets = None
313 schemes = None
314 kdamond = None
315 idx = None
340 if err is not None:
343 if err is not None:
349 if err is not None:
353 if err is not None:
357 if err is not None:
363 if err is not None:
367 if err is not None:
371 if err is not None:
373 return None
376 state = None
377 pid = None
378 contexts = None
379 idx = None # index of this kdamond between siblings
380 kdamonds = None # parent
395 if err is not None:
399 if err is not None:
404 if err is not None:
416 if err is not None:
432 if err is not None:
441 if err is not None:
447 if err is not None:
454 if err is not None:
463 if err is not None:
471 if err is not None:
479 if err is not None:
482 return None
488 if err is not None:
492 if err is not None:
497 if err is not None:
508 if err is not None:
530 if err is not None:
534 if err is not None:
536 return None
541 if err is not None:
543 return None