Lines Matching refs:pr_fh_t
106 typedef struct fh_rec pr_fh_t; typedef
128 int (*fstat)(pr_fh_t *, int, struct stat *);
132 int (*open)(pr_fh_t *, const char *, int);
133 int (*close)(pr_fh_t *, int);
134 int (*read)(pr_fh_t *, int, char *, size_t);
135 ssize_t (*pread)(pr_fh_t *, int, void *, size_t, off_t);
136 int (*write)(pr_fh_t *, int, const char *, size_t);
137 ssize_t (*pwrite)(pr_fh_t *, int, const void *, size_t, off_t);
138 off_t (*lseek)(pr_fh_t *, int, off_t, int);
142 int (*ftruncate)(pr_fh_t *, int, off_t);
145 int (*fchmod)(pr_fh_t *, int, mode_t);
147 int (*fchown)(pr_fh_t *, int, uid_t, gid_t);
150 int (*faccess)(pr_fh_t *, int, uid_t, gid_t, array_header *);
152 int (*futimes)(pr_fh_t *, int, struct timeval *);
153 int (*fsync)(pr_fh_t *, int);
160 ssize_t (*fgetxattr)(pool *, pr_fh_t *, int, const char *, void *, size_t);
163 int (*flistxattr)(pool *, pr_fh_t *, int, array_header **);
166 int (*fremovexattr)(pool *, pr_fh_t *, int, const char *);
171 int (*fsetxattr)(pool *, pr_fh_t *, int, const char *, void *, size_t, int);
246 int pr_fsio_fstat(pr_fh_t *, struct stat *);
259 pr_fh_t *pr_fsio_open(const char *, int);
260 pr_fh_t *pr_fsio_open_canon(const char *, int);
261 int pr_fsio_close(pr_fh_t *);
262 int pr_fsio_read(pr_fh_t *, char *, size_t);
263 ssize_t pr_fsio_pread(pr_fh_t *, void *, size_t, off_t);
264 int pr_fsio_write(pr_fh_t *, const char *, size_t);
265 ssize_t pr_fsio_pwrite(pr_fh_t *, const void *, size_t, off_t);
268 int pr_fsio_ftruncate(pr_fh_t *, off_t);
271 int pr_fsio_fchmod(pr_fh_t *, mode_t);
273 int pr_fsio_fchown(pr_fh_t *, uid_t, gid_t);
277 int pr_fsio_faccess(pr_fh_t *, int, uid_t, gid_t, array_header *);
280 int pr_fsio_futimes(pr_fh_t *, struct timeval *);
281 int pr_fsio_fsync(pr_fh_t *fh);
282 off_t pr_fsio_lseek(pr_fh_t *, off_t, int);
287 ssize_t pr_fsio_fgetxattr(pool *, pr_fh_t *, const char *, void *, size_t);
290 int pr_fsio_flistxattr(pool *, pr_fh_t *, array_header **);
293 int pr_fsio_fremovexattr(pool *, pr_fh_t *, const char *);
296 int pr_fsio_fsetxattr(pool *, pr_fh_t *, const char *, void *, size_t, int);
308 int pr_fsio_close_with_error(pool *p, pr_fh_t *fh, pr_error_t **err);
309 int pr_fsio_fchmod_with_error(pool *p, pr_fh_t *fh, mode_t mode,
311 int pr_fsio_fchown_with_error(pool *p, pr_fh_t *fh, uid_t uid, gid_t gid,
319 pr_fh_t *pr_fsio_open_with_error(pool *p, const char *path, int flags,
321 int pr_fsio_read_with_error(pool *p, pr_fh_t *fh, char *buf, size_t sz,
329 int pr_fsio_write_with_error(pool *p, pr_fh_t *fh, const char *buf, size_t sz,
351 char *pr_fsio_getline(char *, size_t, pr_fh_t *, unsigned int *);
353 char *pr_fsio_gets(char *, size_t, pr_fh_t *);
354 int pr_fsio_puts(const char *, pr_fh_t *);
355 int pr_fsio_set_block(pr_fh_t *);