Lines Matching defs:bytes
371 size_t bytes;
374 /* Use power of 2 for 'bytes'. */
376 bytes = 64;
379 bytes = run->allocated << 1;
381 bytes = (size_t)1
384 bytes = run->allocated + (16 * PAGE_SIZE);
387 WARN_ON(!is_mft && bytes > NTFS3_RUN_MAX_BYTES);
389 new_ptr = kvmalloc(bytes, GFP_KERNEL);
402 run->allocated = bytes;
815 * packed_size - How much bytes we have used run_buf.
859 /* How much bytes required to pack len. */
862 /* offset_size - How much bytes is packed dlcn. */
918 * Return: Error if negative, or real used bytes.
944 /* size_size - How much bytes is packed len. */
946 /* size_size - How much bytes is packed len. */
948 /* offset_size - How much bytes is packed dlcn. */
959 * Large positive number requires to store 5 bytes
1048 * Return: Error if negative, or real used bytes.
1153 size_t bytes = run->count * sizeof(struct ntfs_run);
1155 if (bytes > new_run->allocated) {
1156 struct ntfs_run *new_ptr = kvmalloc(bytes, GFP_KERNEL);
1163 new_run->allocated = bytes;
1166 memcpy(new_run->runs, run->runs, bytes);