| /OK3568_Linux_fs/kernel/fs/squashfs/ |
| H A D | xattr.c | 48 int name_size; in squashfs_listxattr() local 55 name_size = le16_to_cpu(entry.size); in squashfs_listxattr() 62 if (prefix_size + name_size + 1 > rest) { in squashfs_listxattr() 70 &offset, name_size); in squashfs_listxattr() 74 buffer[name_size] = '\0'; in squashfs_listxattr() 75 buffer += name_size + 1; in squashfs_listxattr() 77 rest -= prefix_size + name_size + 1; in squashfs_listxattr() 81 &offset, name_size); in squashfs_listxattr() 125 int type, prefix, name_size; in squashfs_xattr_get() local 132 name_size = le16_to_cpu(entry.size); in squashfs_xattr_get() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_debug.c | 77 u32 name_size = 0; in rt_alloc_dbg_buf() local 86 name_size = (_os_strlen((u8 *)file_name) > DEBUG_MAX_NAME_LEN) ? in rt_alloc_dbg_buf() 88 _os_mem_cpy(phl_to_drvpriv(phl_info), dbg_buf->file_name, (u8 *)file_name, name_size); in rt_alloc_dbg_buf() 92 name_size = (_os_strlen((u8 *)func_name) > DEBUG_MAX_NAME_LEN) ? in rt_alloc_dbg_buf() 94 _os_mem_cpy(phl_to_drvpriv(phl_info), dbg_buf->func_name, (u8 *)func_name, name_size); in rt_alloc_dbg_buf()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_debug.c | 77 u32 name_size = 0; in rt_alloc_dbg_buf() local 86 name_size = (_os_strlen((u8 *)file_name) > DEBUG_MAX_NAME_LEN) ? in rt_alloc_dbg_buf() 88 _os_mem_cpy(phl_to_drvpriv(phl_info), dbg_buf->file_name, (u8 *)file_name, name_size); in rt_alloc_dbg_buf() 92 name_size = (_os_strlen((u8 *)func_name) > DEBUG_MAX_NAME_LEN) ? in rt_alloc_dbg_buf() 94 _os_mem_cpy(phl_to_drvpriv(phl_info), dbg_buf->func_name, (u8 *)func_name, name_size); in rt_alloc_dbg_buf()
|
| /OK3568_Linux_fs/kernel/fs/ecryptfs/ |
| H A D | crypto.c | 1517 const char *name, size_t name_size) in ecryptfs_copy_filename() argument 1521 (*copied_name) = kmalloc((name_size + 1), GFP_KERNEL); in ecryptfs_copy_filename() 1526 memcpy((void *)(*copied_name), (void *)name, name_size); in ecryptfs_copy_filename() 1527 (*copied_name)[(name_size)] = '\0'; /* Only for convenience in ecryptfs_copy_filename() 1531 (*copied_name_size) = name_size; in ecryptfs_copy_filename() 1895 const char *name, size_t name_size) in ecryptfs_encrypt_and_encode_filename() argument 1912 filename->filename_size = name_size; in ecryptfs_encrypt_and_encode_filename() 1973 name, name_size); in ecryptfs_encrypt_and_encode_filename() 1979 static bool is_dot_dotdot(const char *name, size_t name_size) in is_dot_dotdot() argument 1981 if (name_size == 1 && name[0] == '.') in is_dot_dotdot() [all …]
|
| H A D | file.c | 62 size_t name_size; in ecryptfs_filldir() local 67 rc = ecryptfs_decode_and_decrypt_filename(&name, &name_size, in ecryptfs_filldir() 88 rc = !dir_emit(buf->caller, name, name_size, ino, d_type); in ecryptfs_filldir()
|
| H A D | ecryptfs_kernel.h | 568 const char *name, size_t name_size); 574 const char *name, size_t name_size);
|
| /OK3568_Linux_fs/kernel/fs/ceph/ |
| H A D | xattr.c | 35 size_t name_size; /* strlen(name) + 1 (for '\0') */ member 313 .name_size = sizeof (CEPH_XATTR_NAME(_type, _name)), \ 323 .name_size = sizeof (CEPH_XATTR_NAME(_type, _name)), \ 331 .name_size = sizeof (CEPH_XATTR_NAME2(_type, _name, _field)), \ 339 .name_size = sizeof(CEPH_XATTR_NAME(_type, _name)), \ 348 .name_size = sizeof("ceph.dir.layout"), 368 .name_size = sizeof("ceph.dir.pin"), 375 .name_size = sizeof("ceph.quota"), 384 .name_size = sizeof("ceph.snap.btime"), 397 .name_size = sizeof("ceph.file.layout"), [all …]
|
| /OK3568_Linux_fs/buildroot/package/wayland/ |
| H A D | 0002-wayland-client-Support-waiting-for-socket-when-conne.patch | 24 int name_size, fd; 32 size = offsetof (struct sockaddr_un, sun_path) + name_size;
|
| /OK3568_Linux_fs/kernel/drivers/firmware/efi/ |
| H A D | efi-pstore.c | 364 unsigned long name_size, void *data) in efi_pstore_callback() argument 373 memcpy(entry->var.VariableName, name, name_size); in efi_pstore_callback() 384 unsigned long name_size, void *data) in efi_pstore_update_entry() argument 391 memcpy(entry->var.VariableName, name, name_size); in efi_pstore_update_entry()
|
| H A D | runtime-wrappers.c | 315 static efi_status_t virt_efi_get_next_variable(unsigned long *name_size, in virt_efi_get_next_variable() argument 323 status = efi_queue_work(EFI_GET_NEXT_VARIABLE, name_size, name, vendor, in virt_efi_get_next_variable()
|
| H A D | efi.c | 217 unsigned long name_size, void *data) in efivar_ssdt_iter() argument 222 int limit = min_t(unsigned long, EFIVAR_SSDT_NAME_MAX, name_size); in efivar_ssdt_iter() 232 memcpy(entry->var.VariableName, name, name_size); in efivar_ssdt_iter()
|
| H A D | efivars.c | 593 unsigned long name_size, void *data) in efivars_sysfs_callback() argument 601 memcpy(entry->var.VariableName, name, name_size); in efivars_sysfs_callback()
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H A D | efi.c | 142 static efi_status_t xen_efi_get_next_variable(unsigned long *name_size, in xen_efi_get_next_variable() argument 148 efi_data(op).u.get_next_variable_name.size = *name_size; in xen_efi_get_next_variable() 158 *name_size = efi_data(op).u.get_next_variable_name.size; in xen_efi_get_next_variable()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/efi/test/ |
| H A D | efi_test.c | 407 unsigned long name_size, prev_name_size = 0, *ns = NULL; in efi_runtime_get_nextvariablename() local 421 if (get_user(name_size, getnextvariablename.variable_name_size)) in efi_runtime_get_nextvariablename() 423 ns = &name_size; in efi_runtime_get_nextvariablename() 424 prev_name_size = name_size; in efi_runtime_get_nextvariablename()
|
| /OK3568_Linux_fs/kernel/fs/efivarfs/ |
| H A D | super.c | 107 unsigned long name_size, void *data) in efivarfs_callback() argument 123 memcpy(entry->var.VariableName, name16, name_size); in efivarfs_callback()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_osk_profiling.c | 926 u32 name_size = strlen(global_mali_profiling_counters[i].counter_name); in _mali_ukk_profiling_control_set() local 928 if ((args->response_packet_size + name_size + 1) > output_buffer_size) { in _mali_ukk_profiling_control_set() 934 global_mali_profiling_counters[i].counter_name, name_size + 1); in _mali_ukk_profiling_control_set() 936 args->response_packet_size += (name_size + 1); in _mali_ukk_profiling_control_set() 1004 u32 name_size = strlen((char *)(control_packet_data + begin)); in _mali_ukk_profiling_control_set() local 1006 …_mali_profiling_counters[i].counter_name, (char *)(control_packet_data + begin), name_size) == 0) { in _mali_ukk_profiling_control_set()
|
| /OK3568_Linux_fs/kernel/fs/ntfs/ |
| H A D | dir.c | 197 int name_size = sizeof(ntfs_name); in ntfs_lookup_inode_by_name() local 214 name_size += len * sizeof(ntfschar); in ntfs_lookup_inode_by_name() 215 name = kmalloc(name_size, GFP_NOFS); in ntfs_lookup_inode_by_name() 457 int name_size = sizeof(ntfs_name); in ntfs_lookup_inode_by_name() local 476 name_size += len * sizeof(ntfschar); in ntfs_lookup_inode_by_name() 477 name = kmalloc(name_size, GFP_NOFS); in ntfs_lookup_inode_by_name()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/google/ |
| H A D | gsmi.c | 373 static efi_status_t gsmi_get_next_variable(unsigned long *name_size, in gsmi_get_next_variable() argument 386 if (*name_size != GSMI_BUF_SIZE) in gsmi_get_next_variable() 399 memcpy(gsmi_dev.name_buf->start, name, *name_size); in gsmi_get_next_variable() 418 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; in gsmi_get_next_variable()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/include/sanitizer/ |
| H A D | asan_interface.h | 195 const char *__asan_locate_address(void *addr, char *name, size_t name_size,
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/include/sanitizer/ |
| H A D | asan_interface.h | 195 const char *__asan_locate_address(void *addr, char *name, size_t name_size,
|
| /OK3568_Linux_fs/kernel/arch/x86/platform/efi/ |
| H A D | efi_64.c | 665 efi_thunk_get_next_variable(unsigned long *name_size, in efi_thunk_get_next_variable() argument 679 phys_name_size = virt_to_phys_or_null(name_size); in efi_thunk_get_next_variable() 681 phys_name = virt_to_phys_or_null_size(name, *name_size); in efi_thunk_get_next_variable()
|
| /OK3568_Linux_fs/kernel/fs/befs/ |
| H A D | befs_fs_types.h | 170 fs16 name_size; member
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | virtio_console.c | 1570 size_t name_size; in handle_control_message() local 1667 name_size = buf->len - buf->offset - sizeof(*cpkt) + 1; in handle_control_message() 1669 port->name = kmalloc(name_size, GFP_KERNEL); in handle_control_message() 1676 name_size - 1); in handle_control_message() 1677 port->name[name_size - 1] = 0; in handle_control_message()
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | xattr.c | 95 static inline int name_size(struct jfs_ea *ea) in name_size() function 881 size += name_size(ea) + 1; in jfs_listxattr()
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | xattr.c | 1529 int name_size = OCFS2_XATTR_SIZE(loc->xl_entry->xe_name_len); in ocfs2_xa_fill_value_buf() local 1534 (name_size + OCFS2_XATTR_ROOT_SIZE)); in ocfs2_xa_fill_value_buf() 1540 name_size); in ocfs2_xa_fill_value_buf() 2049 int name_size = OCFS2_XATTR_SIZE(loc->xl_entry->xe_name_len); in ocfs2_xa_install_value_root() local 2054 memcpy(nameval_buf + name_size, &def_xv, OCFS2_XATTR_ROOT_SIZE); in ocfs2_xa_install_value_root() 2067 int name_size = OCFS2_XATTR_SIZE(xi->xi_name_len); in ocfs2_xa_reuse_entry() local 2074 name_size); in ocfs2_xa_reuse_entry() 2079 memset(nameval_buf + name_size, 0, in ocfs2_xa_reuse_entry() 2080 namevalue_size_xe(loc->xl_entry) - name_size); in ocfs2_xa_reuse_entry() 2090 memset(nameval_buf + name_size, 0, in ocfs2_xa_reuse_entry() [all …]
|