• Home
  • Raw
  • Download

Lines Matching refs:xo

141 static int set_object_id_index(ntfs_inode *ni, ntfs_index_context *xo,  in set_object_id_index()  argument
174 ntfs_index_ctx_reinit(xo); in set_object_id_index()
175 return (ntfs_ie_add(xo,(INDEX_ENTRY*)&indx)); in set_object_id_index()
192 ntfs_index_context *xo; in open_object_id_index() local
204 xo = ntfs_index_ctx_get(ni, objid_index_name, 2); in open_object_id_index()
205 if (!xo) { in open_object_id_index()
209 xo = (ntfs_index_context*)NULL; in open_object_id_index()
210 return (xo); in open_object_id_index()
228 ntfs_index_context *xo; in merge_index_data() local
233 xo = open_object_id_index(ni->vol); in merge_index_data()
234 if (xo) { in merge_index_data()
237 sizeof(OBJECT_ID_INDEX_KEY), xo)) { in merge_index_data()
238 entry = (struct OBJECT_ID_INDEX*)xo->entry; in merge_index_data()
255 xoni = xo->ni; in merge_index_data()
256 ntfs_index_ctx_put(xo); in merge_index_data()
271 static int remove_object_id_index(ntfs_attr *na, ntfs_index_context *xo, in remove_object_id_index() argument
287 sizeof(OBJECT_ID_INDEX_KEY), xo)) { in remove_object_id_index()
288 entry = (struct OBJECT_ID_INDEX*)xo->entry; in remove_object_id_index()
298 if (ntfs_index_rm(xo)) in remove_object_id_index()
323 static int update_object_id(ntfs_inode *ni, ntfs_index_context *xo, in update_object_id() argument
338 oldsize = remove_object_id_index(na,xo,&old_attr); in update_object_id()
361 && set_object_id_index(ni,xo,&old_attr)) { in update_object_id()
426 ntfs_index_context *xo; in ntfs_delete_object_id_index() local
439 xo = open_object_id_index(ni->vol); in ntfs_delete_object_id_index()
440 if (xo) { in ntfs_delete_object_id_index()
441 if (remove_object_id_index(na,xo,&old_attr) < 0) in ntfs_delete_object_id_index()
443 xoni = xo->ni; in ntfs_delete_object_id_index()
444 ntfs_index_entry_mark_dirty(xo); in ntfs_delete_object_id_index()
446 ntfs_index_ctx_put(xo); in ntfs_delete_object_id_index()
523 ntfs_index_context *xo; in ntfs_set_ntfs_object_id() local
528 xo = open_object_id_index(ni->vol); in ntfs_set_ntfs_object_id()
529 if (xo) { in ntfs_set_ntfs_object_id()
533 sizeof(OBJECT_ID_INDEX_KEY), xo)) in ntfs_set_ntfs_object_id()
534 || (MREF_LE(((struct OBJECT_ID_INDEX*)xo->entry) in ntfs_set_ntfs_object_id()
536 ntfs_index_ctx_reinit(xo); in ntfs_set_ntfs_object_id()
540 res = update_object_id(ni,xo, in ntfs_set_ntfs_object_id()
549 xoni = xo->ni; in ntfs_set_ntfs_object_id()
550 ntfs_index_entry_mark_dirty(xo); in ntfs_set_ntfs_object_id()
552 ntfs_index_ctx_put(xo); in ntfs_set_ntfs_object_id()
576 ntfs_index_context *xo; in ntfs_remove_ntfs_object_id() local
589 xo = open_object_id_index(ni->vol); in ntfs_remove_ntfs_object_id()
590 if (xo) { in ntfs_remove_ntfs_object_id()
591 oldsize = remove_object_id_index(na,xo, in ntfs_remove_ntfs_object_id()
607 set_object_id_index(ni, xo, in ntfs_remove_ntfs_object_id()
615 xoni = xo->ni; in ntfs_remove_ntfs_object_id()
616 ntfs_index_entry_mark_dirty(xo); in ntfs_remove_ntfs_object_id()
618 ntfs_index_ctx_put(xo); in ntfs_remove_ntfs_object_id()