Home
last modified time | relevance | path

Searched refs:new_length (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/acpi/acpica/
H A Dexconcat.c349 acpi_size new_length; in acpi_ex_concat_template() local
379 new_length = length0 + length1 + sizeof(struct aml_resource_end_tag); in acpi_ex_concat_template()
383 return_desc = acpi_ut_create_buffer_object(new_length); in acpi_ex_concat_template()
398 new_buf[new_length - 1] = 0; in acpi_ex_concat_template()
399 new_buf[new_length - 2] = ACPI_RESOURCE_NAME_END_TAG | 1; in acpi_ex_concat_template()
/linux/tools/perf/util/
H A Dmap.c29 size_t app_abi_length, new_length; in replace_android_lib() local
48 new_length = 7 + app_abi_length + lib_length; in replace_android_lib()
52 new_length += strlen(apk_path) + 1; in replace_android_lib()
53 if (new_length > PATH_MAX) in replace_android_lib()
55 snprintf(newfilename, new_length, in replace_android_lib()
58 if (new_length > PATH_MAX) in replace_android_lib()
60 snprintf(newfilename, new_length, in replace_android_lib()
90 new_length = 27 + ndk_length + in replace_android_lib()
94 if (new_length > PATH_MAX) in replace_android_lib()
96 snprintf(newfilename, new_length, in replace_android_lib()
/linux/drivers/char/tpm/
H A Dtpm-buf.c105 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length) in tpm_buf_append() argument
111 if ((buf->length + new_length) > PAGE_SIZE) { in tpm_buf_append()
117 memcpy(&buf->data[buf->length], new_data, new_length); in tpm_buf_append()
118 buf->length += new_length; in tpm_buf_append()
/linux/fs/ntfs/
H A Drunlist.c1502 const s64 new_length) in ntfs_rl_truncate_nolock() argument
1507 ntfs_debug("Entering for new_length 0x%llx.", (long long)new_length); in ntfs_rl_truncate_nolock()
1509 if (!runlist || new_length < 0) in ntfs_rl_truncate_nolock()
1513 if (new_length < rl->vcn) in ntfs_rl_truncate_nolock()
1517 while (likely(rl->length && new_length >= rl[1].vcn)) in ntfs_rl_truncate_nolock()
1534 rl->length = new_length - rl->vcn; in ntfs_rl_truncate_nolock()
1544 rl->vcn = new_length; in ntfs_rl_truncate_nolock()
1560 } else if (likely(/* !rl->length && */ new_length > rl->vcn)) { in ntfs_rl_truncate_nolock()
1568 (rl - 1)->length = new_length - (rl - 1)->vcn; in ntfs_rl_truncate_nolock()
1587 rl->length = new_length - rl->vcn; in ntfs_rl_truncate_nolock()
[all …]
H A Dcompress.c1297 loff_t new_length; in ntfs_write_cb() local
1379 new_length = ntfs_bytes_to_cluster(vol, round_up(bio_size, vol->cluster_size)); in ntfs_write_cb()
1385 rlc = ntfs_cluster_alloc(vol, new_vcn, new_length, -1, DATA_ZONE, in ntfs_write_cb()
/linux/fs/coda/
H A Dupcall.c234 size_t new_length, const char *old_name, in venus_rename() argument
243 insize = max_t(unsigned int, offset + new_length + old_length + 8, in venus_rename()
259 s = ( new_length & ~0x3) +4; /* round up to word boundary */ in venus_rename()
260 memcpy((char *)(inp) + offset, new_name, new_length); in venus_rename()
261 *((char *)inp + offset + new_length) = '\0'; in venus_rename()
H A Dcoda_psdev.h73 size_t new_length, const char *old_name,
/linux/fs/xfs/libxfs/
H A Dxfs_ialloc.h116 struct xfs_buf *agibp, xfs_agblock_t new_length);
H A Dxfs_ialloc.c3164 xfs_agblock_t new_length) in xfs_ialloc_check_shrink() argument
3178 agino = XFS_AGB_TO_AGINO(pag_mount(pag), new_length); in xfs_ialloc_check_shrink()
/linux/include/linux/
H A Dtpm.h424 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length);
/linux/fs/ecryptfs/
H A Decryptfs_kernel.h584 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
/linux/fs/btrfs/
H A Drelocation.c4189 u64 new_length = ALIGN_DOWN(dest_length, fs_info->nodesize); in move_existing_remap() local
4191 btrfs_free_reserved_extent(fs_info, dest_addr + new_length, in move_existing_remap()
4192 dest_length - new_length, 0); in move_existing_remap()
4194 dest_length = new_length; in move_existing_remap()
5021 u64 new_length = ALIGN_DOWN(length, fs_info->nodesize); in do_remap_reloc_trans() local
5023 btrfs_free_reserved_extent(fs_info, new_addr + new_length, in do_remap_reloc_trans()
5024 length - new_length, 0); in do_remap_reloc_trans()
5026 length = new_length; in do_remap_reloc_trans()
/linux/drivers/hid/
H A Dhid-logitech-hidpp.c496 int new_length; in hidpp_prefix_name() local
504 new_length = PREFIX_LENGTH + name_length; in hidpp_prefix_name()
505 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name()
509 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name()