Searched refs:new_length (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.10/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-v5.10/tools/perf/util/ |
D | map.c | 40 size_t app_abi_length, new_length; in replace_android_lib() local 59 new_length = 7 + app_abi_length + lib_length; in replace_android_lib() 63 new_length += strlen(apk_path) + 1; in replace_android_lib() 64 if (new_length > PATH_MAX) in replace_android_lib() 66 snprintf(newfilename, new_length, in replace_android_lib() 69 if (new_length > PATH_MAX) in replace_android_lib() 71 snprintf(newfilename, new_length, in replace_android_lib() 102 new_length = 27 + ndk_length + in replace_android_lib() 106 if (new_length > PATH_MAX) in replace_android_lib() 108 snprintf(newfilename, new_length, in replace_android_lib()
|
/Linux-v5.10/fs/ntfs/ |
D | runlist.c | 1486 const s64 new_length) in ntfs_rl_truncate_nolock() argument 1491 ntfs_debug("Entering for new_length 0x%llx.", (long long)new_length); in ntfs_rl_truncate_nolock() 1493 BUG_ON(new_length < 0); in ntfs_rl_truncate_nolock() 1495 if (!new_length) { in ntfs_rl_truncate_nolock() 1516 rl[1].vcn = rl->length = new_length; in ntfs_rl_truncate_nolock() 1520 BUG_ON(new_length < rl->vcn); in ntfs_rl_truncate_nolock() 1522 while (likely(rl->length && new_length >= rl[1].vcn)) in ntfs_rl_truncate_nolock() 1539 rl->length = new_length - rl->vcn; in ntfs_rl_truncate_nolock() 1549 rl->vcn = new_length; in ntfs_rl_truncate_nolock() 1566 } else if (likely(/* !rl->length && */ new_length > rl->vcn)) { in ntfs_rl_truncate_nolock() [all …]
|
D | runlist.h | 81 runlist *const runlist, const s64 new_length);
|
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 377 u32 *new_length, u16 domain_nr, u16 bus_nr) in brcmf_fw_nvram_strip() argument 408 *new_length = roundup(nvp.nvram_len + 1, 4); in brcmf_fw_nvram_strip() 409 while (pad != *new_length) { in brcmf_fw_nvram_strip() 414 token = *new_length / 4; in brcmf_fw_nvram_strip() 418 memcpy(&nvp.nvram[*new_length], &token_le, sizeof(token_le)); in brcmf_fw_nvram_strip() 419 *new_length += sizeof(token_le); in brcmf_fw_nvram_strip()
|
/Linux-v5.10/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 | coda_psdev.h | 73 size_t new_length, const char *old_name,
|
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-v5.10/fs/ecryptfs/ |
D | ecryptfs_kernel.h | 569 int ecryptfs_fill_zeros(struct file *file, loff_t new_length); 609 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
|
D | inode.c | 843 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length) in ecryptfs_truncate() argument 845 struct iattr ia = { .ia_valid = ATTR_SIZE, .ia_size = new_length }; in ecryptfs_truncate() 849 rc = ecryptfs_inode_newsize_ok(d_inode(dentry), new_length); in ecryptfs_truncate()
|
/Linux-v5.10/drivers/hid/ |
D | hid-logitech-hidpp.c | 430 int new_length; in hidpp_prefix_name() local 438 new_length = PREFIX_LENGTH + name_length; in hidpp_prefix_name() 439 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name() 443 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name()
|