Lines Matching refs:self
47 def __init__(self, t): argument
52 self.name = t[0]
53 self.number = t[1]
54 self.type = t[2]
55 if self.type == "string":
56 self.default = t[3]
58 self.default = t[4]
59 self.attr = t[5]
60 self.validtypes = t[6]
61 self.values = t[7]
62 self.colname = t[8]
63 self.rightalign = t[9]
64 self.visible = t[10]
65 self.indextable = t[11]
67 def delegatable(self): argument
70 return self.attr != "readonly"
101 def __init__(self, name, props=None, argument
121 self.name = name
130 self.__props = props
131 if "volume" not in types and self.getprop("type") == 3:
133 if "filesystem" not in types and self.getprop("type") == 2:
136 def getprop(self, propname): argument
148 return self.__props[p.name]["value"]
152 def parent(self): argument
154 return Dataset(self.name[:self.name.rindex("/")])
156 def descendents(self): argument
164 zfs.ioctl.next_dataset(self.name, False, cookie)
170 def userspace(self, prop): argument
180 d = zfs.ioctl.userspace_many(self.name, prop)
184 def userspace_upgrade(self): argument
187 return zfs.ioctl.userspace_upgrade(self.name)
189 def set_fsacl(self, un, d): argument
198 return zfs.ioctl.set_fsacl(self.name, un, d)
200 def get_fsacl(self): argument
205 return zfs.ioctl.get_fsacl(self.name)
207 def get_holds(self): argument
212 return zfs.ioctl.get_holds(self.name)