Lines Matching defs:gpt_t
65 typedef struct gpt *gpt_t;
70 int (*fptr)(gpt_t, int, char *[]);
77 void gpt_close(gpt_t);
78 int gpt_gpt(gpt_t, off_t, int);
79 gpt_t gpt_open(const char *, int, int, off_t, u_int, time_t);
91 void* gpt_read(gpt_t, off_t, size_t);
92 off_t gpt_last(gpt_t);
93 off_t gpt_create(gpt_t, off_t, u_int, int);
94 int gpt_write(gpt_t, map_t);
95 int gpt_write_crc(gpt_t, map_t, map_t);
96 int gpt_write_primary(gpt_t);
97 int gpt_write_backup(gpt_t);
98 struct gpt_hdr *gpt_hdr(gpt_t);
99 void gpt_msg(gpt_t, const char *, ...) __printflike(2, 3);
100 void gpt_warn(gpt_t, const char *, ...) __printflike(2, 3);
101 void gpt_warnx(gpt_t, const char *, ...) __printflike(2, 3);
104 struct gpt_ent *gpt_ent_primary(gpt_t, unsigned int);
105 struct gpt_ent *gpt_ent_backup(gpt_t, unsigned int);
121 int gpt_change_ent(gpt_t, const struct gpt_find *,
123 int gpt_change_hdr(gpt_t, const struct gpt_find *,
125 int gpt_add_find(gpt_t, struct gpt_find *, int);
128 int gpt_add_ais(gpt_t, off_t *, u_int *, off_t *, int);
129 off_t gpt_check_ais(gpt_t, off_t, u_int, off_t);
131 int gpt_attr_get(gpt_t, uint64_t *);
134 int gpt_attr_update(gpt_t, u_int, uint64_t, uint64_t);
135 int gpt_uint_get(gpt_t, u_int *);
136 int gpt_human_get(gpt_t, off_t *);
137 int gpt_uuid_get(gpt_t, gpt_uuid_t *);
138 int gpt_name_get(gpt_t, void *);
139 int gpt_add_hdr(gpt_t, int, off_t);