Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/acpi/acpica/
Dexmisc.c168 acpi_size new_length; in acpi_ex_concat_template() local
198 new_length = length0 + length1 + sizeof(struct aml_resource_end_tag); in acpi_ex_concat_template()
202 return_desc = acpi_ut_create_buffer_object(new_length); in acpi_ex_concat_template()
217 new_buf[new_length - 1] = 0; in acpi_ex_concat_template()
218 new_buf[new_length - 2] = ACPI_RESOURCE_NAME_END_TAG | 1; in acpi_ex_concat_template()
/linux-4.4.14/tools/perf/util/
Dmap.c50 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-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dfirmware.c367 u32 *new_length, u16 domain_nr, u16 bus_nr) in brcmf_fw_nvram_strip() argument
393 *new_length = roundup(nvp.nvram_len + 1, 4); in brcmf_fw_nvram_strip()
394 while (pad != *new_length) { in brcmf_fw_nvram_strip()
399 token = *new_length / 4; in brcmf_fw_nvram_strip()
403 memcpy(&nvp.nvram[*new_length], &token_le, sizeof(token_le)); in brcmf_fw_nvram_strip()
404 *new_length += sizeof(token_le); in brcmf_fw_nvram_strip()
/linux-4.4.14/fs/ntfs/
Drunlist.c1500 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 …]
Drunlist.h95 runlist *const runlist, const s64 new_length);
/linux-4.4.14/fs/coda/
Dupcall.c233 size_t new_length, const char *old_name, in venus_rename() argument
242 insize = max_t(unsigned int, offset + new_length + old_length + 8, in venus_rename()
258 s = ( new_length & ~0x3) +4; /* round up to word boundary */ in venus_rename()
259 memcpy((char *)(inp) + offset, new_name, new_length); in venus_rename()
260 *((char *)inp + offset + new_length) = '\0'; in venus_rename()
Ddir.c299 int new_length = new_dentry->d_name.len; in coda_rename() local
303 coda_i2f(new_dir), old_length, new_length, in coda_rename()
/linux-4.4.14/include/linux/
Dcoda_psdev.h54 size_t new_length, const char *old_name,
/linux-4.4.14/fs/ecryptfs/
Decryptfs_kernel.h568 int ecryptfs_fill_zeros(struct file *file, loff_t new_length);
609 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
Dinode.c852 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length) in ecryptfs_truncate() argument
854 struct iattr ia = { .ia_valid = ATTR_SIZE, .ia_size = new_length }; in ecryptfs_truncate()
858 rc = ecryptfs_inode_newsize_ok(d_inode(dentry), new_length); in ecryptfs_truncate()
/linux-4.4.14/drivers/hid/
Dhid-logitech-hidpp.c319 int new_length; in hidpp_prefix_name() local
327 new_length = PREFIX_LENGTH + name_length; in hidpp_prefix_name()
328 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name()
332 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name()