/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | space_reftree.c | 112 zfs_btree_index_t where; in space_reftree_add_map() local 114 for (range_seg_t *rs = zfs_btree_first(&rt->rt_root, &where); rs; rs = in space_reftree_add_map() 115 zfs_btree_next(&rt->rt_root, &where, &where)) { in space_reftree_add_map()
|
H A D | dsl_deadlist.c | 229 avl_index_t where; in dsl_deadlist_insert() local 246 dle = avl_find(&dl->dl_tree, &dle_tofind, &where); in dsl_deadlist_insert() 248 dle = avl_nearest(&dl->dl_tree, where, AVL_BEFORE); in dsl_deadlist_insert() 401 avl_index_t where; in dsl_deadlist_space_range() local 414 dle = avl_find(&dl->dl_tree, &dle_tofind, &where); in dsl_deadlist_space_range() 442 avl_index_t where; in dsl_deadlist_insert_bpobj() local 460 dle = avl_find(&dl->dl_tree, &dle_tofind, &where); in dsl_deadlist_insert_bpobj() 462 dle = avl_nearest(&dl->dl_tree, where, AVL_BEFORE); in dsl_deadlist_insert_bpobj() 524 avl_index_t where; in dsl_deadlist_move_bpobj() local 533 dle = avl_find(&dl->dl_tree, &dle_tofind, &where); in dsl_deadlist_move_bpobj() [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_client.c | 91 off64_t where; local 107 where = (((off64_t)PAG->pag_u.ok.blkno) * PBLKSIZ); 108 (void) lseek64(db->dbm_pagf, where, L_SET); 142 off64_t where; local 152 where = (((off64_t)DIR->dir_u.ok.blkno) * DBLKSIZ); 153 (void) lseek64(db->dbm_dirf, where, L_SET);
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | charmap.c | 198 avl_index_t where; in add_charmap_impl() local 208 ((avl_find(&cmap_wc, &srch, &where)) == NULL)) { in add_charmap_impl() 214 avl_insert(&cmap_wc, n, where); in add_charmap_impl() 218 if (avl_find(&cmap_sym, &srch, &where) != NULL) { in add_charmap_impl() 231 avl_insert(&cmap_sym, n, where); in add_charmap_impl()
|
H A D | collate.c | 466 avl_index_t where; in define_collsym() local 484 avl_insert(&collsyms, sym, where); in define_collsym() 510 avl_index_t where; in get_collundef() local 524 avl_insert(&collundefs, ud, where); in get_collundef() 535 avl_index_t where; in get_collchar() local 539 cc = avl_find(&collchars, &srch, &where); in get_collchar() 549 avl_insert(&collchars, cc, where); in get_collchar() 899 avl_index_t where; in add_order_subst() local 939 avl_insert(&substs[curr_weight], s, where); in add_order_subst() 1004 avl_index_t where; in add_weight() local [all …]
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | envvar.c | 675 const char *where; in umem_setup_envvars() local 683 where = "before getenv(3C) calls -- " in umem_setup_envvars() 687 where = "during getenv(3C) calls -- " in umem_setup_envvars() 691 where = "during dlopen(3C) call -- " in umem_setup_envvars() 695 where = "during dlsym(3C) call -- " in umem_setup_envvars() 699 where = "during _umem_*() call -- " in umem_setup_envvars() 703 where = "after dlsym() or _umem_*() calls."; in umem_setup_envvars() 706 where = "at unknown point -- " in umem_setup_envvars() 711 log_message("recursive allocation %s\n", where); in umem_setup_envvars()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | wrap.c | 95 avl_index_t where; in ld_wrap_enter() local 110 if ((wsnp = avl_find(ofl->ofl_wrap, &wsn, &where)) != NULL) in ld_wrap_enter() 129 avl_insert(ofl->ofl_wrap, wsnp, where); in ld_wrap_enter()
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | avltree.c | 165 avl_index_t where; in add_tnode() local 190 if (avl_find(*stree, tnode, &where) == NULL) { in add_tnode() 191 avl_insert(*stree, tnode, where); in add_tnode()
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | subselect.test | 43 execsql {SELECT b from t1 where a = (SELECT a FROM t1 WHERE b=2)} 46 execsql {SELECT b from t1 where a = (SELECT a FROM t1 WHERE b=4)} 49 execsql {SELECT b from t1 where a = (SELECT a FROM t1 WHERE b=6)} 52 execsql {SELECT b from t1 where a = (SELECT a FROM t1 WHERE b=8)} 59 execsql {SELECT b from t1 where a = coalesce((SELECT a FROM t1 WHERE b=5),1)} 74 WHERE x = (SELECT sum(b) FROM t1 where a notnull) - (SELECT sum(a) FROM t1) 78 # Try something useful. Delete every entry from t2 where the
|
H A D | join4_28.test | 35 select * from t1 left outer join t2 on t1.a=t2.x where t2.z='ok' 48 select * from t1 left outer join t2 on t1.a=t2.x where t2.z='ok' 58 select * from t1 left outer join t2 on t1.a=t2.x where t2.z>='ok' 68 select * from t1 left outer join t2 on t1.a=t2.x where t2.z IN ('ok')
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_mindex.cc | 427 db_mindex::first(entryp *where, entry_object ** answer) in first() argument 456 entry_object_p ptr = table->first_entry(where); in first() 482 entry_object * ptr = table->next_entry(previous, where); in next() 547 db_next_index_desc **where, entry_object ** answer) in first() argument 562 *where = copy_result_list(rp); in first() 594 *where = previous->next; in next() 596 if (*where == NULL) in next() 600 table->get_entry((*where)->location); in next() 654 entryp where; in all() local 708 ptr = table->first_entry(&where); in all() [all …]
|
H A D | db_dictionary_c.x | 228 % db* find_table( char* table_name, db_table_desc ** where = NULL ); 230 % db *find_table(char *table_name, db_table_desc **where, 232 % db *find_table(char *table_name, db_table_desc **where, 236 % db *find_table_noLDAP(char *table_name, db_table_desc **where,
|
/illumos-gate/usr/src/test/elf-tests/tests/groups/strip-groups/ |
H A D | README.md | 4 strip-one: We create a group where some, but not all members are strippable 8 strip-two: Create a group where the middle two sections are strippable, verify 11 strip-all: We create a group where all members are stripped and verify this
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclutils.c | 556 acl_modifyentries(acl_t *acl1, acl_t *newentries, int where) in acl_modifyentries() argument 567 if (where < 0 || where >= acl1->acl_cnt) in acl_modifyentries() 573 slot = where; in acl_modifyentries() 604 acl_addentries(acl_t *acl1, acl_t *acl2, int where) in acl_addentries() argument 622 if (where < 0 || where > acl1->acl_cnt) in acl_addentries() 636 ((where + acl2->acl_cnt) * acl1->acl_entry_size)); in acl_addentries() 639 where * acl1->acl_entry_size); in acl_addentries() 641 if (where < acl1->acl_cnt) { in acl_addentries() 642 len = (acl1->acl_cnt - where) * acl1->acl_entry_size; in acl_addentries()
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_ctl.c | 141 uchar_t *where; /* in user buffer */ member 166 if (ddi_copyout(&grp, state->where, sizeof (grp), state->mode) != 0) in aggr_ioc_info_new_grp() 169 state->where += sizeof (grp); in aggr_ioc_info_new_grp() 190 if (ddi_copyout(&port, state->where, sizeof (port), state->mode) != 0) in aggr_ioc_info_new_port() 193 state->where += sizeof (port); in aggr_ioc_info_new_port() 207 state.where = (uchar_t *)arg + sizeof (laioc_info_t); in aggr_ioc_info()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | avl.h | 170 extern void *avl_find(avl_tree_t *tree, const void *node, avl_index_t *where); 178 extern void avl_insert(avl_tree_t *tree, void *node, avl_index_t where); 237 extern void *avl_nearest(avl_tree_t *tree, avl_index_t where, int direction);
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | regeq.awk | 29 { where = match($0, /=a/); print where}
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | pushlist.c | 32 pushlist(int hdrtype, int where, char *s, int contflg) in pushlist() argument 60 ohp = (where == HEAD ? hdrlines[hdrtype].head : hdrlines[hdrtype].tail); in pushlist() 111 if (where == HEAD) { in pushlist()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_reservoir.c | 256 avl_index_t where; in vmmr_tp_insert_concat() local 259 node = avl_find(by_addr, to_add, &where); in vmmr_tp_insert_concat() 262 node = avl_nearest(by_addr, where, AVL_BEFORE); in vmmr_tp_insert_concat() 278 node = avl_nearest(by_addr, where, AVL_AFTER); in vmmr_tp_insert_concat() 309 avl_index_t where; in vmmr_tp_remove_split() local 316 span = avl_find(by_size, &search, &where); in vmmr_tp_remove_split() 319 span = avl_nearest(by_size, where, AVL_AFTER); in vmmr_tp_remove_split() 325 span = avl_nearest(by_size, where, AVL_BEFORE); in vmmr_tp_remove_split() 565 avl_index_t where; in vmmr_region_pfn_at() local 566 vmmr_span_t *span = avl_find(®ion->vr_spans, &search, &where); in vmmr_region_pfn_at() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | smfi.c | 321 smfi_setsymlist(ctx, where, macros) in smfi_setsymlist() argument 323 int where; 330 if (where < SMFIM_FIRST || where > SMFIM_LAST) 332 if (where < 0 || where >= MAX_MACROS_ENTRIES) 335 if (ctx->ctx_mac_list[where] != NULL) 338 ctx->ctx_mac_list[where] = strdup(macros); 339 if (ctx->ctx_mac_list[where] == NULL)
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba_devdb.c | 483 avl_index_t where; in usba_devdb_build_device_database() local 512 if (avl_find(&usba_devdb, dbnode, &where) == in usba_devdb_build_device_database() 515 avl_insert(&usba_devdb, dbnode, where); in usba_devdb_build_device_database() 580 avl_index_t where; in usba_devdb_get_user_preferences() local 599 dbnode = (usba_devdb_info_t *)avl_find(&usba_devdb, req_node, &where); in usba_devdb_get_user_preferences() 607 &where); in usba_devdb_get_user_preferences()
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | main.c | 494 { char *s, *where; in findfiles() local 501 where = (s && *s) ? expand(s) : expand(DFLT_PRFX); in findfiles() 504 if (where == 0) { in findfiles() 510 strcpy(namebuf, where); in findfiles() 517 strcpy(namebuf, where); in findfiles() 529 strcpy(namebuf, where); in findfiles()
|
/illumos-gate/usr/src/common/ficl/ |
H A D | hash.c | 12 ficlHashForget(ficlHash *hash, void *where) in ficlHashForget() argument 18 FICL_ASSERT_PHASH(hash, where); in ficlHashForget() 23 while ((void *)pWord >= where) { in ficlHashForget()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | pre-process.c | 245 struct token *token = *where; in scan_next() 252 *where = token; in scan_next() 623 *where = token; in copy() 624 where = &token->next; in copy() 627 *where = &eof_token_entry; in copy() 628 return where; in copy() 920 *where = tokenize(streamname, fd, *where, next_path); in try_include() 1939 if (where == &sys_includepath) in update_inc_ptrs() 1960 const char ***where) in add_path_entry() argument 1977 dst = *where; in add_path_entry() [all …]
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | xdr_rec.c | 481 caddr_t where; in fill_input_buf() local 485 where = rstrm->in_base; in fill_input_buf() 487 where += i; in fill_input_buf() 493 if ((len = (*(rstrm->readit))(rstrm->tcp_handle, where, len)) == -1) in fill_input_buf() 495 rstrm->in_finger = where; in fill_input_buf() 496 where += len; in fill_input_buf() 497 rstrm->in_boundry = where; in fill_input_buf()
|