/dragonfly/sys/vfs/hammer/ |
H A D | hammer_prune.c | 76 if (prune->key_beg.obj_id > prune->key_end.obj_id) in hammer_ioc_prune() 95 prune->key_cur.obj_id = prune->key_end.obj_id; in hammer_ioc_prune() 120 cursor.key_beg.obj_id = prune->key_beg.obj_id; in hammer_ioc_prune() 128 cursor.key_end.obj_id = prune->key_cur.obj_id; in hammer_ioc_prune() 175 (intmax_t)elm->base.obj_id, in hammer_ioc_prune() 184 (intmax_t)elm->base.obj_id, in hammer_ioc_prune() 231 (intmax_t)elm->base.obj_id, in hammer_ioc_prune() 335 ip = hammer_get_inode(cursor->trans, NULL, elm->base.obj_id, in prune_check_nlinks() 342 (intmax_t)elm->base.obj_id); in prune_check_nlinks() 348 (intmax_t)elm->base.obj_id); in prune_check_nlinks()
|
H A D | hammer_inode.c | 70 if (ip1->obj_id < ip2->obj_id) in hammer_ino_rb_compare() 72 if (ip1->obj_id > ip2->obj_id) in hammer_ino_rb_compare() 101 if (info->obj_id < ip->obj_id) in hammer_inode_info_cmp() 103 if (info->obj_id > ip->obj_id) in hammer_inode_info_cmp() 126 if (ip->obj_id > info->obj_id) in hammer_inode_info_cmp_all_history() 128 if (ip->obj_id < info->obj_id) in hammer_inode_info_cmp_all_history() 464 ip->obj_id = obj_id; in hammer_get_inode() 501 cursor.key_beg.obj_id = ip->obj_id; in hammer_get_inode() 647 ip->obj_id = obj_id; in hammer_get_dummy_inode() 742 iinfo.obj_id = obj_id; in __hammer_find_inode() [all …]
|
H A D | hammer_reblock.c | 74 if (reblock->key_beg.obj_id >= reblock->key_end.obj_id) in hammer_ioc_reblock() 114 cursor.key_beg.obj_id = reblock->key_cur.obj_id; in hammer_ioc_reblock() 122 cursor.key_end.obj_id = reblock->key_end.obj_id; in hammer_ioc_reblock() 148 reblock->key_cur.obj_id = elm->base.obj_id; in hammer_ioc_reblock()
|
H A D | hammer_object.c | 675 record->leaf.base.obj_id = dip->obj_id; in hammer_ip_add_direntry() 680 record->data->entry.obj_id = ip->obj_id; in hammer_ip_add_direntry() 806 KKASSERT(dip->obj_id == record->leaf.base.obj_id); in hammer_ip_del_direntry() 895 record->leaf.base.obj_id = ip->obj_id; in hammer_ip_add_record() 982 record->leaf.base.obj_id = ip->obj_id; in hammer_ip_add_bulk() 1316 KKASSERT(record->ip->obj_id == record->leaf.base.obj_id); in hammer_ip_sync_record_cursor() 1489 (intmax_t)cursor->ip->obj_id); in _hammer_ip_reseek() 1937 cursor->key_beg.obj_id = ip->obj_id; in hammer_ip_delete_range() 1981 KKASSERT(leaf->base.obj_id == ip->obj_id); in hammer_ip_delete_range() 2128 cursor->key_beg.obj_id = ip->obj_id; in hammer_ip_delete_clean() [all …]
|
H A D | hammer_vnops.c | 1128 int64_t obj_id; in hammer_vop_nresolve() local 1226 cursor.key_beg.obj_id = dip->obj_id; in hammer_vop_nresolve() 1245 obj_id = 0; in hammer_vop_nresolve() 1256 obj_id = cursor.data->entry.obj_id; in hammer_vop_nresolve() 1708 cursor.key_beg.obj_id = ip->obj_id; in hammer_vop_readdir() 1730 if (base->obj_id != ip->obj_id) in hammer_vop_readdir() 1862 cursor.key_beg.obj_id = ip->obj_id; in hammer_vop_readlink() 2006 cursor.key_beg.obj_id = fdip->obj_id; in hammer_vop_nrename() 2712 cursor.key_beg.obj_id = ip->obj_id; in hammer_vop_strategy_read() 3009 cursor.key_beg.obj_id = ip->obj_id; in hammer_vop_bmap() [all …]
|
H A D | hammer_ioctl.c | 301 hist->obj_id = ip->obj_id; in hammer_ioc_gethistory() 324 cursor.key_beg.obj_id = hist->obj_id; in hammer_ioc_gethistory() 331 cursor.key_end.obj_id = hist->obj_id; in hammer_ioc_gethistory() 743 leaf.base.obj_id = HAMMER_OBJID_ROOT; in hammer_ioc_add_snapshot() 816 cursor.key_beg.obj_id = HAMMER_OBJID_ROOT; in hammer_ioc_del_snapshot() 885 cursor.key_beg.obj_id = HAMMER_OBJID_ROOT; in hammer_ioc_get_snapshot() 965 cursor.key_beg.obj_id = HAMMER_OBJID_ROOT; in hammer_ioc_get_config() 1012 leaf.base.obj_id = HAMMER_OBJID_ROOT; in hammer_ioc_set_config()
|
H A D | hammer_btree.c | 1974 if (elm->obj_id != cursor->right_bound->obj_id || 2098 if (elm->obj_id != cmp->obj_id || 2834 if (key1->obj_id < key2->obj_id) in hammer_btree_cmp() 2836 if (key1->obj_id > key2->obj_id) in hammer_btree_cmp() 2910 dest->obj_id = key2->obj_id; in hammer_make_separator() 2915 MAKE_SEPARATOR(key1, key2, dest, obj_id); in hammer_make_separator() 2916 if (key1->obj_id == key2->obj_id) { in hammer_make_separator() 3019 (intmax_t)elm->base.obj_id, in hammer_debug_btree_elm() 3040 (intmax_t)cursor->left_bound->obj_id, in hammer_debug_btree_parent() 3041 (intmax_t)elm->internal.base.obj_id, in hammer_debug_btree_parent() [all …]
|
H A D | hammer_vfsops.c | 420 hmp->root_btree_beg.obj_id = HAMMER_MIN_OBJID; in hammer_vfs_mount() 430 hmp->root_btree_end.obj_id = HAMMER_MAX_OBJID; in hammer_vfs_mount() 899 (intmax_t)(ip ? ip->obj_id : -1), in hammer_critical_error() 1092 bcopy(&ip->obj_id, fhp->fid_data + 0, sizeof(ip->obj_id)); in hammer_vfs_vptofh() 1115 bcopy(fhp->fid_data + 0, &info.obj_id, sizeof(info.obj_id)); in hammer_vfs_fhtovp() 1130 ip = hammer_get_inode(&trans, NULL, info.obj_id, in hammer_vfs_fhtovp()
|
H A D | hammer_pfs.c | 349 cursor.key_beg.obj_id = HAMMER_OBJID_ROOT; in hammer_ioc_scan_pseudofs() 422 key_cur.obj_id = HAMMER_MIN_OBJID; in hammer_pfs_rollback() 438 cursor.key_end.obj_id = HAMMER_MAX_OBJID; in hammer_pfs_rollback()
|
/dragonfly/sbin/hammer/ |
H A D | cmd_recover.c | 42 int64_t obj_id; member 439 if (leaf->base.obj_id == 0) in recover_elm() 443 (uintmax_t)leaf->base.obj_id, in recover_elm() 548 if (ondisk->entry.obj_id == 0 || in recover_elm() 559 (uintmax_t)leaf->base.obj_id, in recover_elm() 561 (uintmax_t)ondisk->entry.obj_id, in recover_elm() 626 if (obj_id == 0) in get_dict() 629 i = crc32(&obj_id, sizeof(obj_id)) & RD_HMASK; in get_dict() 631 if (dict->obj_id == obj_id && dict->pfs_id == pfs_id) in get_dict() 638 dict->obj_id = obj_id; in get_dict() [all …]
|
H A D | cmd_rebalance.c | 56 rebal.key_beg.obj_id = HAMMER_MIN_OBJID; in hammer_cmd_rebalance() 60 rebal.key_end.obj_id = HAMMER_MAX_OBJID; in hammer_cmd_rebalance() 80 (uintmax_t)rebal.key_beg.obj_id, in hammer_cmd_rebalance() 95 (uintmax_t)rebal.key_cur.obj_id, in hammer_cmd_rebalance()
|
H A D | cmd_reblock.c | 57 reblock.key_beg.obj_id = HAMMER_MIN_OBJID; in hammer_cmd_reblock() 58 reblock.key_end.obj_id = HAMMER_MAX_OBJID; in hammer_cmd_reblock() 108 (uintmax_t)reblock.key_beg.obj_id, in hammer_cmd_reblock() 124 (uintmax_t)reblock.key_cur.obj_id, in hammer_cmd_reblock()
|
H A D | cmd_show.c | 124 printf(" objid=%016jx", (uintmax_t)opt.base.obj_id); in hammer_cmd_show() 302 elm->base.obj_id == (int64_t)HAMMER_MIN_OBJID && in is_root_btree_beg() 318 elm->base.obj_id == HAMMER_MAX_OBJID && in is_root_btree_end() 380 (uintmax_t)elm->base.obj_id, in print_btree_elm() 527 if (key1->obj_id < key2->obj_id) in hammer_btree_cmp() 529 if (key1->obj_id > key2->obj_id) in hammer_btree_cmp() 798 (uintmax_t)data->entry.obj_id, in print_record() 940 opt.base.obj_id = _strtoull(p, 16); in init_btree_search() 971 if (base1->obj_id < base2->obj_id) in test_btree_search() 973 if (base1->obj_id > base2->obj_id) in test_btree_search()
|
H A D | cmd_mirror.c | 265 (uintmax_t)mirror.key_beg.obj_id); in hammer_cmd_mirror_read() 325 (uintmax_t)mirror.key_cur.obj_id, in hammer_cmd_mirror_read() 334 (uintmax_t)mirror.key_cur.obj_id, in hammer_cmd_mirror_read() 350 (uintmax_t)mirror.key_cur.obj_id); in hammer_cmd_mirror_read() 355 (uintmax_t)mirror.key_cur.obj_id); in hammer_cmd_mirror_read() 888 mirror.key_cur.obj_id); in hammer_cmd_mirror_write() 1015 (uintmax_t)mrec->rec.leaf.base.obj_id, in hammer_cmd_mirror_dump() 1033 (uintmax_t)mrec->rec.leaf.base.obj_id, in hammer_cmd_mirror_dump() 1046 (uintmax_t)mrec->skip.skip_beg.obj_id, in hammer_cmd_mirror_dump() 1050 (uintmax_t)mrec->skip.skip_end.obj_id, in hammer_cmd_mirror_dump() [all …]
|
H A D | cmd_softprune.c | 93 template.key_beg.obj_id = HAMMER_MIN_OBJID; in hammer_cmd_softprune() 95 template.key_end.obj_id = HAMMER_MAX_OBJID; in hammer_cmd_softprune() 202 (uintmax_t)scan->prune.key_beg.obj_id, in hammer_cmd_softprune() 204 (uintmax_t)scan->prune.key_end.obj_id, in hammer_cmd_softprune() 223 (uintmax_t)scan->prune.key_cur.obj_id, in hammer_cmd_softprune()
|
/dragonfly/share/examples/ses/srcs/ |
H A D | getencstat.c | 131 ob.obj_id = objp[i].obj_id; 141 ob.obj_id, 149 ob.obj_id, geteltnm(objp[i].object_type),
|
H A D | getobjstat.c | 68 obj.obj_id = cvt; 73 fprintf(stdout, "Object 0x%x: 0x%x 0x%x 0x%x 0x%x\n", obj.obj_id,
|
H A D | setobjstat.c | 70 obj.obj_id = cvt;
|
H A D | getobjmap.c | 82 objp[i].obj_id, geteltnm((int)objp[i].object_type));
|
/dragonfly/stand/lib/ |
H A D | hammer1.c | 231 if (key1->obj_id < key2->obj_id) in hammer_btree_cmp() 233 if (key1->obj_id > key2->obj_id) in hammer_btree_cmp() 395 if (e->obj_id >> 32 != 0) in hprintb() 397 (long)(e->obj_id >> 32), in hprintb() 546 key.obj_id = ino; in hdirlocalization() 584 key.obj_id = ino; in hreaddir() 607 de->d_ino = ed->entry.obj_id; in hreaddir() 626 key.obj_id = dirino; in hresolve() 651 return (ed->entry.obj_id); in hresolve() 708 key.obj_id = ino; in hstat() [all …]
|
/dragonfly/sys/bus/cam/scsi/ |
H A D | scsi_ses.h | 88 unsigned int obj_id; /* Object Identifier */ member 129 unsigned int obj_id; member 180 unsigned int obj_id; member
|
H A D | scsi_ses.c | 566 obj.obj_id = i; in sesioctl() 605 if (objs.obj_id >= ssc->ses_nobjects) { in sesioctl() 618 ssc->ses_objmap[objs.obj_id].svalid = 0; in sesioctl() 626 if (objs.obj_id >= ssc->ses_nobjects) { in sesioctl() 637 ssc->ses_objmap[objs.obj_id].svalid = 0; in sesioctl() 1027 int i = (int)obp->obj_id; in ses_get_objstat() 1062 err = ses_getputstat(ssc, (int)obp->obj_id, &ComStat, slpflag, 0); in ses_set_objstat() 1063 ssc->ses_objmap[(int)obp->obj_id].svalid = 0; in ses_set_objstat() 1766 int i = (int)obp->obj_id; in safte_get_objstat() 1815 idx = (int)obp->obj_id; in safte_set_objstat() [all …]
|
/dragonfly/sys/dev/drm/amd/display/dc/bios/ |
H A D | bios_parser2.c | 253 object_id.id == obj_id.id && in bios_parser_get_src_obj() 255 obj_id.enum_id) { in bios_parser_get_src_obj() 269 object_id.id == obj_id.id && in bios_parser_get_src_obj() 309 object_id.id == obj_id.id && in bios_parser_get_dst_obj() 311 obj_id.enum_id) { in bios_parser_get_dst_obj() 341 if (id.type == obj_id.type && in get_bios_object() 342 id.id == obj_id.id && in get_bios_object() 343 id.enum_id == obj_id.enum_id) in get_bios_object() 356 if (id.type == obj_id.type && in get_bios_object() 357 id.id == obj_id.id && in get_bios_object() [all …]
|
/dragonfly/lib/libc/db/mpool/ |
H A D | mpool.libtp | 220 ndx = BUF_HASH ( bhp->id.file_id, bhp->id.obj_id ); 267 fobj.obj_id = *new_pageno; 311 fobj.obj_id = (long) page_id; 581 if ( lseek ( fd, bhp->id.obj_id << BUFSHIFT, L_SET ) < 0 ) { 639 if ( obj->obj_id >= buf_fids[obj->file_id].npages) { 640 buf_fids[obj->file_id].npages = obj->obj_id+1; 649 if ( lseek ( fd, obj->obj_id << BUFSHIFT, L_SET ) < -1 ) { 651 obj->file_id, obj->obj_id ); 659 obj->file_id, obj->obj_id ); 726 bhp->id.file_id, bhp->id.obj_id, [all …]
|
/dragonfly/usr.bin/fstat/ |
H A D | hammer.c | 68 fsp->fileid = (long)ino.ino_leaf.base.obj_id; in hammer_filestat()
|