Lines Matching refs:dirent
2126 struct dirent *dirent; in h_post_insert_encl() local
2142 while ((dirent = readdir(dir)) != (struct dirent *)NULL) { in h_post_insert_encl()
2143 if (strcmp(dirent->d_name, ".") == 0 || in h_post_insert_encl()
2144 strcmp(dirent->d_name, "..") == 0) in h_post_insert_encl()
2147 (void) sprintf(lname, SES_DIR"/%s", dirent->d_name); in h_post_insert_encl()
2170 dirent->d_name); in h_post_insert_encl()
2534 struct dirent *dirent; in h_remove_nodes() local
2551 while ((dirent = readdir(dir)) != (struct dirent *)NULL) { in h_remove_nodes()
2552 if (strcmp(dirent->d_name, ".") == 0 || in h_remove_nodes()
2553 strcmp(dirent->d_name, "..") == 0) { in h_remove_nodes()
2556 (void) sprintf(lname, DEV_DSK_DIR"/%s", dirent->d_name); in h_remove_nodes()
2573 dirent->d_name); in h_remove_nodes()
2577 dirent->d_name); in h_remove_nodes()
2600 struct dirent *dirent; in h_remove_ses_nodes() local
2616 while ((dirent = readdir(dir)) != (struct dirent *)NULL) { in h_remove_ses_nodes()
2617 if (strcmp(dirent->d_name, ".") == 0 || in h_remove_ses_nodes()
2618 strcmp(dirent->d_name, "..") == 0) in h_remove_ses_nodes()
2621 (void) sprintf(lname, SES_DIR"/%s", dirent->d_name); in h_remove_ses_nodes()
2723 struct dirent *dirent; in h_display_logical_nodes() local
2734 while ((dirent = readdir(dir)) != (struct dirent *)NULL) { in h_display_logical_nodes()
2735 if (strcmp(dirent->d_name, ".") == 0 || in h_display_logical_nodes()
2736 strcmp(dirent->d_name, "..") == 0) { in h_display_logical_nodes()
2739 (void) sprintf(lname, DEV_DSK_DIR"/%s", dirent->d_name); in h_display_logical_nodes()
2753 dirent->d_name); in h_display_logical_nodes()
2924 struct dirent *dirent; in h_find_new_device_link() local
2936 while ((dirent = readdir(dir)) != (struct dirent *)NULL) { in h_find_new_device_link()
2937 if (strcmp(dirent->d_name, ".") == 0 || in h_find_new_device_link()
2938 strcmp(dirent->d_name, "..") == 0) { in h_find_new_device_link()
2941 (void) sprintf(lname, "%s/%s", device_dir, dirent->d_name); in h_find_new_device_link()
2978 (void) fprintf(stdout, "\t%s\n", dirent->d_name); in h_find_new_device_link()