/linux-6.6.21/arch/s390/kernel/ |
D | debug.c | 70 size_t user_len, loff_t *offset); 72 size_t user_len, loff_t *offset); 1257 size_t user_len) in debug_get_user_string() argument 1261 buffer = kmalloc(user_len + 1, GFP_KERNEL); in debug_get_user_string() 1264 if (copy_from_user(buffer, user_buf, user_len) != 0) { in debug_get_user_string() 1269 if (buffer[user_len - 1] == '\n') in debug_get_user_string() 1270 buffer[user_len - 1] = 0; in debug_get_user_string() 1272 buffer[user_len] = 0; in debug_get_user_string() 1308 size_t user_len, loff_t *offset) in debug_input_pages_fn() argument 1313 if (user_len > 0x10000) in debug_input_pages_fn() [all …]
|
/linux-6.6.21/drivers/s390/cio/ |
D | blacklist.c | 359 size_t user_len, loff_t *offset) in cio_ignore_write() argument 366 if (user_len > 65536) in cio_ignore_write() 367 user_len = 65536; in cio_ignore_write() 368 buf = vzalloc(user_len + 1); /* maybe better use the stack? */ in cio_ignore_write() 372 if (strncpy_from_user (buf, user_buf, user_len) < 0) { in cio_ignore_write() 377 i = user_len - 1; in cio_ignore_write() 386 rc = user_len; in cio_ignore_write()
|
/linux-6.6.21/drivers/s390/block/ |
D | dasd_proc.c | 260 const char __user *user_buf, size_t user_len, loff_t *pos) in dasd_stats_proc_write() argument 266 if (user_len > 65536) in dasd_stats_proc_write() 267 user_len = 65536; in dasd_stats_proc_write() 268 buffer = dasd_get_user_string(user_buf, user_len); in dasd_stats_proc_write() 310 return user_len; in dasd_stats_proc_write() 319 return user_len; in dasd_stats_proc_write()
|
D | dasd.c | 886 char *dasd_get_user_string(const char __user *user_buf, size_t user_len) in dasd_get_user_string() argument 890 buffer = vmalloc(user_len + 1); in dasd_get_user_string() 893 if (copy_from_user(buffer, user_buf, user_len) != 0) { in dasd_get_user_string() 898 if (buffer[user_len - 1] == '\n') in dasd_get_user_string() 899 buffer[user_len - 1] = 0; in dasd_get_user_string() 901 buffer[user_len] = 0; in dasd_get_user_string() 907 size_t user_len, loff_t *pos) in dasd_stats_write() argument 914 if (user_len > 65536) in dasd_stats_write() 915 user_len = 65536; in dasd_stats_write() 916 buffer = dasd_get_user_string(user_buf, user_len); in dasd_stats_write() [all …]
|
/linux-6.6.21/drivers/accel/qaic/ |
D | qaic_control.c | 354 u32 *user_len) in encode_passthrough() argument 383 *user_len += in_trans->hdr.len; in encode_passthrough() 561 u32 *user_len, struct ioctl_resources *resources, struct qaic_user *usr) in encode_dma() argument 607 *user_len += in_trans->hdr.len; in encode_dma() 630 u32 *user_len, struct ioctl_resources *resources) in encode_activate() argument 689 *user_len += in_trans->hdr.len; in encode_activate() 706 u32 *user_len, struct qaic_user *usr) in encode_deactivate() argument 713 *user_len += in_trans->hdr.len; in encode_deactivate() 719 u32 *user_len) in encode_status() argument 746 *user_len += in_trans->hdr.len; in encode_status() [all …]
|
/linux-6.6.21/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 117 int32_t user_len, cnt2end; in arcmsr_sysfs_iop_message_write() local 127 user_len = (int32_t)count; in arcmsr_sysfs_iop_message_write() 136 if (user_len > cnt2end) { in arcmsr_sysfs_iop_message_write() 139 user_len -= cnt2end; in arcmsr_sysfs_iop_message_write() 143 memcpy(pQbuffer, ptmpuserbuffer, user_len); in arcmsr_sysfs_iop_message_write() 144 acb->wqbuf_putIndex += user_len; in arcmsr_sysfs_iop_message_write()
|
D | arcmsr_hba.c | 2993 uint32_t user_len; in arcmsr_iop_message_xfer() local 2997 user_len = pcmdmessagefld->cmdmessage.Length; in arcmsr_iop_message_xfer() 2998 if (user_len > ARCMSR_API_DATA_BUFLEN) { in arcmsr_iop_message_xfer() 3011 pcmdmessagefld->messagedatabuffer, user_len); in arcmsr_iop_message_xfer() 3027 if (user_len > cnt2end) { in arcmsr_iop_message_xfer() 3030 user_len -= cnt2end; in arcmsr_iop_message_xfer() 3034 memcpy(pQbuffer, ptmpuserbuffer, user_len); in arcmsr_iop_message_xfer() 3035 acb->wqbuf_putIndex += user_len; in arcmsr_iop_message_xfer()
|
/linux-6.6.21/fs/ocfs2/ |
D | aops.c | 917 loff_t user_pos, unsigned user_len) in ocfs2_write_failure() argument 921 to = user_pos + user_len; in ocfs2_write_failure() 933 user_pos, user_len); in ocfs2_write_failure() 943 loff_t user_pos, unsigned user_len, in ocfs2_prepare_page_for_write() argument 962 map_to = map_from + user_len; in ocfs2_prepare_page_for_write() 1027 unsigned user_len, int new, in ocfs2_grab_pages_for_write() argument 1052 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write() 1061 end_index = (user_pos + user_len - 1) >> PAGE_SHIFT; in ocfs2_grab_pages_for_write() 1121 loff_t user_pos, unsigned user_len) in ocfs2_write_cluster() argument 1198 user_pos, user_len, in ocfs2_write_cluster() [all …]
|
/linux-6.6.21/tools/perf/ui/ |
D | hist.c | 119 int len = fmt->user_len ?: fmt->len; in hpp__fmt() 139 int len = fmt->user_len ?: fmt->len; in hpp__fmt_acc() 294 int len = fmt->user_len ?: fmt->len; in hpp__width_fn() 817 fmt->user_len = len; in perf_hpp__set_user_width()
|
/linux-6.6.21/arch/x86/kvm/ |
D | xen.c | 181 size_t user_len, user_len1, user_len2; in kvm_xen_update_runstate_guest() local 249 user_len = sizeof(struct vcpu_runstate_info); in kvm_xen_update_runstate_guest() 253 user_len = sizeof(struct compat_vcpu_runstate_info); in kvm_xen_update_runstate_guest() 264 if ((gpc1->gpa & ~PAGE_MASK) + user_len >= PAGE_SIZE) { in kvm_xen_update_runstate_guest() 266 user_len2 = user_len - user_len1; in kvm_xen_update_runstate_guest() 268 user_len1 = user_len; in kvm_xen_update_runstate_guest() 271 BUG_ON(user_len1 + user_len2 != user_len); in kvm_xen_update_runstate_guest()
|
/linux-6.6.21/tools/perf/util/ |
D | sort.c | 2273 size_t len = fmt->user_len; in __sort__hpp_header() 2288 size_t len = fmt->user_len; in __sort__hpp_width() 2302 size_t len = fmt->user_len; in __sort__hpp_entry() 2440 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp() 2612 size_t len = fmt->user_len; in __sort__hde_header() 2627 size_t len = fmt->user_len; in __sort__hde_width() 2650 size_t len = fmt->user_len; in __sort__hde_entry() 2808 hde->hpp.user_len = 0; in __alloc_dynamic_entry()
|
D | hist.h | 297 int user_len; member
|
/linux-6.6.21/tools/perf/ |
D | builtin-c2c.c | 1922 size_t len = fmt->user_len; in c2c_se_entry()
|
/linux-6.6.21/tools/perf/ui/browsers/ |
D | hists.c | 1256 int len = fmt->user_len ?: fmt->len; \
|