Lines Matching refs:is_dir
328 if ((strcmp(new_entry->fn, dir_buf) == 0) && (new_entry->is_dir == 1)) { in ramfs_entry_dir_new()
348 new_entry->is_dir = 1; in ramfs_entry_dir_new()
391 new_entry->is_dir = 0; in ramfs_entry_new()
425 if ((entry != NULL) && (entry->is_dir == 1)) { in ramfs_open()
512 if (entry->is_dir == 1) { in ramfs_remove()
556 if ((entry != NULL) && (entry->is_dir == 1)) { in ramfs_rename()
765 if ((entry != NULL) && (entry->is_dir == 1)) { in ramfs_mkdir()
774 entry->is_dir = 1; in ramfs_mkdir()
791 if (entry->is_dir != 1) { in ramfs_opendir()
797 if (entry->is_dir != 1) { in ramfs_opendir()
899 if ((strncmp(entry->fn, path, strlen(path)) == 0) && (entry->is_dir == 1)) { in ramfs_rmdir()
929 if (entry->is_dir == 1) { in ramfs_stat()
930 st->is_dir = 1; in ramfs_stat()
1030 if ((entry != NULL) && (entry->is_dir == 1)) { in ramfs_link()