Searched refs:new (Results 51 - 75 of 655) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/efcode/extend/
H A Dfthread.c40 fcode_env_t *new; local
45 new = clone_environment(cenv, NULL);
46 if (new) {
47 envs[envc] = new;
48 env = new;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_008_pos.ksh53 if datasetexists ${datasets[$i]}@snap-new ; then
54 log_must zfs destroy ${datasets[$i]}@snap-new
78 log_must zfs rename -r ${TESTPOOL}@snap ${TESTPOOL}@snap-new
81 log_must datasetexists ${datasets[$i]}@snap-new
86 log_must zfs destroy -rf ${TESTPOOL}@snap-new
H A Dzfs_rename_010_neg.ksh58 ${datasets[$i]}-new
63 if datasetexists ${datasets[$j]}-new ; then
64 log_fail "${datasets[$j]}-new should not exists."
H A Dzfs_rename_012_neg.ksh60 log_mustnot zfs rename $opt $ds ${ds}-new
63 log_mustnot zfs rename $ds ${ds}-new ${ds}-new1
/illumos-gate/usr/src/lib/libm/common/C/
H A Drint.c42 #define SWAPRP(new, x) x = __swapRP(new);
46 #define SWAPRP(new, x)
/illumos-gate/usr/src/cmd/filesync/
H A Drename.c43 * The only case we deal with here is simple renames. If new links
104 /* a rename must be a file that is new on only one side */
130 * file node for the new file
141 static struct file *find_oldname(struct file *dirp, struct file *new, argument
150 inum = new->f_info[side].f_ino;
151 maj = new->f_info[side].f_d_maj;
152 min = new->f_info[side].f_d_min;
153 size = new->f_info[side].f_size;
157 * the previous name of the new file.
168 /* it must describe the same inode as the new fil
218 note_rename(struct file *dirp, struct file *new, struct file *old, side_t side) argument
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dcompare.c58 int new; local
85 if ((new = hash_count(difftd->td_iihash)) != 0) {
88 terminate("%s grew by %d\n", stabname, new);
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_hash.c188 * then a new block needs to be allocated and inserted into the hash
425 * _sd_hash_replace - replace 'old' with 'new' entry.
429 * new - pointer to block inserting in place.
436 * expects old & new to refer to same block.
437 * new must not be already hashed.
441 _sd_hash_replace(_sd_hash_hd_t *old, _sd_hash_hd_t *new, argument
447 if ((old->hh_cd != new->hh_cd) || (old->hh_blk_num != new->hh_blk_num))
449 (void *)old, (void *)new);
450 if (new
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dkdi.c115 kdi_dtrace_state_t new, cur; local
126 new = KDI_DTSTATE_DTRACE_ACTIVE;
133 new = KDI_DTSTATE_IDLE;
140 new = KDI_DTSTATE_KMDB_BPT_ACTIVE;
147 new = KDI_DTSTATE_IDLE;
152 } while (atomic_cas_32((uint_t *)&kdi_dtrace_state, cur, new) != cur);
H A Drwlock.c92 * approach: (1) it closes all windows for priority inversion (when a new
279 uintptr_t old, new, lock_value, lock_busy, lock_wait; local
333 new = old | lock_wait;
334 } while (old != new && casip(&lp->rw_wwwh, old, new) != old);
414 uintptr_t old, new, lock_value; local
444 new = old - lock_value;
445 if ((new & (RW_LOCKED | RW_HAS_WAITERS)) != RW_HAS_WAITERS) {
446 if (casip(&lp->rw_wwwh, old, new) != old) {
471 new
604 uintptr_t old, new; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_attr.c121 char *new; local
137 new = sdup(myself, T, base);
138 if (new == 0)
140 return (new);
145 new = sdup(myself, T, item);
146 if (new == 0)
150 return (new);
157 new = sdup(myself, T, base);
158 if (new == 0)
162 return (new);
257 char **comp = 0, **new, *str; local
339 addFilterComp(char *new, char **comp, int *numComps) argument
[all...]
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_cache.c490 sid2pid_t *new; local
504 new = kmem_alloc(sizeof (sid2pid_t), KM_SLEEP);
505 new->sid_prefix = sid_prefix;
506 new->rid = rid;
507 new->uid = uid;
508 new->uid_ttl = ttl;
509 new->gid = UNDEF_GID;
510 new->gid_ttl = 0;
511 new->is_user = UNDEF_ISUSER; /* Unknown */
514 list_insert(&cache->sid2pid.head, new);
532 pid2sid_t *new; local
579 sid2pid_t *new; local
621 pid2sid_t *new; local
667 sid2pid_t *new; local
728 pid2sid_t *new; local
865 sid_prefix_node_t *new; local
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dhtbl.c123 hentry_t *new; local
145 * so we make a new entry and add it to the table
148 new = (hentry_t *)my_malloc(sizeof (hentry_t), NULL);
149 new->key = strdup(key);
150 if (new->key == NULL)
152 new->lib = strdup(lib);
153 if (new->lib == NULL)
155 new->count = cnt;
156 new->prev = NULL;
157 new
178 hiter_t *new; local
[all...]
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_lock.c45 unsigned int old, new; local
51 new = old | _DRM_LOCK_CONT;
53 new = context | _DRM_LOCK_HELD;
54 } while (!atomic_cmpset_int(lock, old, new));
65 if (new == (context | _DRM_LOCK_HELD)) {
80 unsigned int old, new; local
86 new = context | _DRM_LOCK_HELD;
87 } while (!atomic_cmpset_int(lock, old, new));
96 unsigned int old, new; local
102 new
[all...]
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dio.c100 /* copy existing data into new malloc'd buffer */
207 BerElement *new; local
209 if ((new = kmfber_alloc()) == NULL)
212 *new = *ber;
214 return (new);
285 /* new dboreham code below: */
306 struct berval *new; local
310 new = (struct berval *)malloc((size_t)(sizeof (struct berval)));
311 if (new == NULL) {
314 (void) memset(new,
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c66 * new proxy locks created for non overlapping ranges.
104 zfs_range_lock_writer(znode_t *zp, rl_t *new) argument
110 uint64_t off = new->r_off;
111 uint64_t len = new->r_len;
130 if (new->r_type == RL_APPEND)
131 new->r_off = zp->z_size;
138 end_size = MAX(zp->z_size, new->r_off + len);
141 new->r_off = 0;
142 new->r_len = UINT64_MAX;
150 new
271 zfs_range_add_reader(avl_tree_t *tree, rl_t *new, rl_t *prev, avl_index_t where) argument
356 zfs_range_lock_reader(znode_t *zp, rl_t *new) argument
428 rl_t *new; local
[all...]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c138 struct mnttab *new; local
140 new = (struct mnttab *)malloc(sizeof (*new));
141 if (new == NULL)
144 new->mnt_special = NULL;
145 new->mnt_mountp = NULL;
146 new->mnt_fstype = NULL;
147 new->mnt_mntopts = NULL;
149 new->mnt_special = strdup(mnt->mnt_special);
150 if (new
[all...]
/illumos-gate/usr/src/common/nvpair/
H A Dnvpair_alloc_fixed.c87 uintptr_t new = nvb->nvb_cur; local
89 if (size == 0 || new + size > nvb->nvb_lim)
92 nvb->nvb_cur = P2ROUNDUP(new + size, sizeof (uintptr_t));
94 return ((void *)new);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pragma/
H A Dtst.libdepfullyconnected.ksh81 push(@new, substr(\$_, \$pos+2, 4));
87 exit 1 if @new != @order;
89 while (@new) {
90 exit 1 if pop(@new) ne pop(@order);
/illumos-gate/usr/src/tools/protocmp/
H A Dlist.c201 static pkg_list *new = NULL; local
203 if (!new)
204 new = (pkg_list *)malloc(sizeof (pkg_list));
206 (void) strcpy(new->pkg_name, pkgname);
215 new->next = head;
216 head = new;
217 new = NULL;
222 prev->next = new;
223 new->next = NULL;
224 new
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_env.c80 * Sets new callback and argument, returns previous callback.
90 prom_set_preprom(promif_preprom_f *new) argument
92 promif_preprom_fn = new;
96 prom_set_postprom(promif_postprom_f *new) argument
98 promif_postprom_fn = new;
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_list.c54 topo_list_append(topo_list_t *lp, void *new) argument
57 topo_list_t *q = new; /* q = new list element */
73 topo_list_prepend(topo_list_t *lp, void *new) argument
75 topo_list_t *p = new; /* p = new list element */
92 topo_list_insert_before(topo_list_t *lp, void *before_me, void *new) argument
95 topo_list_t *q = new;
98 topo_list_prepend(lp, new);
109 topo_list_insert_after(topo_list_t *lp, void *after_me, void *new) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_util.c86 gmem_list_append(gmem_list_t *lp, void *new) argument
89 gmem_list_t *q = new; /* q = new list element */
102 gmem_list_prepend(gmem_list_t *lp, void *new) argument
104 gmem_list_t *p = new; /* p = new list element */
118 gmem_list_insert_before(gmem_list_t *lp, void *before_me, void *new) argument
121 gmem_list_t *q = new;
124 gmem_list_prepend(lp, new);
135 gmem_list_insert_after(gmem_list_t *lp, void *after_me, void *new) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/libldmake/common/
H A Dld_file.c63 Stritem *new; local
67 if (!(new = calloc(1, sizeof (Stritem)))) {
77 new->str = strcpy(newstr, str);
78 new->next = *list;
79 *list = new;
/illumos-gate/usr/src/cmd/make/lib/makestate/
H A Dld_file.c64 Stritem * new; local
67 if (!(new = calloc(1, sizeof (Stritem)))) {
77 new->str = strcpy(newstr, str);
78 new->next = *list;
79 *list = new;

Completed in 90 milliseconds

1234567891011>>