/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | fixup_kernel.sh | 6 delete from caller_info where function = '(struct file_operations)->read' and file != 'fs/read_writ… 7 delete from caller_info where function = '(struct file_operations)->write' and file != 'fs/read_wri… 8 delete from caller_info where function = '(struct file_operations)->read' and caller != '__vfs_read… 9 delete from caller_info where function = '(struct file_operations)->write' and caller != '__vfs_wri… 10 delete from function_ptr where function = '(struct file_operations)->read'; 11 delete from function_ptr where function = '(struct file_operations)->write'; 12 delete from caller_info where function = '__vfs_write' and caller != 'vfs_write'; 13 delete from caller_info where function = '__vfs_read' and caller != 'vfs_read'; 14 delete from caller_info where function = '(struct file_operations)->write' and caller = 'do_loop_re… 15 delete from caller_info where function = 'do_splice_from' and caller = 'direct_splice_actor'; [all …]
|
H A D | fixup_all.sh | 6 delete from return_states where function = 'strlen'; 7 delete from return_states where function = 'strnlen'; 8 delete from return_states where function = 'sprintf'; 9 delete from return_states where function = 'snprintf';
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_scan.c | 51 #define startcomment(where) (where[0] == '/' && where[1] == '*') argument 52 #define endcomment(where) (where[-1] == '*' && where[0] == '/') argument 156 if (*where == 0) { in get_token() 170 *where = 0; in get_token() 185 where = curline; in get_token() 186 } else if (isspace(*where)) { in get_token() 187 while (isspace(*where)) { in get_token() 188 where++; /* eat */ in get_token() 191 for (where++; *where; where++) { in get_token() 192 if (endcomment(where)) { in get_token() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | where.test | 15 # $Id: where.test,v 1.17 2003/06/15 23:42:25 drh Exp $ 22 do_test where-1.0 { 55 do_test where-1.1 { 58 do_test where-1.2 { 61 do_test where-1.3 { 64 do_test where-1.4 { 67 do_test where-1.5 { 70 do_test where-1.6 { 73 do_test where-1.7 { 76 do_test where-1.8 { [all …]
|
H A D | laststmtchanges.test | 48 update t0 set x=3 where x=1; 56 update t0 set x=x+last_statement_change_count() where x=3; 57 select count() from t0 where x=8; 61 # LSCC set properly after update on table where no rows changed 64 update t0 set x=77 where x=88; 72 delete from t0 where x=2; 119 delete from t0 where oid=1 or oid=2; 196 update t0 set x=x*10 where x=1; 200 update t0 set x=x*10 where x=0; 208 update t0 set x=x*100 where x=0; [all …]
|
H A D | trigger4.test | 56 update test1 set a=NEW.a where id=NEW.id; 57 update test2 set b=NEW.b where id=NEW.id; 59 update test set a=22 where id=1; 72 update test set b=66 where id=4; 97 update test set a=222 where id=1; 121 update test set b=99 where id=7;
|
H A D | lastinsert.test | 43 update t1 set k=4 where k=2; 51 delete from t1 where k=4; 116 update t1 set k=14 where k=3; 194 delete from t1 where k=1; 233 update v set k=16 where k=14; 273 update rid set rin=last_insert_rowid() where k=1; 276 update rid set rout=last_insert_rowid() where k=1; 279 update rid set rin=last_insert_rowid() where k=2; 281 update rid set rout=last_insert_rowid() where k=2; 297 select rin from rid where k=1; [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pci_io.c | 26 #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (bus << 16) | (device_fn << 8) | (where &… argument 29 unsigned int where, uint8_t *value) in pcibios_read_config_byte() argument 31 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_byte() 32 *value = inb(0xCFC + (where&3)); in pcibios_read_config_byte() 37 unsigned int device_fn, unsigned int where, uint16_t *value) in pcibios_read_config_word() argument 39 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_word() 40 *value = inw(0xCFC + (where&2)); in pcibios_read_config_word() 45 unsigned int where, uint32_t *value) in pcibios_read_config_dword() argument 47 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_dword() 53 unsigned int where, uint8_t value) in pcibios_write_config_byte() argument [all …]
|
H A D | pci.h | 286 extern int pcibios_read_config_byte(unsigned int bus, unsigned int device_fn, unsigned int where, u… 287 extern int pcibios_write_config_byte (unsigned int bus, unsigned int device_fn, unsigned int where,… 288 extern int pcibios_read_config_word(unsigned int bus, unsigned int device_fn, unsigned int where, u… 289 extern int pcibios_write_config_word (unsigned int bus, unsigned int device_fn, unsigned int where,… 290 extern int pcibios_read_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where, … 291 extern int pcibios_write_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where,… 297 pci_read_config_byte(struct pci_device *dev, unsigned int where, uint8_t *value) in pci_read_config_byte() argument 299 return pcibios_read_config_byte(dev->bus, dev->devfn, where, value); in pci_read_config_byte() 302 pci_write_config_byte(struct pci_device *dev, unsigned int where, uint8_t value) in pci_write_config_byte() argument 304 return pcibios_write_config_byte(dev->bus, dev->devfn, where, value); in pci_write_config_byte() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ndbm.c | 127 off64_t where; in dbm_flushpag() local 130 where = (((off64_t)db->dbm_pagbno) * PBLKSIZ); in dbm_flushpag() 131 if ((lseek64(db->dbm_pagf, where, L_SET) != where) || in dbm_flushpag() 145 off64_t where; in dbm_flushdir() local 147 where = (((off64_t)db->dbm_dirbno) * DBLKSIZ); in dbm_flushdir() 148 if ((lseek64(db->dbm_dirf, where, L_SET) != where) || in dbm_flushdir() 276 off64_t where; in dbm_delete() local 293 where = (((off64_t)db->dbm_blkno) * PBLKSIZ); in dbm_delete() 294 if ((lseek64(db->dbm_pagf, where, L_SET) != where) || in dbm_delete() 311 off64_t where; in dbm_store() local [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | reloc_elf.c | 81 Elf64_Addr *where, val; in __elfN() 90 where = (Elf_Addr *)((char *)data + relbase + rel->r_offset - in __elfN() 99 where = (Elf_Addr *)((char *)data + relbase + rela->r_offset - in __elfN() 109 if ((char *)where < (char *)data || (char *)where >= (char *)data + len) in __elfN() 113 addend = *where; in __elfN() 125 *where = val; in __elfN() 130 *where = val; in __elfN() 139 Elf_Addr addend, addr, *where, val; in __elfN() 147 where = (Elf_Addr *)((char *)data + relbase + rel->r_offset - in __elfN() 156 where = (Elf_Addr *)((char *)data + relbase + rela->r_offset - in __elfN() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_table.cc | 158 entryp found = head->where; in pop() 181 newentry->where = tabloc; in push() 219 answer[i] = current->where; in stats() 506 db_table::first_entry(entryp * where) in first_entry() argument 510 *where = 0; in first_entry() 517 *where = i; in first_entry() 522 *where = 0; in first_entry() 550 db_table::get_entry(entryp where) in get_entry() argument 553 if (where < table_size && tab != NULL && tab[where] != NULL) in get_entry() 554 return (tab[where]); in get_entry() [all …]
|
H A D | db_scheme.cc | 79 descols[i].where = srccols[i].where; in db_scheme() 150 scols[keynum].where.max_len = NIS_MAXATTRVAL; in db_scheme() 151 scols[keynum].where.start_column = 0; in db_scheme() 234 keys.keys_val[i].where.start_column, in print() 235 keys.keys_val[i].where.max_len); in print() 237 data.where.start_column, data.where.max_len); in print()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | range_tree.c | 102 zfs_btree_index_t where; in range_tree_stat_verify() local 106 for (rs = zfs_btree_first(&rt->rt_root, &where); rs != NULL; in range_tree_stat_verify() 107 rs = zfs_btree_next(&rt->rt_root, &where, &where)) { in range_tree_stat_verify() 269 zfs_btree_index_t where; in range_tree_add_impl() local 282 rs = zfs_btree_find(&rt->rt_root, &rsearch, &where); in range_tree_add_impl() 326 rs_before = zfs_btree_prev(&rt->rt_root, &where, &where_before); in range_tree_add_impl() 327 rs_after = zfs_btree_next(&rt->rt_root, &where, &where_after); in range_tree_add_impl() 388 zfs_btree_add_idx(&rt->rt_root, rs, &where); in range_tree_add_impl() 416 zfs_btree_index_t where; in range_tree_remove_impl() local 429 rs = zfs_btree_find(&rt->rt_root, &rsearch, &where); in range_tree_remove_impl() [all …]
|
H A D | btree.c | 195 const void *value, zfs_btree_index_t *where) in zfs_btree_find_in_buf() argument 208 where->bti_offset = idx; in zfs_btree_find_in_buf() 209 where->bti_before = B_FALSE; in zfs_btree_find_in_buf() 214 where->bti_offset = max; in zfs_btree_find_in_buf() 215 where->bti_before = B_TRUE; in zfs_btree_find_in_buf() 224 zfs_btree_find(zfs_btree_t *tree, const void *value, zfs_btree_index_t *where) in zfs_btree_find() argument 227 if (where != NULL) { in zfs_btree_find() 228 where->bti_node = NULL; in zfs_btree_find() 229 where->bti_offset = 0; in zfs_btree_find() 253 if (where != NULL) { in zfs_btree_find() [all …]
|
H A D | zfs_rlock.c | 145 avl_index_t where; in rangelock_enter_writer() local 177 lr = avl_find(tree, new, &where); in rangelock_enter_writer() 181 lr = (locked_range_t *)avl_nearest(tree, where, AVL_AFTER); in rangelock_enter_writer() 186 lr = (locked_range_t *)avl_nearest(tree, where, AVL_BEFORE); in rangelock_enter_writer() 191 avl_insert(tree, new, where); in rangelock_enter_writer() 289 locked_range_t *prev, avl_index_t where) in rangelock_add_reader() argument 319 next = avl_nearest(tree, where, AVL_AFTER); in rangelock_add_reader() 323 avl_insert(tree, new, where); in rangelock_add_reader() 382 avl_index_t where; in rangelock_enter_reader() local 390 prev = avl_find(tree, new, &where); in rangelock_enter_reader() [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | lseek.c | 67 lseek(int fd, off_t offset, int where) in lseek() argument 82 switch (where) { in lseek() 104 if (f->f_ralen != 0 && where != SEEK_END) { in lseek() 109 switch (where) { in lseek() 132 if (where == SEEK_CUR) in lseek() 140 return (f->f_ops->fo_seek)(f, offset, where); in lseek()
|
/illumos-gate/usr/src/uts/common/idmap/ |
H A D | idmap_cache.c | 401 avl_index_t where; in kidmap_cache_lookup_uidbysid() local 412 result = avl_find(&sid2pid_hb->tree, &entry, &where); in kidmap_cache_lookup_uidbysid() 433 avl_index_t where; in kidmap_cache_lookup_gidbysid() local 444 result = avl_find(&sid2pid_hb->tree, &entry, &where); in kidmap_cache_lookup_gidbysid() 465 avl_index_t where; in kidmap_cache_lookup_pidbysid() local 476 result = avl_find(&sid2pid_hb->tree, &entry, &where); in kidmap_cache_lookup_pidbysid() 505 avl_index_t where; in kidmap_cache_lookup_sidbyuid() local 515 result = avl_find(&uid2sid_hb->tree, &entry, &where); in kidmap_cache_lookup_sidbyuid() 537 avl_index_t where; in kidmap_cache_lookup_sidbygid() local 547 result = avl_find(&gid2sid_hb->tree, &entry, &where); in kidmap_cache_lookup_sidbygid() [all …]
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_cache.c | 486 avl_index_t where; in idmap_cache_lookup_uidbysid() local 495 result = avl_find(&idmap_cache.sid2uid_gid.tree, &entry, &where); in idmap_cache_lookup_uidbysid() 517 avl_index_t where; in idmap_cache_lookup_gidbysid() local 526 result = avl_find(&idmap_cache.sid2uid_gid.tree, &entry, &where); in idmap_cache_lookup_gidbysid() 549 avl_index_t where; in idmap_cache_lookup_pidbysid() local 558 result = avl_find(&idmap_cache.sid2uid_gid.tree, &entry, &where); in idmap_cache_lookup_pidbysid() 586 avl_index_t where; in idmap_cache_lookup_sidbyuid() local 594 result = avl_find(&idmap_cache.uid2sid_winname.tree, &entry, &where); in idmap_cache_lookup_sidbyuid() 618 avl_index_t where; in idmap_cache_lookup_sidbygid() local 626 result = avl_find(&idmap_cache.gid2sid_winname.tree, &entry, &where); in idmap_cache_lookup_sidbygid() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | dup_avl.c | 132 avl_index_t where; in find_dup_ref() local 146 dup = avl_find(&dup_frags, (void *)&key, &where); in find_dup_ref() 149 avl_insert(&dup_frags, (void *)dup, where); in find_dup_ref() 292 avl_index_t where; in invert_frags() local 306 &where); in invert_frags() 312 avl_insert(target, (void *)tgt_inode, where); in invert_frags() 322 (void *)&tgt_ref_key, &where); in invert_frags() 335 (void *)tgt_ref, where); in invert_frags() 401 avl_index_t where; in increment_claimant() local 408 claimant = avl_find(&dup->fr_claimants, &key, &where); in increment_claimant() [all …]
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xge_osdep.h | 298 #define xge_os_pci_read8(pdev, cfgh, where, val) \ argument 299 (*(val) = pci_config_get8(cfgh, where)) 301 #define xge_os_pci_write8(pdev, cfgh, where, val) \ argument 302 pci_config_put8(cfgh, where, val) 304 #define xge_os_pci_read16(pdev, cfgh, where, val) \ argument 305 (*(val) = pci_config_get16(cfgh, where)) 307 #define xge_os_pci_write16(pdev, cfgh, where, val) \ argument 308 pci_config_put16(cfgh, where, val) 310 #define xge_os_pci_read32(pdev, cfgh, where, val) \ argument 311 (*(val) = pci_config_get32(cfgh, where)) [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/ |
H A D | tst.call3.c | 108 args->where.name = "pinky-blue"; in create_arginit() 109 args->where.dir.data.data_len = rootfh->fhandle3_len; in create_arginit() 110 args->where.dir.data.data_val = rootfh->fhandle3_val; in create_arginit() 149 args->where.dir.data.data_len = rootfh->fhandle3_len; in mkdir_arginit() 150 args->where.dir.data.data_val = rootfh->fhandle3_val; in mkdir_arginit() 151 args->where.name = "cookie"; in mkdir_arginit() 160 args->where.dir.data.data_len = rootfh->fhandle3_len; in mknod_arginit() 161 args->where.dir.data.data_val = rootfh->fhandle3_val; in mknod_arginit() 162 args->where.name = "pookie"; in mknod_arginit() 260 args->where.dir.data.data_len = rootfh->fhandle3_len; in symlink_arginit() [all …]
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | poplist.c | 29 void poplist (hdrtype, where) in poplist() argument 31 register int where; 37 hdr2rm = (where == HEAD ? 43 if (where == HEAD) {
|
/illumos-gate/usr/src/common/avl/ |
H A D | avl.c | 211 avl_nearest(avl_tree_t *tree, avl_index_t where, int direction) in avl_nearest() argument 213 int child = AVL_INDEX2CHILD(where); in avl_nearest() 214 avl_node_t *node = AVL_INDEX2NODE(where); in avl_nearest() 240 avl_find(avl_tree_t *tree, const void *value, avl_index_t *where) in avl_find() argument 257 if (where != NULL) in avl_find() 258 *where = 0; in avl_find() 265 if (where != NULL) in avl_find() 266 *where = AVL_MKINDEX(prev, child); in avl_find() 466 avl_insert(avl_tree_t *tree, void *new_data, avl_index_t where) in avl_insert() argument 469 avl_node_t *parent = AVL_INDEX2NODE(where); in avl_insert() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_pass.c | 207 avl_index_t where; in smb_pkey_del() local 226 tmp, &where)) != NULL) { in smb_pkey_del() 279 avl_index_t where; in smb_pkey_add() local 312 tmp = (smb_passid_t *)avl_find(t, cpid, &where); in smb_pkey_add() 314 avl_insert(t, cpid, where); in smb_pkey_add() 333 avl_index_t where; in smb_pkey_check() local 352 tmp = (smb_passid_t *)avl_find(t, cpid, &where); in smb_pkey_check()
|