/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | automount.c | 226 if (strcmp(dir->dir_name, d->dir_name) == 0) in main() 236 if (mntp = find_mount(dir->dir_name, 1)) { in main() 265 mntp = find_mount(dir->dir_name, 0); in main() 270 dir->dir_name); in main() 284 if (lstat(dir->dir_name, &stbuf) == 0) { in main() 286 pr_msg("%s: Not a directory", dir->dir_name); in main() 290 if (mkdir_r(dir->dir_name)) { in main() 291 pr_msg("%s: %m", dir->dir_name); in main() 296 ai.path = dir->dir_name; in main() 302 ai.key = dir->dir_name; in main() [all …]
|
H A D | auto_subr.c | 225 dir->dir_name = strdup(mntpnt); in dirinit() 226 if (dir->dir_name == NULL) in dirinit() 257 if (dir->dir_name) in dirinit() 258 free(dir->dir_name); in dirinit() 278 p = dir->dir_name; 284 return (dir->dir_name); 286 return (dir->dir_name);
|
H A D | automount.h | 162 char *dir_name; /* mount point */ member
|
/titanic_50/usr/src/lib/libproc/common/ |
H A D | Pfdinfo.c | 89 char dir_name[PATH_MAX]; in load_fdinfo() local 98 (void) snprintf(dir_name, sizeof (dir_name), in load_fdinfo() 100 dirp = opendir(dir_name); in load_fdinfo()
|
/titanic_50/usr/src/lib/librcm/ |
H A D | librcm.c | 804 static char dir_name[N_MODULE_DIR + N_SCRIPT_DIR][MAXPATHLEN]; in rcm_dir() local 811 if (dir_name[0][0] == '\0') { in rcm_dir() 819 if (snprintf(dir_name[0], MAXPATHLEN, MODULE_DIR_HW, in rcm_dir() 821 snprintf(dir_name[N_MODULE_DIR + 1], MAXPATHLEN, in rcm_dir() 834 if (snprintf(dir_name[1], MAXPATHLEN, MODULE_DIR_HW, in rcm_dir() 836 snprintf(dir_name[N_MODULE_DIR + 2], MAXPATHLEN, in rcm_dir() 845 if (strlcpy(dir_name[2], MODULE_DIR_GEN, MAXPATHLEN) >= in rcm_dir() 847 strlcpy(dir_name[N_MODULE_DIR + 3], SCRIPT_DIR_GEN, in rcm_dir() 849 strlcpy(dir_name[N_MODULE_DIR + 0], SCRIPT_DIR_ETC, in rcm_dir() 860 return (dir_name[dirnum]); in rcm_dir() [all …]
|
/titanic_50/usr/src/tools/protocmp/ |
H A D | protodir.c | 695 read_in_protodir(const char *dir_name, elem_list *list, int verbose) in read_in_protodir() argument 703 if ((p_dir = opendir(dir_name)) == NULL) { in read_in_protodir() 704 perror(dir_name); in read_in_protodir() 726 (void) strcat(strcat(strcpy(protodir, dir_name), "/"), in read_in_protodir() 740 count += process_dependencies(dp->d_name, dir_name, list, in read_in_protodir()
|
/titanic_50/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_usb.c | 96 get_usb_devlink(char *devfs_path, const char *dir_name) in get_usb_devlink() argument 101 if ((dp = opendir(dir_name)) != NULL) { in get_usb_devlink() 107 strncpy(path, dir_name, strlen(dir_name)); in get_usb_devlink()
|
/titanic_50/usr/src/lib/libdwarf/common/ |
H A D | dwarf_line.c | 231 char *dir_name = 0; in dwarf_srcfiles() local 236 dir_name = (char *) comp_dir; in dwarf_srcfiles() 238 dir_name = in dwarf_srcfiles() 244 if(dir_name == 0 || file_name_is_full_path((unsigned char *)file_name)) { in dwarf_srcfiles() 251 strlen(dir_name) + 1 + in dwarf_srcfiles() 263 strcpy(full_name, dir_name); in dwarf_srcfiles()
|
/titanic_50/usr/src/cmd/sgs/libld/common/ |
H A D | map_v2.c | 2255 dir_segment_inner(Mapfile *mf, const char *dir_name, Word seg_type, in dir_segment_inner() argument 2284 dir_name, tkv.tkv_str); in dir_segment_inner() 2305 switch (tok = gettoken_optattr(mf, dir_name)) { in dir_segment_inner() 2313 if (parse_attributes(mf, dir_name, in dir_segment_inner() 2318 tok = gettoken_semicolon(mf, dir_name); in dir_segment_inner() 2984 parse_symbol_attributes(Mapfile *mf, const char *dir_name, symbol_state_t *ss) in parse_symbol_attributes() argument 3120 switch (tok = gettoken_term(mf, dir_name)) { in parse_symbol_attributes()
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 1547 char *dir_name; in rcmd_db_init() local 1557 for (i = 0; (dir_name = rcm_dir(i, &rcm_script)) != NULL; i++) { in rcmd_db_init() 1559 if ((mod_dir = opendir(dir_name)) == NULL) { in rcmd_db_init() 1563 rcm_log_message(RCM_TRACE2, "search directory %s\n", dir_name); in rcmd_db_init()
|
/titanic_50/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 5719 get_dev_path(struct wwn_list_struct **wwn_list_ptr, char *dir_name, in get_dev_path() argument 5731 dir_name == NULL || pattern_match == NULL) { in get_dev_path() 5741 if ((dirp = opendir(dir_name)) == NULL) { in get_dev_path() 5757 sprintf(namebuf, "%s/%s", dir_name, entp->d_name); in get_dev_path() 5820 dir_name, (end_time - start_time)/1000000); in get_dev_path() 5973 init_drv(char *dir_name, char *pattern_match, char *drvr_path) in init_drv() argument 5981 if ((dirp = opendir(dir_name)) == NULL) { in init_drv() 5997 sprintf(namebuf, "%s/%s", dir_name, entp->d_name); in init_drv()
|