Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/fs/ntfs/
H A Drunlist.c1486 const s64 new_length) in ntfs_rl_truncate_nolock() argument
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()
1574 (rl - 1)->length = new_length - (rl - 1)->vcn; in ntfs_rl_truncate_nolock()
1594 rl->length = new_length - rl->vcn; in ntfs_rl_truncate_nolock()
[all …]
H A Drunlist.h81 runlist *const runlist, const s64 new_length);
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfirmware.c396 u32 *new_length, u16 domain_nr, u16 bus_nr, in brcmf_fw_nvram_strip() argument
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()
/openbmc/linux/fs/coda/
H A Dupcall.c234 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 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()
/openbmc/linux/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() argument
2982 agino = XFS_AGB_TO_AGINO(pag->pag_mount, new_length); in xfs_ialloc_check_shrink()
/openbmc/linux/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.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()
/openbmc/qemu/block/
H A Dfile-posix.c3263 size_t new_length; in check_cache_dropped() local
3269 new_length = MIN(end - offset, window_size); in check_cache_dropped()
3270 if (new_length != length) { in check_cache_dropped()
3276 new_window = mmap(window, new_length, PROT_NONE, MAP_PRIVATE, in check_cache_dropped()
3284 length = new_length; in check_cache_dropped()
H A Dqcow2.c3244 preallocate_co(BlockDriverState *bs, uint64_t offset, uint64_t new_length, in preallocate_co() argument
3255 assert(offset <= new_length); in preallocate_co()
3256 bytes = new_length - offset; in preallocate_co()
/openbmc/linux/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()