Lines Matching +full:entry +full:- +full:method
1 #-
2 # Copyright (c) 2006-2009 Marcel Moolenaar
46 struct g_part_entry *entry, struct sbuf *sb, const char *pfx)
51 G_PART_NAME(table, entry, buf, sizeof(buf)));
56 struct g_part_entry *entry, const char *pfx)
62 G_PART_FULLNAME(table, entry, sb, pfx);
71 struct g_part_entry *entry, const char *pfx)
76 G_PART_FULLNAME(table, entry, sb, pfx);
112 struct g_part_entry *entry __unused, struct bio *bp __unused)
118 # add() - scheme specific processing for the add verb.
119 METHOD int add {
121 struct g_part_entry *entry;
125 # add_alias() - Create aliases for the partition's provider with the given
127 METHOD void add_alias {
130 struct g_part_entry *entry;
134 # bootcode() - scheme specific processing for the bootcode verb.
135 METHOD int bootcode {
140 # create() - scheme specific processing for the create verb.
141 METHOD int create {
146 # destroy() - scheme specific processing for the destroy verb.
147 METHOD int destroy {
153 METHOD void dumpconf {
155 struct g_part_entry *entry;
160 # dumpto() - return whether the partition can be used for kernel dumps.
161 METHOD int dumpto {
163 struct g_part_entry *entry;
166 # fullname() - write the name of the given partition entry to the sbuf.
167 METHOD void fullname {
169 struct g_part_entry *entry;
174 # ioctl() - implement historic ioctls, perhaps.
175 METHOD int ioctl {
184 # modify() - scheme specific processing for the modify verb.
185 METHOD int modify {
187 struct g_part_entry *entry;
191 # new_provider() - Create the partition's provider(s).
192 METHOD struct g_provider * new_provider {
195 struct g_part_entry *entry;
199 # resize() - scheme specific processing for the resize verb.
200 METHOD int resize {
202 struct g_part_entry *entry;
206 # name() - return the name of the given partition entry.
208 METHOD const char * name {
210 struct g_part_entry *entry;
215 # precheck() - method to allow schemes to check the parameters given
222 METHOD int precheck {
228 # probe() - probe the provider attached to the given consumer for the
230 METHOD int probe {
235 # read() - read the on-disk partition table into memory.
236 METHOD int read {
241 # recover() - scheme specific processing for the recover verb.
242 METHOD int recover {
246 # setunset() - set or unset partition entry attributes.
247 METHOD int setunset {
249 struct g_part_entry *entry;
254 # type() - return a string representation of the partition type.
256 METHOD const char * type {
258 struct g_part_entry *entry;
263 # write() - write the in-memory partition table to disk.
264 METHOD int write {
269 # getattr() - get the specified attribute, if any
270 METHOD int getattr {
272 struct g_part_entry *entry;