Home
last modified time | relevance | path

Searched defs:cleanup_fn (Results 1 - 19 of 19) sorted by relevance

/third_party/ltp/include/
H A Dtst_pid.h34 static inline pid_t tst_get_unused_pid(void (*cleanup_fn)(void)) in tst_get_unused_pid() argument
39 static inline int tst_get_free_pids(void (*cleanup_fn)(void)) in tst_get_free_pids() argument
H A Dtst_cmd.h68 static inline int tst_cmd_fds(void (cleanup_fn)(void), in tst_cmd_fds() argument
78 static inline int tst_cmd(void (cleanup_fn)(void), in tst_cmd() argument
/third_party/ltp/include/old/
H A Dold_device.h50 static inline const char *tst_acquire_device(void (cleanup_fn)(void)) in tst_acquire_device() argument
H A Dold_module.h55 static inline void tst_module_exists(void (cleanup_fn)(void), in tst_module_exists() argument
72 static inline void tst_module_load(void (cleanup_fn)(void), in tst_module_load() argument
84 tst_module_unload(void (cleanup_fn)(void), const char *mod_name) tst_module_unload() argument
[all...]
H A Dsafe_macros.h163 safe_mmap(const char *file, const int lineno, void (*cleanup_fn)(void), void *addr, size_t length, int prot, int flags, int fd, off_t offset) safe_mmap() argument
217 safe_stat(const char *file, const int lineno, void (cleanup_fn)(void), const char *path, struct stat *buf) safe_stat() argument
234 safe_fstat(const char *file, const int lineno, void (cleanup_fn)(void), int fd, struct stat *buf) safe_fstat() argument
251 safe_lstat(const char *file, const int lineno, void (cleanup_fn)(void), const char *path, struct stat *buf) safe_lstat() argument
268 safe_lseek(const char *file, const int lineno, void (cleanup_fn)(void), int fd, off_t offset, int whence) safe_lseek() argument
286 safe_getrlimit(const char *file, const int lineno, void (cleanup_fn)(void), int resource, struct rlimit *rlim) safe_getrlimit() argument
304 safe_setrlimit(const char *file, const int lineno, void (cleanup_fn)(void), int resource, const struct rlimit *rlim) safe_setrlimit() argument
[all...]
/third_party/ltp/lib/
H A Dtst_dir_is_empty.c28 int tst_dir_is_empty_(void (cleanup_fn)(void), const char *name, int verbose) in tst_dir_is_empty_() argument
H A Dtst_path_has_mnt_flags.c28 int tst_path_has_mnt_flags_(void (cleanup_fn)(void), in tst_path_has_mnt_flags_() argument
H A Dtst_process_state.c14 tst_process_state_wait(const char *file, const int lineno, void (*cleanup_fn)(void), pid_t pid, const char state, unsigned int msec_timeout) tst_process_state_wait() argument
H A Dtst_module.c31 void tst_module_exists_(void (cleanup_fn)(void), in tst_module_exists_() argument
80 void tst_module_load_(void (cleanup_fn)(void), in tst_module_load_() argument
104 void tst_module_unload_(void (cleanup_fn)(void), const char *mod_name) in tst_module_unload_() argument
H A Dtst_mkfs.c25 void tst_mkfs_(const char *file, const int lineno, void (cleanup_fn)(void), in tst_mkfs_() argument
H A Dtst_checkpoint.c38 tst_checkpoint_init(const char *file, const int lineno, void (*cleanup_fn)(void)) tst_checkpoint_init() argument
139 tst_safe_checkpoint_wait(const char *file, const int lineno, void (*cleanup_fn)(void), unsigned int id, unsigned int msec_timeout) tst_safe_checkpoint_wait() argument
157 tst_safe_checkpoint_wake(const char *file, const int lineno, void (*cleanup_fn)(void), unsigned int id, unsigned int nr_wake) tst_safe_checkpoint_wake() argument
[all...]
H A Dsafe_stdio.c26 FILE *safe_fopen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_fopen() argument
39 int safe_fclose(const char *file, const int lineno, void (cleanup_fn)(void), in safe_fclose() argument
57 int safe_asprintf(const char *file, const int lineno, void (cleanup_fn)(void), in safe_asprintf() argument
78 FILE *safe_popen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_popen() argument
[all...]
H A Dtst_resource.c82 file_copy(const char *file, const int lineno, void (*cleanup_fn)(void), const char *path, const char *filename, const char *dest) file_copy() argument
100 tst_resource_copy(const char *file, const int lineno, void (*cleanup_fn)(void), const char *filename, const char *dest) tst_resource_copy() argument
H A Dsafe_file_ops.c168 file_lines_scanf(const char *file, const int lineno, void (*cleanup_fn)(void), int strict, const char *path, const char *fmt, ...) file_lines_scanf() argument
253 safe_file_vprintf(const char *file, const int lineno, void (*cleanup_fn)(void), const char *path, const char *fmt, va_list va) safe_file_vprintf() argument
280 safe_file_printf(const char *file, const int lineno, void (*cleanup_fn)(void), const char *path, const char *fmt, ...) safe_file_printf() argument
290 safe_try_file_printf(const char *file, const int lineno, void (*cleanup_fn)(void), const char *path, const char *fmt, ...) safe_try_file_printf() argument
344 safe_touch(const char *file, const int lineno, void (*cleanup_fn)(void), const char *pathname, mode_t mode, const struct timespec times[2]) safe_touch() argument
[all...]
H A Dsafe_net.c108 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void), in safe_socket() argument
325 int safe_bind(const char *file, const int lineno, void (cleanup_fn)(void), in safe_bind() argument
367 int safe_listen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_listen() argument
389 safe_accept(const char *file, const int lineno, void (cleanup_fn)(void), int sockfd, struct sockaddr *addr, socklen_t *addrlen) safe_accept() argument
408 safe_connect(const char *file, const int lineno, void (cleanup_fn)(void), int sockfd, const struct sockaddr *addr, socklen_t addrlen) safe_connect() argument
431 safe_getsockname(const char *file, const int lineno, void (cleanup_fn)(void), int sockfd, struct sockaddr *addr, socklen_t *addrlen) safe_getsockname() argument
492 tst_get_unused_port(const char *file, const int lineno, void (cleanup_fn)(void), unsigned short family, int type) tst_get_unused_port() argument
[all...]
H A Dtst_cmd.c47 int tst_cmd_fds_(void (cleanup_fn)(void), in tst_cmd_fds_() argument
130 int tst_cmd_(void (cleanup_fn)(void), in tst_cmd_() argument
H A Dtst_device.c336 const char *tst_acquire_device_(void (cleanup_fn)(void), unsigned int size) in tst_acquire_device_() argument
H A Dsafe_macros.c385 safe_getresuid(const char *file, const int lineno, void (*cleanup_fn)(void), uid_t *ruid, uid_t *euid, uid_t *suid) safe_getresuid() argument
404 safe_getresgid(const char *file, const int lineno, void (*cleanup_fn)(void), gid_t *rgid, gid_t *egid, gid_t *sgid) safe_getresgid() argument
442 safe_link(const char *file, const int lineno, void (cleanup_fn)(void), const char *oldpath, const char *newpath) safe_link() argument
462 safe_linkat(const char *file, const int lineno, void (cleanup_fn)(void), int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags) safe_linkat() argument
483 safe_readlink(const char *file, const int lineno, void (cleanup_fn)(void), const char *path, char *buf, size_t bufsize) safe_readlink() argument
510 safe_symlink(const char *file, const int lineno, void (cleanup_fn)(void), const char *oldpath, const char *newpath) safe_symlink() argument
690 safe_chmod(const char *file, const int lineno, void (cleanup_fn)(void), const char *path, mode_t mode) safe_chmod() argument
709 safe_fchmod(const char *file, const int lineno, void (cleanup_fn)(void), int fd, mode_t mode) safe_fchmod() argument
728 safe_chown(const char *file, const int lineno, void (cleanup_fn)(void), const char *path, uid_t owner, gid_t group) safe_chown() argument
747 safe_fchown(const char *file, const int lineno, void (cleanup_fn)(void), int fd, uid_t owner, gid_t group) safe_fchown() argument
766 safe_wait(const char *file, const int lineno, void (cleanup_fn)(void), int *status) safe_wait() argument
784 safe_waitpid(const char *file, const int lineno, void (cleanup_fn)(void), pid_t pid, int *status, int opts) safe_waitpid() argument
818 safe_kill(const char *file, const int lineno, void (cleanup_fn)(void), pid_t pid, int sig) safe_kill() argument
837 safe_mkfifo(const char *file, const int lineno, void (*cleanup_fn)(void), const char *pathname, mode_t mode) safe_mkfifo() argument
856 safe_rename(const char *file, const int lineno, void (*cleanup_fn)(void), const char *oldpath, const char *newpath) safe_rename() argument
895 safe_mount(const char *file, const int lineno, void (*cleanup_fn)(void), const char *source, const char *target, const char *filesystemtype, unsigned long mountflags, const void *data) safe_mount() argument
956 safe_umount(const char *file, const int lineno, void (*cleanup_fn)(void), const char *target) safe_umount() argument
982 safe_opendir(const char *file, const int lineno, void (cleanup_fn)(void), const char *name) safe_opendir() argument
997 safe_closedir(const char *file, const int lineno, void (cleanup_fn)(void), DIR *dirp) safe_closedir() argument
1015 safe_readdir(const char *file, const int lineno, void (cleanup_fn)(void), DIR *dirp) safe_readdir() argument
[all...]
/third_party/ltp/testcases/kernel/lib/
H A Dnuma_helper.c282 int is_numa(void (*cleanup_fn)(void), int flag, int min_nodes) in is_numa() argument

Completed in 8 milliseconds