Home
last modified time | relevance | path

Searched refs:IS_FILE (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/io/disktest/
Dparse.h36 #define IS_FILE(x) (_S_IFREG & x) macro
53 #define IS_FILE(x) S_ISREG(x) macro
Dparse.c813 if (IS_FILE(stat_buf.st_mode)) { in make_assumptions()
1083 if ((args->flags & CLD_FLG_FILE) && !IS_FILE(stat_buf.st_mode)) { in check_conclusions()
/third_party/ltp/testcases/kernel/security/prot_hsymlinks/
Dprot_hsymlinks.c84 IS_FILE = 0, enumerator
386 ufiles_add(usr, path, IS_FILE); in init_files_dirs()
390 ufiles_add(usr, path, IS_FILE); in init_files_dirs()
402 ufiles_add(usr, path, IS_FILE); in init_files_dirs()
416 if (type == IS_FILE) in ufiles_add()
/third_party/NuttX/fs/romfs/
Dfs_romfs.h102 #define IS_FILE(rfn) IS_MODE(rfn,RFNEXT_FILE) macro
Dfs_romfsutil.c129 if (IS_DIRECTORY(next) || IS_FILE(next)) in romfs_checkentry()
Dfs_romfs.c125 if (!IS_DIRECTORY(dirinfo->rd_next) && !IS_FILE(dirinfo->rd_next)) in romfs_lookup()
592 else if (IS_FILE(next)) in romfs_readdir()