• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/

Lines Matching defs:mrec

58  *	m = ctx->mrec;
61 * you cache ctx->mrec in a variable @m of type MFT_RECORD *.
71 * returned, you need to check IS_ERR(@ctx->mrec) and if 'true' the @ctx
74 * In that case PTR_ERR(@ctx->mrec) will give you the error code for
116 BUG_ON(IS_ERR(ctx->mrec));
219 ctx->mrec = ctx->base_mrec;
220 BUG_ON(!ctx->mrec);
230 ctx->mrec = map_mft_record(
236 * return the error code in ctx->mrec.
242 if (IS_ERR(ctx->mrec)) {
243 if (PTR_ERR(ctx->mrec) ==
255 if (ctx->mrec != old_ctx.mrec) {
256 if (!IS_ERR(ctx->mrec))
258 (u8*)ctx->mrec +
260 (u8*)old_ctx.mrec));
261 old_ctx.mrec = ctx->mrec;
268 * case that IS_ERR(ctx->mrec) is true this means we might lose
431 * m = ctx->mrec;
434 * you cache ctx->mrec in a variable @m of type MFT_RECORD *.
450 * returned, you need to check IS_ERR(@ctx->mrec) and if 'true' the @ctx
453 * In that case PTR_ERR(@ctx->mrec) will give you the error code for
510 if (IS_ERR(ctx->mrec))
511 err = PTR_ERR(ctx->mrec);
546 * mft record specified by @ctx->mrec, beginning at @ctx->attr, for an
564 * @ctx->mrec belongs. This is so we can get at the ntfs volume and hence at
609 if ((u8*)a < (u8*)ctx->mrec || (u8*)a > (u8*)ctx->mrec +
610 le32_to_cpu(ctx->mrec->bytes_allocated))
836 * @ctx->attr will point to the found attribute. @ctx->mrec will point to the
843 * were to be desired. @ctx->mrec will point to the mft record in which
849 * @ctx->mrec (the base mft record) and if there is not enough space, the
878 ctx->base_mrec = ctx->mrec;
990 ctx->mrec = ctx->base_mrec;
993 ctx->mrec = map_extent_mft_record(base_ni,
996 if (IS_ERR(ctx->mrec)) {
1004 err = PTR_ERR(ctx->mrec);
1013 ctx->attr = (ATTR_RECORD*)((u8*)ctx->mrec +
1014 le16_to_cpu(ctx->mrec->attrs_offset));
1017 * ctx->vfs_ino, ctx->mrec, and ctx->attr now point to the
1037 if ((u8*)a < (u8*)ctx->mrec || (u8*)a > (u8*)ctx->mrec +
1038 le32_to_cpu(ctx->mrec->bytes_allocated))
1086 ctx->mrec = ctx->base_mrec;
1104 * @ctx->mrec and @ctx->attr indicate the position at which the
1117 ctx->mrec = ctx->base_mrec;
1118 ctx->attr = (ATTR_RECORD*)((u8*)ctx->mrec +
1119 le16_to_cpu(ctx->mrec->attrs_offset));
1165 * @ctx->mrec. If an attribute list attribute is present, @ctx->al_entry is
1187 BUG_ON(IS_ERR(ctx->mrec));
1205 * @mrec: mft record with which to initialize the search context
1207 * Initialize the attribute search context @ctx with @ni and @mrec.
1210 ntfs_inode *ni, MFT_RECORD *mrec)
1213 .mrec = mrec,
1215 .attr = (ATTR_RECORD*)((u8*)mrec +
1216 le16_to_cpu(mrec->attrs_offset)),
1238 ctx->attr = (ATTR_RECORD*)((u8*)ctx->mrec +
1239 le16_to_cpu(ctx->mrec->attrs_offset));
1256 * @mrec: mft record with which to initialize the search context
1258 * Allocate a new attribute search context, initialize it with @ni and @mrec,
1261 ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec)
1267 ntfs_attr_init_search_ctx(ctx, ni, mrec);
1585 m = ctx->mrec;
1984 m = ctx->mrec;
2328 m = ctx->mrec;