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.c1485 * @new_length: the new length of the runlist in VCNs
1488 * holding the runlist elements to a length of @new_length VCNs.
1490 * If @new_length lies within the runlist, the runlist elements with VCNs of
1491 * @new_length and above are discarded. As a special case if @new_length is
1494 * If @new_length lies beyond the runlist, a sparse runlist element is added to
1506 const s64 new_length) in ntfs_rl_truncate_nolock()
1511 ntfs_debug("Entering for new_length 0x%llx.", (long long)new_length); in ntfs_rl_truncate_nolock()
1513 if (!runlist || new_length < in ntfs_rl_truncate_nolock()
1502 ntfs_rl_truncate_nolock(const struct ntfs_volume * vol,struct runlist * const runlist,const s64 new_length) ntfs_rl_truncate_nolock() argument
[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.c3148 xfs_agblock_t new_length) in xfs_ialloc_calc_rootino()
3162 agino = XFS_AGB_TO_AGINO(pag_mount(pag), new_length); in xfs_ialloc_check_shrink()
3164 xfs_ialloc_check_shrink(struct xfs_perag * pag,struct xfs_trans * tp,struct xfs_buf * agibp,xfs_agblock_t new_length) xfs_ialloc_check_shrink() argument
/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.c4244 u64 new_length = ALIGN_DOWN(dest_length, fs_info->nodesize); in move_existing_remap()
4246 btrfs_free_reserved_extent(fs_info, dest_addr + new_length, in move_existing_remap()
4247 dest_length - new_length, 0); in move_existing_remap()
4249 dest_length = new_length; in move_existing_remap()
5076 u64 new_length = ALIGN_DOWN(length, fs_info->nodesize); in do_remap_reloc_trans()
5078 btrfs_free_reserved_extent(fs_info, new_addr + new_length, in do_remap_reloc_trans()
5079 length - new_length, 0); in do_remap_reloc_trans()
5081 length = new_length; in do_remap_reloc_trans()
4189 u64 new_length = ALIGN_DOWN(dest_length, fs_info->nodesize); move_existing_remap() local
5021 u64 new_length = ALIGN_DOWN(length, fs_info->nodesize); do_remap_reloc_trans() local
/linux/drivers/hid/
H A Dhid-logitech-hidpp.c498 int new_length; in hidpp_prefix_name()
506 new_length = PREFIX_LENGTH + name_length; in hidpp_prefix_name()
507 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name()
511 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name()
496 int new_length; hidpp_prefix_name() local