Searched refs:new_length (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | map.c | 29 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 D | tpm-buf.c | 133 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length) in tpm_buf_append() argument 135 u32 total_length = (u32)buf->length + (u32)new_length; in tpm_buf_append() 146 memcpy(&buf->data[buf->length], new_data, new_length); in tpm_buf_append() 147 buf->length += new_length; in tpm_buf_append()
|
| /linux/fs/ntfs/ |
| H A D | runlist.c | 1558 const s64 new_length) in ntfs_rl_truncate_nolock() argument 1563 ntfs_debug("Entering for new_length 0x%llx.", (long long)new_length); in ntfs_rl_truncate_nolock() 1565 if (!runlist || new_length < 0) in ntfs_rl_truncate_nolock() 1569 if (new_length < rl->vcn) in ntfs_rl_truncate_nolock() 1573 while (likely(rl->length && new_length >= rl[1].vcn)) in ntfs_rl_truncate_nolock() 1590 rl->length = new_length - rl->vcn; in ntfs_rl_truncate_nolock() 1600 rl->vcn = new_length; in ntfs_rl_truncate_nolock() 1616 } else if (likely(/* !rl->length && */ new_length > rl->vcn)) { in ntfs_rl_truncate_nolock() 1624 (rl - 1)->length = new_length - (rl - 1)->vcn; in ntfs_rl_truncate_nolock() 1643 rl->length = new_length - rl->vcn; in ntfs_rl_truncate_nolock() [all …]
|
| H A D | compress.c | 1337 loff_t cb_pos, new_length; in ntfs_write_cb() local 1404 new_length = ntfs_bytes_to_cluster(vol, round_up(bio_size, vol->cluster_size)); in ntfs_write_cb() 1406 rlc = ntfs_cluster_alloc(vol, new_vcn, new_length, -1, DATA_ZONE, in ntfs_write_cb()
|
| /linux/include/linux/ |
| H A D | tpm_buf.h | 51 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length);
|
| /linux/fs/coda/ |
| H A D | upcall.c | 234 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 D | coda_psdev.h | 73 size_t new_length, const char *old_name,
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ialloc.h | 116 struct xfs_buf *agibp, xfs_agblock_t new_length);
|
| /linux/fs/btrfs/ |
| H A D | relocation.c | 4312 u64 new_length = ALIGN_DOWN(dest_length, fs_info->nodesize); in move_existing_remap() local 4314 btrfs_free_reserved_extent(fs_info, dest_addr + new_length, in move_existing_remap() 4315 dest_length - new_length, 0); in move_existing_remap() 4317 dest_length = new_length; in move_existing_remap() 5144 u64 new_length = ALIGN_DOWN(length, fs_info->nodesize); in do_remap_reloc_trans() local 5146 btrfs_free_reserved_extent(fs_info, new_addr + new_length, in do_remap_reloc_trans() 5147 length - new_length, 0); in do_remap_reloc_trans() 5149 length = new_length; in do_remap_reloc_trans()
|
| /linux/drivers/hid/ |
| H A D | hid-logitech-hidpp.c | 503 int new_length; in hidpp_prefix_name() local 511 new_length = PREFIX_LENGTH + name_length; in hidpp_prefix_name() 512 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name() 516 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name()
|