Lines Matching refs:cp
208 #define TESTFS_BCMD_IS_ENTER_DIR(cp) (((cp)->type == FS_DIR_ENTRY_DIR) \ argument
209 && ((cp)->name != NULL))
210 #define TESTFS_BCMD_IS_EXIT_DIR(cp) (((cp)->type == FS_DIR_ENTRY_DIR) \ argument
211 && ((cp)->name == NULL))
212 #define TESTFS_BCMD_IS_FILE(cp) (((cp)->type == FS_DIR_ENTRY_FILE) \ argument
213 && ((cp)->name != NULL))
214 #define TESTFS_BCMD_IS_END(cp) (((cp)->type == FS_DIR_ENTRY_FILE) \ argument
215 && ((cp)->name == NULL))
232 const struct testfs_bcmd *cp);
240 static inline struct testfs_bcmd *testfs_bcmd_end(struct testfs_bcmd *cp) in testfs_bcmd_end() argument
242 while (!TESTFS_BCMD_IS_END(cp)) { in testfs_bcmd_end()
243 ++cp; in testfs_bcmd_end()
245 return cp; in testfs_bcmd_end()
301 struct testfs_bcmd *testfs_bcmd_exitdir(struct testfs_bcmd *cp,