Lines Matching refs:copy
1203 unsigned long size, copy; in fat_add_new_entries() local
1224 i = n = copy = 0; in fat_add_new_entries()
1236 copy = min(size, sb->s_blocksize); in fat_add_new_entries()
1237 memcpy(bhs[n]->b_data, slots, copy); in fat_add_new_entries()
1238 slots += copy; in fat_add_new_entries()
1239 size -= copy; in fat_add_new_entries()
1249 memset(bhs[n]->b_data + copy, 0, sb->s_blocksize - copy); in fat_add_new_entries()
1250 offset = copy - sizeof(struct msdos_dir_entry); in fat_add_new_entries()
1339 int copy = min_t(int, sb->s_blocksize - offset, size); in fat_add_entries() local
1340 memcpy(bhs[i]->b_data + offset, slots, copy); in fat_add_entries()
1343 slots += copy; in fat_add_entries()
1344 size -= copy; in fat_add_entries()
1350 int copy = min_t(int, sb->s_blocksize - offset, size); in fat_add_entries() local
1351 memcpy(bhs[i]->b_data + offset, slots, copy); in fat_add_entries()