Lines Matching +defs:rec +defs:end

155 						"the end of the data of the "
162 ntfs_debug("Buffer begins past the end of the "
260 ntfs_error(mp, "Buffer begins past the end of the "
268 ntfs_error(mp, "Buffer begins past the end of the "
281 NTFS_RECORD *rec;
283 err = buf_map(buf, (caddr_t*)&rec);
290 err = ntfs_mst_fixup_post_read(rec, size);
300 ntfs_mst_fixup_post_write(rec);
440 NTFS_RECORD *rec;
444 err = buf_map(buf, (caddr_t*)&rec);
450 if (!rec)
480 if (__ntfs_is_magic(rec->magic, magic)) {
481 err = ntfs_mst_fixup_pre_write(rec, ni->block_size);
500 (MFT_RECORD*)rec,
816 * name) and we are at the end of a pathname we can consider
863 * If the name is at the end of a pathname and is about to be deleted
2482 * If nothing was requested or the request starts at or beyond the end
2502 * Loop until we have finished the whole request or reached the end of
2606 * sure not to copy past the end of the attribute.
2732 * IO_APPEND - Append write to end.
2817 * If nothing was requested or the request starts at or beyond the end
2900 * but that just means the request goes beyond the end of the
2999 * IO_APPEND - Append write to end.
3066 * IO_APPEND - Append write to end.
3099 s64 old_size, size, end, nr_truncated;
3149 end = ofs + count;
3186 end = ofs + count;
3216 if (!write_locked && end > size) {
3231 * Further, we never want to zero fill at the end of the write as this
3232 * is pointless. We automatically get zero filling at the end of the
3254 * round up the end offset to the next cluster boundary.
3262 aligned_end = (end + ni->vol->cluster_size_mask) &
3297 if (new_end > end)
3298 panic("%s(): new_end > end\n", __FUNCTION__);
3299 end = new_end;
3313 if (end > size) {
3317 err = ntfs_attr_extend_allocation(ni, end, -1, ofs, NULL,
3323 if (end > size) {
3327 panic("%s(): end > size && "
3334 end = size;
3356 end = size;
3433 if (end > size)
3434 size = end;
3517 need_uptodate = (ofs || end < size);
3561 * case we will call ntfs_inode_sync() at the end of this function.
3566 * If the write went past the end of the initialized size update it
3570 * the end of the data size. Note this is automatically done by
3587 * started beyond the end of the initialized size, or
3776 * IO_APPEND - Append write to end.
5863 * VNOP_RMDIR() on any of its child inodes. This can end up in the
6367 * unlocked at the end of the function/on error.
6741 * int *a_eofflag; return end of file status (can be NULL)
7507 ATTR_LIST_ENTRY *entry, *next_entry, *end;
7518 end = (ATTR_LIST_ENTRY*)(ni->attr_list + ni->attr_list_size);
7524 while (entry < end) {
7990 /* Abort any pages outside the end of the attribute. */
7998 ntfs_debug("Truncating write past end of attribute.");
8026 NTFS_RECORD *rec = (NTFS_RECORD*)(kaddr + (i << rec_shift));
8027 if (__ntfs_is_magic(rec->magic, magic)) {
8028 err = ntfs_mst_fixup_pre_write(rec, rec_size);
8094 NTFS_RECORD *rec = (NTFS_RECORD*)(kaddr + (--i << rec_shift));
8095 if (__ntfs_is_magic(rec->magic, magic))
8096 ntfs_mst_fixup_post_write(rec);
8310 * end of the attribute or if the attribute offset is not page aligned
8333 // also need to make sure not to exceed the end of the write otherwise
8354 * round up the end offset to the next cluster boundary.
8438 /* Abort any pages outside the end of the attribute. */
8642 * return up to uio_resid(@a->a_uio) bytes (or up to the end of the resource
8973 * uio_resid(@a->a_uio) bytes. Writing past the end of the resource fork will
10225 * the end of the attribute, return error ERANGE. HFS returns ERANGE in this
10230 * In the write case we need to allow the mapping of blocks beyond the end of
10233 * return ERANGE if the requested @a->a_foffset is beyond the end of the
10305 "is beyond the end of the inode %s size "
10329 * region in this case rather than at or beyond the end of the
10431 * in this case and we would end up exposing stale data. This
10489 * cluster_io() will zero beyond the end of attribute in any