Home
last modified time | relevance | path

Searched refs:root_dir (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_hotplug.c119 uint32_t *root_dir; in s1394_create_devinfo() local
175 root_dir = CFGROM_ROOT_DIR(node->cfgrom); in s1394_create_devinfo()
176 root_dir_len = CFGROM_DIR_LEN(root_dir); in s1394_create_devinfo()
180 CFGROM_TYPE_KEY_VALUE(root_dir[i + 1], type, key, value); in s1394_create_devinfo()
205 &root_dir[i + 1] + value; in s1394_create_devinfo()
425 uint32_t *ptr, *root_dir, dir_len; in s1394_update_devinfo_tree() local
440 root_dir = CFGROM_ROOT_DIR(node->cfgrom); in s1394_update_devinfo_tree()
442 if (node->cfgrom_valid_size < CFGROM_DIR_LEN(root_dir)) in s1394_update_devinfo_tree()
445 dir_len = CFGROM_DIR_LEN(root_dir); in s1394_update_devinfo_tree()
447 CFGROM_TYPE_KEY_VALUE(root_dir[0], type, key, value); in s1394_update_devinfo_tree()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_glob.h51 extern int update_root_object(nis_name root_dir,
54 extern int remove_root_object(nis_name root_dir,
H A Dldap_glob.c36 __local_update_root_object(nis_name root_dir, nis_object *d_obj) { in __local_update_root_object() argument
46 __local_remove_root_object(nis_name root_dir, nis_object* d_obj) { in __local_remove_root_object() argument
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c58 _da_check_for_usb(char *link, char *root_dir) in _da_check_for_usb() argument
69 if (strcmp(root_dir, "") != 0) { in _da_check_for_usb()
70 if (strlcat(path, root_dir, dstsize) >= dstsize) in _da_check_for_usb()
178 char *root_dir) in _update_devalloc_db() argument
H A Ddevfsadm.c150 static char *root_dir = ""; variable
352 if (getenv(RECONFIG_BOOT) != NULL && root_dir[0] != '\0') { in main()
406 if (root_dir[0] == '\0') in main()
486 lock_root = attr_root ? attr_root : root_dir; in set_lock_root()
559 if (zone_pathcheck(root_dir) != in parse_args()
657 root_dir = s_strdup(optarg); in parse_args()
658 if (zone_pathcheck(root_dir) != in parse_args()
816 root_dir = s_strdup(optarg); in parse_args()
890 if (zone_pathcheck(root_dir) != DEVFSADM_SUCCESS) in parse_args()
934 if (zone_pathcheck(root_dir) != in parse_args()
[all …]
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c81 sbp2_cfgrom_ent_t *root_dir = &crp->cr_root; in sbp2_cfgrom_parse() local
97 bzero(root_dir, sizeof (sbp2_cfgrom_ent_t)); in sbp2_cfgrom_parse()
98 root_dir->ce_kt = IEEE1212_DIRECTORY_TYPE; in sbp2_cfgrom_parse()
99 root_dir->ce_offset = SBP2_CFGROM_ADDR(tp) + 4 + bib->cb_len * 4; in sbp2_cfgrom_parse()
100 pa.pa_dir = root_dir; in sbp2_cfgrom_parse()
/illumos-gate/usr/src/cmd/syseventadm/
H A Dsyseventadm.c76 static char *root_dir = ""; variable
150 enter_lock(root_dir); in serve_syseventdotconf()
220 enter_lock(char *root_dir) in enter_lock() argument
224 if (snprintf(lock_file, sizeof (lock_file), "%s%s", root_dir, in enter_lock()
278 root_dir = sc_strdup(dir); in set_root_dir()
342 (void) strcpy(fname, root_dir); in add_cmd()
465 (void) strcpy(path, root_dir); in list_remove_cmd()
575 (void) strcpy(tmp_name, root_dir); in remove_file()
H A Dsyseventadm.h95 static void enter_lock(char *root_dir);
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/
H A Dsyseventconfd.c77 static char *root_dir = ""; /* Relative root for lock and door */ variable
107 root_dir = malloc(strlen(dir) + 1); in set_root_dir()
108 if (root_dir == NULL) { in set_root_dir()
112 (void) strcpy(root_dir, dir); in set_root_dir()
724 root_dir, SYSEVENTCONFD_SERVICE_DOOR) >= sizeof (door_path)) { in open_channel()
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_reg_mod/
H A Dsysevent_reg_mod.c53 extern char *root_dir;
78 if (strcmp(root_dir, "") != 0) { in init_channel()
/illumos-gate/usr/src/cmd/syseventd/modules/devfsadmd_mod/
H A Ddevfsadmd_mod.c47 extern char *root_dir;
299 if (strcmp(root_dir, "") == 0) { in slm_init()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c535 secno = hsvp->root_dir.ext_lbn >> hsvp->lbn_secshift; in compute_cdrom_id()
969 if (!hsfs_valid_dir(&fsp->hsfs_vol.root_dir)) { in hs_getrootvp()
971 if (hs_remakenode(fsp->hsfs_vol.root_dir.ext_lbn, in hs_getrootvp()
981 fsp->hsfs_rootvp = hs_makenode(&fsp->hsfs_vol.root_dir, in hs_getrootvp()
982 fsp->hsfs_vol.root_dir.ext_lbn, 0, vfsp); in hs_getrootvp()
1113 return (hs_parsedir(fsp, HSV_ROOT_DIR(volp), &hvp->root_dir, in hs_parsehsvol()
1330 return (hs_parsedir(fsp, ISO_ROOT_DIR(volp), &hvp->root_dir, in hs_parseisovol()
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.c76 char *root_dir = ""; /* Relative root for lock and door */ variable
294 root_dir = malloc(strlen(dir) + 1); in set_root_dir()
295 if (root_dir == NULL) { in set_root_dir()
299 (void) strcpy(root_dir, dir); in set_root_dir()
1458 root_dir, LOGEVENT_DOOR_UPCALL) >= sizeof (local_door_file)) { in syseventd_init()
1555 root_dir, DAEMON_LOCK_FILE) >= sizeof (local_lock_file)) { in enter_daemon_lock()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c125 di_devlink_open(const char *root_dir, uint_t flags) in di_devlink_open() argument
137 if ((hdp = handle_alloc(root_dir, OPEN_RDWR)) == NULL) { in di_devlink_open()
312 handle_alloc(const char *root_dir, uint_t flags) in handle_alloc() argument
329 if (root_dir && root_dir[0] != '\0') { in handle_alloc()
331 if (root_dir[0] != '/') { in handle_alloc()
340 if ((realpath(root_dir, dev_dir) == NULL) || in handle_alloc()
341 (realpath(root_dir, db_dir) == NULL)) { in handle_alloc()
419 if (enter_db_lock(&proto, root_dir) != 1) { in handle_alloc()
1992 devlink_snapshot(const char *root_dir) in devlink_snapshot() argument
1998 if ((hdp = handle_alloc(root_dir, OPEN_RDONLY)) == NULL) { in devlink_snapshot()
[all …]
H A Ddevinfo_devlink.h400 static int enter_db_lock(struct di_devlink_handle *hdp, const char *root_dir);
414 static di_devlink_handle_t devlink_snapshot(const char *root_dir);
H A Dlibdevinfo.h466 extern di_devlink_handle_t di_devlink_open(const char *root_dir, uint_t flags);
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tar.c474 char root_dir[TLM_VOLNAME_MAX_LENGTH]; in get_dir_acl_info() local
498 (void) strlcpy(root_dir, fil, TLM_VOLNAME_MAX_LENGTH); in get_dir_acl_info()
501 (void) strlcpy(root_dir, fil, TLM_VOLNAME_MAX_LENGTH); in get_dir_acl_info()
504 if (strcmp(root_dir, tlm_acls->acl_root_dir) != 0) { in get_dir_acl_info()
507 erc = lstat64(root_dir, &attr); in get_dir_acl_info()
510 root_dir); in get_dir_acl_info()
514 (void) strlcpy(tlm_acls->acl_root_dir, root_dir, in get_dir_acl_info()
/illumos-gate/usr/src/cmd/syseventd/modules/
H A Dmapfile-extern44 root_dir { FLAGS = EXTERN };
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c409 const char *root_dir = NULL; in main() local
445 root_dir = optarg; in main()
468 if (root_dir == NULL) { in main()
472 size = strlen(root_dir) + sizeof (perm_file_sfx); in main()
476 (void) snprintf(perm_file, size, "%s%s", root_dir, in main()
478 size = strlen(root_dir) + sizeof (temp_file_sfx); in main()
482 (void) snprintf(temp_file, size, "%s%s", root_dir, in main()
489 update_table = (!perm_flag || root_dir == NULL); in main()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_node.h141 struct hs_direntry root_dir; /* dir entry for Root Directory */ member
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c149 extern char *root_dir;
2163 if (strcmp(root_dir, "") != 0) { in slm_init()
2247 if (strcmp(root_dir, "") != 0) { in slm_fini()
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c2780 struct direct root_dir[] = { variable
2832 node.i_size = makedir(root_dir, PREDEFDIR); in fsinit()
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog7800 * stage2/fsys_fat.c (root_dir): New variable.