Lines Matching defs:name

17  * information: Portions Copyright [yyyy] [name of copyright owner]
143 static sysevent_t *spa_event_create(spa_t *spa, vdev_t *vd, const char *name);
162 * This (illegal) pool name is used when temporarily importing a spa_t in order
846 char name[32];
884 (void) snprintf(name, sizeof (name), "%s_%s_%u",
887 (void) snprintf(name, sizeof (name), "%s_%s",
895 tq = taskq_create_sysdc(name, value, 50, INT_MAX,
907 tq = taskq_create_proc(name, value, pri, 50,
2024 spa_dir_prop(spa_t *spa, const char *name, uint64_t *val)
2027 name, sizeof (uint64_t), 1, val));
3160 spa_open_rewind(const char *name, spa_t **spapp, void *tag, nvlist_t *policy,
3163 return (spa_open_common(name, spapp, tag, policy, config));
3167 spa_open(const char *name, spa_t **spapp, void *tag)
3169 return (spa_open_common(name, spapp, tag, NULL, NULL));
3177 spa_inject_addref(char *name)
3182 if ((spa = spa_lookup(name)) == NULL) {
3346 spa_get_stats(const char *name, nvlist_t **config,
3353 error = spa_open_common(name, &spa, FTAG, NULL, config);
3393 spa = spa_lookup(name);
3920 * For x86. devpath_list will consist of devid and/or physpath name of
3924 * For Sparc, devpath_list consists the physpath name of the booting device
4059 * If a pool with this name exists, return failure.
4280 * We have to play games with the name since the
5055 /* check new spa name before going any further */
5334 spa_vdev_remove_aux(nvlist_t *config, char *name, nvlist_t **dev, int count,
5348 VERIFY(nvlist_remove(config, name, DATA_TYPE_NVLIST_ARRAY) == 0);
5349 VERIFY(nvlist_add_nvlist_array(config, name, newdev, count - 1) == 0);
6358 /* normalize the property name */
6946 spa_event_create(spa_t *spa, vdev_t *vd, const char *name)
6953 ev = sysevent_alloc(EC_ZFS, (char *)name, SUNW_KERN_PUB "zfs",
7007 * Post a sysevent corresponding to the given event. The 'name' must be one of
7014 spa_event_notify(spa_t *spa, vdev_t *vd, const char *name)
7016 spa_event_post(spa_event_create(spa, vd, name));