Lines Matching refs:INDEX_ROOT
425 static INDEX_ROOT *ntfs_ir_lookup(ntfs_inode *ni, ntfschar *name,
429 INDEX_ROOT *ir = NULL;
439 ntfs_log_perror("Failed to lookup $INDEX_ROOT");
446 ntfs_log_perror("Non-resident $INDEX_ROOT detected");
450 ir = (INDEX_ROOT *)((char *)a + le16_to_cpu(a->value_offset));
459 static INDEX_ROOT *ntfs_ir_lookup2(ntfs_inode *ni, ntfschar *name, u32 len)
462 INDEX_ROOT *ir;
666 INDEX_ROOT *ir;
982 static INDEX_BLOCK *ntfs_ir_to_ib(INDEX_ROOT *ir, VCN ib_vcn)
1011 static void ntfs_ir_nill(INDEX_ROOT *ir)
1113 INDEX_ROOT *ir;
1162 sizeof(INDEX_ROOT) - sizeof(INDEX_HEADER) +
1197 ntfs_log_perror("Failed to open INDEX_ROOT");
1201 * INDEX_ROOT must be resident and its entries can be moved to
1204 ret = ntfs_attr_truncate(na, data_size + offsetof(INDEX_ROOT, index));
1214 ntfs_log_perror("Failed to truncate INDEX_ROOT");
1239 ntfs_log_perror("Failed to nodify INDEX_ROOT");
1560 * in the INDEX_ROOT which is the only one there.
1581 * in the INDEX_ROOT which is not the only one there.
1865 INDEX_ROOT *ntfs_index_root_get(ntfs_inode *ni, ATTR_RECORD *attr)
1869 INDEX_ROOT *root = NULL;
1876 root = ntfs_malloc(sizeof(INDEX_ROOT));
1880 *root = *((INDEX_ROOT *)((u8 *)ctx->attr +