Home
last modified time | relevance | path

Searched refs:new_length (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-6.6/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()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dmap.c40 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()
101 new_length = 27 + ndk_length + in replace_android_lib()
105 if (new_length > PATH_MAX) in replace_android_lib()
107 snprintf(newfilename, new_length, in replace_android_lib()
[all...]
/kernel/linux/linux-5.10/fs/ntfs/
H A Drunlist.c1465 * @new_length: the new length of the runlist in VCNs
1468 * holding the runlist elements to a length of @new_length VCNs.
1470 * If @new_length lies within the runlist, the runlist elements with VCNs of
1471 * @new_length and above are discarded. As a special case if @new_length is
1474 * If @new_length lies beyond the runlist, a sparse runlist element is added to
1486 const s64 new_length) in ntfs_rl_truncate_nolock()
1491 ntfs_debug("Entering for new_length 0x%llx.", (long long)new_length); in ntfs_rl_truncate_nolock()
1493 BUG_ON(new_length < in ntfs_rl_truncate_nolock()
1485 ntfs_rl_truncate_nolock(const ntfs_volume *vol, runlist *const runlist, const s64 new_length) ntfs_rl_truncate_nolock() argument
[all...]
H A Drunlist.h81 runlist *const runlist, const s64 new_length);
/kernel/linux/linux-6.6/fs/ntfs/
H A Drunlist.c1465 * @new_length: the new length of the runlist in VCNs
1468 * holding the runlist elements to a length of @new_length VCNs.
1470 * If @new_length lies within the runlist, the runlist elements with VCNs of
1471 * @new_length and above are discarded. As a special case if @new_length is
1474 * If @new_length lies beyond the runlist, a sparse runlist element is added to
1486 const s64 new_length) in ntfs_rl_truncate_nolock()
1491 ntfs_debug("Entering for new_length 0x%llx.", (long long)new_length); in ntfs_rl_truncate_nolock()
1493 BUG_ON(new_length < in ntfs_rl_truncate_nolock()
1485 ntfs_rl_truncate_nolock(const ntfs_volume *vol, runlist *const runlist, const s64 new_length) ntfs_rl_truncate_nolock() argument
[all...]
H A Drunlist.h81 runlist *const runlist, const s64 new_length);
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfirmware.c379 u32 *new_length, u16 domain_nr, u16 bus_nr) in brcmf_fw_nvram_strip()
410 *new_length = roundup(nvp.nvram_len + 1, 4); in brcmf_fw_nvram_strip()
411 while (pad != *new_length) { in brcmf_fw_nvram_strip()
416 token = *new_length / 4; in brcmf_fw_nvram_strip()
420 memcpy(&nvp.nvram[*new_length], &token_le, sizeof(token_le)); in brcmf_fw_nvram_strip()
421 *new_length += sizeof(token_le); in brcmf_fw_nvram_strip()
378 brcmf_fw_nvram_strip(const u8 *data, size_t data_len, u32 *new_length, u16 domain_nr, u16 bus_nr) brcmf_fw_nvram_strip() argument
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfirmware.c396 u32 *new_length, u16 domain_nr, u16 bus_nr, in brcmf_fw_nvram_strip()
435 *new_length = roundup(nvp.nvram_len + 1, 4); in brcmf_fw_nvram_strip()
436 while (pad != *new_length) { in brcmf_fw_nvram_strip()
441 token = *new_length / 4; in brcmf_fw_nvram_strip()
445 memcpy(&nvp.nvram[*new_length], &token_le, sizeof(token_le)); in brcmf_fw_nvram_strip()
446 *new_length += sizeof(token_le); in brcmf_fw_nvram_strip()
395 brcmf_fw_nvram_strip(const u8 *data, size_t data_len, u32 *new_length, u16 domain_nr, u16 bus_nr, struct device *dev) brcmf_fw_nvram_strip() argument
/kernel/linux/linux-5.10/fs/coda/
H A Dupcall.c234 size_t new_length, const char *old_name, in venus_rename()
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()
232 venus_rename(struct super_block *sb, struct CodaFid *old_fid, struct CodaFid *new_fid, size_t old_length, size_t new_length, const char *old_name, const char *new_name) venus_rename() argument
H A Dcoda_psdev.h73 size_t new_length, const char *old_name,
H A Ddir.c301 int new_length = new_dentry->d_name.len; in coda_rename() local
308 coda_i2f(new_dir), old_length, new_length, in coda_rename()
/kernel/linux/linux-6.6/fs/coda/
H A Dupcall.c234 size_t new_length, const char *old_name, in venus_rename()
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()
232 venus_rename(struct super_block *sb, struct CodaFid *old_fid, struct CodaFid *new_fid, size_t old_length, size_t new_length, const char *old_name, const char *new_name) venus_rename() argument
H A Dcoda_psdev.h73 size_t new_length, const char *old_name,
H A Ddir.c305 int new_length = new_dentry->d_name.len; in coda_rename() local
312 coda_i2f(new_dir), old_length, new_length, in coda_rename()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_ialloc.h112 struct xfs_buf *agibp, xfs_agblock_t new_length);
H A Dxfs_ialloc.c2968 xfs_agblock_t new_length) in xfs_ialloc_check_shrink()
2982 agino = XFS_AGB_TO_AGINO(pag->pag_mount, new_length); in xfs_ialloc_check_shrink()
2964 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
/kernel/linux/linux-5.10/fs/ecryptfs/
H A Decryptfs_kernel.h569 int ecryptfs_fill_zeros(struct file *file, loff_t new_length);
609 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
H A Dinode.c844 * @new_length: The length to expand the file to
851 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length) in ecryptfs_truncate() argument
853 struct iattr ia = { .ia_valid = ATTR_SIZE, .ia_size = new_length }; in ecryptfs_truncate()
857 rc = ecryptfs_inode_newsize_ok(d_inode(dentry), new_length); in ecryptfs_truncate()
/kernel/linux/linux-6.6/fs/ecryptfs/
H A Decryptfs_kernel.h554 int ecryptfs_fill_zeros(struct file *file, loff_t new_length);
594 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
H A Dinode.c845 * @new_length: The length to expand the file to
852 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()
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-logitech-hidpp.c423 int new_length; in hidpp_prefix_name() local
431 new_length = PREFIX_LENGTH + name_length; in hidpp_prefix_name()
432 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name()
436 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-logitech-hidpp.c492 int new_length; in hidpp_prefix_name() local
500 new_length = PREFIX_LENGTH + name_length; in hidpp_prefix_name()
501 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name()
505 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name()

Completed in 38 milliseconds