Lines Matching +defs:s +defs:db
151 #define SA_COPY_DATA(f, s, t, l) \
155 *(uint64_t *)t = *(uint64_t *)s; \
157 *(uint64_t *)t = *(uint64_t *)s; \
159 *(uint64_t *)((uintptr_t)s + 8); \
161 bcopy(s, t, l); \
164 sa_copy_data(f, s, t, l); \
546 dmu_buf_t *db, sa_buf_type_t buftype, int *index, int *total,
567 hdrsize = (SA_BONUSTYPE_FROM_DB(db) == DMU_OT_ZNODE) ? 0 :
570 full_space = (buftype == SA_BONUS) ? DN_MAX_BONUSLEN : db->db_size;
1227 dmu_buf_impl_t *db;
1236 db = SA_GET_DB(hdl, buftype);
1239 arc_release(db->db_buf, NULL);
1240 arc_buf_thaw(db->db_buf);
1268 dmu_buf_impl_t *db = SA_GET_DB(hdl, buftype);
1269 dmu_object_type_t bonustype = SA_BONUSTYPE_FROM_DB(db);
1340 dmu_buf_t *db = hdl->sa_bonus;
1343 (void) dmu_buf_remove_user(db, &hdl->sa_dbu);
1361 sa_handle_get_from_db(objset_t *os, dmu_buf_t *db, void *userp,
1369 dmu_object_info_from_db(db, &doi);
1377 handle = dmu_buf_get_user(db);
1386 handle->sa_bonus = db;
1397 winner = dmu_buf_set_user_ie(db, &handle->sa_dbu);
1414 dmu_buf_t *db;
1417 if (error = dmu_bonus_hold(objset, objid, NULL, &db))
1420 return (sa_handle_get_from_db(objset, db, userp, hdl_type,
1425 sa_buf_hold(objset_t *objset, uint64_t obj_num, void *tag, dmu_buf_t **db)
1427 return (dmu_bonus_hold(objset, obj_num, tag, db));
1431 sa_buf_rele(dmu_buf_t *db, void *tag)
1433 dmu_buf_rele(db, tag);
1646 dmu_buf_impl_t *db = (dmu_buf_impl_t *)hdl->sa_bonus;
1666 DB_DNODE_ENTER(db);
1667 dn = DB_DNODE(db);
1677 DB_DNODE_EXIT(db);