| /linux/drivers/acpi/acpica/ |
| H A 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/tools/perf/util/ |
| H A D | map.c | 29 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()
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-buf.c | 105 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length) in tpm_buf_append() argument 111 if ((buf->length + new_length) > PAGE_SIZE) { in tpm_buf_append() 117 memcpy(&buf->data[buf->length], new_data, new_length); in tpm_buf_append() 118 buf->length += new_length; in tpm_buf_append()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | firmware.c | 396 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()
|
| /linux/fs/coda/ |
| H A 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()
|
| H A D | coda_psdev.h | 73 size_t new_length, const char *old_name,
|
| H A D | dir.c | 305 int new_length = new_dentry->d_name.len; in coda_rename() local 312 coda_i2f(new_dir), old_length, new_length, in coda_rename()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ialloc.h | 116 struct xfs_buf *agibp, xfs_agblock_t new_length);
|
| H A D | xfs_ialloc.c | 3164 xfs_agblock_t new_length) in xfs_ialloc_check_shrink() argument 3178 agino = XFS_AGB_TO_AGINO(pag_mount(pag), new_length); in xfs_ialloc_check_shrink()
|
| /linux/fs/ecryptfs/ |
| H A 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()
|
| H A D | ecryptfs_kernel.h | 584 int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
|
| /linux/include/linux/ |
| H A D | tpm.h | 424 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length);
|
| /linux/fs/btrfs/ |
| H A D | relocation.c | 4191 u64 new_length = ALIGN_DOWN(dest_length, fs_info->nodesize); in move_existing_remap() local 4193 btrfs_free_reserved_extent(fs_info, dest_addr + new_length, in move_existing_remap() 4194 dest_length - new_length, 0); in move_existing_remap() 4196 dest_length = new_length; in move_existing_remap() 5017 u64 new_length = ALIGN_DOWN(length, fs_info->nodesize); in do_remap_reloc_trans() local 5019 btrfs_free_reserved_extent(fs_info, new_addr + new_length, in do_remap_reloc_trans() 5020 length - new_length, 0); in do_remap_reloc_trans() 5022 length = new_length; in do_remap_reloc_trans()
|
| /linux/drivers/hid/ |
| H A D | hid-logitech-hidpp.c | 491 int new_length; in hidpp_prefix_name() local 499 new_length = PREFIX_LENGTH + name_length; in hidpp_prefix_name() 500 new_name = kzalloc(new_length, GFP_KERNEL); in hidpp_prefix_name() 504 snprintf(new_name, new_length, "Logitech %s", *name); in hidpp_prefix_name()
|