Searched refs:new_length (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/acpi/acpica/ |
D | exconcat.c | 349 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-v4.19/tools/perf/util/ |
D | map.c | 50 size_t app_abi_length, new_length; in replace_android_lib() local 69 new_length = 7 + app_abi_length + lib_length; in replace_android_lib() 73 new_length += strlen(apk_path) + 1; in replace_android_lib() 74 if (new_length > PATH_MAX) in replace_android_lib() 76 snprintf(newfilename, new_length, in replace_android_lib() 79 if (new_length > PATH_MAX) in replace_android_lib() 81 snprintf(newfilename, new_length, in replace_android_lib() 112 new_length = 27 + ndk_length + in replace_android_lib() 116 if (new_length > PATH_MAX) in replace_android_lib() 118 snprintf(newfilename, new_length, in replace_android_lib()
|
/Linux-v4.19/fs/ntfs/ |
D | runlist.c | 1500 const s64 new_length) in ntfs_rl_truncate_nolock() argument 1505 ntfs_debug("Entering for new_length 0x%llx.", (long long)new_length); in ntfs_rl_truncate_nolock() 1507 BUG_ON(new_length < 0); in ntfs_rl_truncate_nolock() 1509 if (!new_length) { in ntfs_rl_truncate_nolock() 1530 rl[1].vcn = rl->length = new_length; in ntfs_rl_truncate_nolock() 1534 BUG_ON(new_length < rl->vcn); in ntfs_rl_truncate_nolock() 1536 while (likely(rl->length && new_length >= rl[1].vcn)) in ntfs_rl_truncate_nolock() 1553 rl->length = new_length - rl->vcn; in ntfs_rl_truncate_nolock() 1563 rl->vcn = new_length; in ntfs_rl_truncate_nolock() 1580 } else if (likely(/* !rl->length && */ new_length > rl->vcn)) { in ntfs_rl_truncate_nolock() [all …]
|
D | runlist.h | 95 runlist *const runlist, const s64 new_length);
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 387 u32 *new_length, u16 domain_nr, u16 bus_nr) in brcmf_fw_nvram_strip() argument 418 *new_length = roundup(nvp.nvram_len + 1, 4); in brcmf_fw_nvram_strip() 419 while (pad != *new_length) { in brcmf_fw_nvram_strip() 424 token = *new_length / 4; in brcmf_fw_nvram_strip() 428 memcpy(&nvp.nvram[*new_length], &token_le, sizeof(token_le)); in brcmf_fw_nvram_strip() 429 *new_length += sizeof(token_le); in brcmf_fw_nvram_strip()
|
/Linux-v4.19/fs/coda/ |
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()
|
D | dir.c | 301 int new_length = new_dentry->d_name.len; in coda_rename() local 308 coda_i2f(new_dir), old_length, new_length, in coda_rename()
|
/Linux-v4.19/include/linux/ |
D | coda_psdev.h | 54 size_t new_length, const char *old_name,
|
/Linux-v4.19/fs/ecryptfs/ |
D | ecryptfs_kernel.h | 583 int ecryptfs_fill_zeros(struct file *file, loff_t new_length); 623 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
|
D | inode.c | 830 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length) in ecryptfs_truncate() argument 832 struct iattr ia = { .ia_valid = ATTR_SIZE, .ia_size = new_length }; in ecryptfs_truncate() 836 rc = ecryptfs_inode_newsize_ok(d_inode(dentry), new_length); in ecryptfs_truncate()
|
/Linux-v4.19/drivers/hid/ |
D | hid-logitech-hidpp.c | 374 int new_length; in hidpp_prefix_name() local 382 new_length = PREFIX_LENGTH + name_length; in hidpp_prefix_name() 383 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name() 387 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name()
|