/linux/drivers/gpu/drm/ |
A D | drm_format_helper.c | 144 pix = le32_to_cpu(sbuf[x]); in drm_fb_xrgb8888_to_rgb332_line() 169 void *sbuf; in drm_fb_xrgb8888_to_rgb332() local 173 if (!sbuf) in drm_fb_xrgb8888_to_rgb332() 178 memcpy(sbuf, src, src_len); in drm_fb_xrgb8888_to_rgb332() 184 kfree(sbuf); in drm_fb_xrgb8888_to_rgb332() 228 void *sbuf; in drm_fb_xrgb8888_to_rgb565() local 235 if (!sbuf) in drm_fb_xrgb8888_to_rgb565() 246 kfree(sbuf); in drm_fb_xrgb8888_to_rgb565() 322 void *sbuf; in drm_fb_xrgb8888_to_rgb888() local 326 if (!sbuf) in drm_fb_xrgb8888_to_rgb888() [all …]
|
/linux/tools/perf/bench/ |
A D | evlist-open-close.c | 117 char sbuf[STRERR_BUFSIZE]; in bench__do_evlist_open_close() local 121 pr_err("evlist__open: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close() 127 pr_err("evlist__mmap: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close() 193 char sbuf[STRERR_BUFSIZE]; in bench__repeat_event_string() local 200 pr_err("strbuf_init: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string() 207 pr_err("strbuf_add: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string() 213 pr_err("strbuf_addch: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string()
|
/linux/tools/perf/tests/ |
A D | backward-ring-buffer.c | 66 char sbuf[STRERR_BUFSIZE]; in do_test() local 71 str_error_r(errno, sbuf, sizeof(sbuf))); in do_test() 88 char pid[16], sbuf[STRERR_BUFSIZE]; in test__backward_ring_buffer() local 136 str_error_r(errno, sbuf, sizeof(sbuf))); in test__backward_ring_buffer() 157 str_error_r(errno, sbuf, sizeof(sbuf))); in test__backward_ring_buffer()
|
A D | mmap-basic.c | 46 char sbuf[STRERR_BUFSIZE]; in test__basic_mmap() local 66 cpus->map[0], str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap() 96 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap() 106 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
|
A D | perf-record.c | 71 char sbuf[STRERR_BUFSIZE]; in test__PERF_RECORD() local 117 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD() 128 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD() 139 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD() 151 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
|
A D | openat-syscall-all-cpus.c | 31 char sbuf[STRERR_BUFSIZE]; in test__openat_syscall_event_on_all_cpus() local 57 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event_on_all_cpus() 78 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event_on_all_cpus()
|
A D | openat-syscall-tp-fields.c | 43 char sbuf[STRERR_BUFSIZE]; in test__syscall_openat_tp_fields() local 71 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields() 78 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields()
|
A D | sw-clock.c | 33 char sbuf[STRERR_BUFSIZE]; in __test__sw_clock_freq() local 79 str_error_r(errno, sbuf, sizeof(sbuf)), in __test__sw_clock_freq() 87 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__sw_clock_freq()
|
A D | task-exit.c | 53 char sbuf[STRERR_BUFSIZE]; in test__task_exit() local 104 str_error_r(-err, sbuf, sizeof(sbuf))); in test__task_exit() 110 str_error_r(errno, sbuf, sizeof(sbuf))); in test__task_exit()
|
A D | openat-syscall.c | 23 char sbuf[STRERR_BUFSIZE]; in test__openat_syscall_event() local 41 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event()
|
/linux/fs/ubifs/ |
A D | recovery.c | 102 void *sbuf, *buf; in get_master_node() local 104 sbuf = vmalloc(c->leb_size); in get_master_node() 105 if (!sbuf) in get_master_node() 114 buf = sbuf; in get_master_node() 173 *pbuf = sbuf; in get_master_node() 179 vfree(sbuf); in get_master_node() 628 void *buf = sbuf + offs; in ubifs_recover_leb() 765 buf = sbuf + offs; in ubifs_recover_leb() 986 void *buf = sbuf; in clean_an_unclean_leb() 1428 ino = c->sbuf + offs; in fix_size_in_place() [all …]
|
A D | scan.c | 126 int offs, void *sbuf) in ubifs_start_scan() argument 139 sleb->buf = sbuf; in ubifs_start_scan() 141 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); in ubifs_start_scan() 255 int offs, void *sbuf, int quiet) in ubifs_scan() argument 257 void *buf = sbuf + offs; in ubifs_scan() 261 sleb = ubifs_start_scan(c, lnum, offs, sbuf); in ubifs_scan()
|
/linux/drivers/media/usb/stkwebcam/ |
A D | stk-webcam.c | 657 struct stk_sio_buffer *sbuf; in stk_read() local 746 sbuf->mapcount++; in stk_v4l_vm_open() 751 sbuf->mapcount--; in stk_v4l_vm_close() 752 if (sbuf->mapcount == 0) in stk_v4l_vm_close() 773 sbuf = dev->sio_bufs + i; in v4l_stk_mmap() 777 if (sbuf == NULL) in v4l_stk_mmap() 783 vma->vm_private_data = sbuf; in v4l_stk_mmap() 1073 *buf = sbuf->v4lbuf; in stk_vidioc_querybuf() 1096 *buf = sbuf->v4lbuf; in stk_vidioc_qbuf() 1123 list_del_init(&sbuf->list); in stk_vidioc_dqbuf() [all …]
|
/linux/tools/perf/util/ |
A D | cloexec.c | 41 char sbuf[STRERR_BUFSIZE]; in perf_flag_probe() local 70 err, str_error_r(err, sbuf, sizeof(sbuf))); in perf_flag_probe() 88 err, str_error_r(err, sbuf, sizeof(sbuf)))) in perf_flag_probe()
|
/linux/tools/perf/ |
A D | builtin-buildid-cache.c | 378 char sbuf[STRERR_BUFSIZE]; in cmd_buildid_cache() local 472 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 490 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 508 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 518 str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 536 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
|
A D | perf.c | 300 char sbuf[STRERR_BUFSIZE]; in run_builtin() local 333 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin() 342 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin() 444 char sbuf[STRERR_BUFSIZE]; in main() local 552 cmd, str_error_r(errno, sbuf, sizeof(sbuf))); in main()
|
/linux/drivers/media/usb/cpia2/ |
A D | cpia2_usb.c | 512 if(cam->sbuf[i].urb) { in free_sbufs() 515 cam->sbuf[i].urb = NULL; in free_sbufs() 517 if(cam->sbuf[i].data) { in free_sbufs() 518 kfree(cam->sbuf[i].data); in free_sbufs() 519 cam->sbuf[i].data = NULL; in free_sbufs() 654 if (cam->sbuf[i].data) in submit_urbs() 656 cam->sbuf[i].data = in submit_urbs() 659 if (!cam->sbuf[i].data) { in submit_urbs() 661 kfree(cam->sbuf[i].data); in submit_urbs() 672 if(cam->sbuf[i].urb) { in submit_urbs() [all …]
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | qplib_rcfw.c | 849 struct bnxt_qplib_rcfw_sbuf *sbuf; in bnxt_qplib_rcfw_alloc_sbuf() local 851 sbuf = kzalloc(sizeof(*sbuf), GFP_KERNEL); in bnxt_qplib_rcfw_alloc_sbuf() 852 if (!sbuf) in bnxt_qplib_rcfw_alloc_sbuf() 855 sbuf->size = size; in bnxt_qplib_rcfw_alloc_sbuf() 856 sbuf->sb = dma_alloc_coherent(&rcfw->pdev->dev, sbuf->size, in bnxt_qplib_rcfw_alloc_sbuf() 858 if (!sbuf->sb) in bnxt_qplib_rcfw_alloc_sbuf() 861 return sbuf; in bnxt_qplib_rcfw_alloc_sbuf() 863 kfree(sbuf); in bnxt_qplib_rcfw_alloc_sbuf() 870 if (sbuf->sb) in bnxt_qplib_rcfw_free_sbuf() 872 sbuf->sb, sbuf->dma_addr); in bnxt_qplib_rcfw_free_sbuf() [all …]
|
A D | qplib_sp.c | 93 struct bnxt_qplib_rcfw_sbuf *sbuf; in bnxt_qplib_get_dev_attr() local 103 if (!sbuf) { in bnxt_qplib_get_dev_attr() 109 sb = sbuf->sb; in bnxt_qplib_get_dev_attr() 112 (void *)sbuf, 0); in bnxt_qplib_get_dev_attr() 799 struct bnxt_qplib_rcfw_sbuf *sbuf; in bnxt_qplib_get_roce_stats() local 807 if (!sbuf) { in bnxt_qplib_get_roce_stats() 813 sb = sbuf->sb; in bnxt_qplib_get_roce_stats() 816 (void *)sbuf, 0); in bnxt_qplib_get_roce_stats() 880 struct bnxt_qplib_rcfw_sbuf *sbuf; in bnxt_qplib_qext_stat() local 885 if (!sbuf) { in bnxt_qplib_qext_stat() [all …]
|
/linux/fs/ |
A D | statfs.c | 236 static int vfs_ustat(dev_t dev, struct kstatfs *sbuf) in vfs_ustat() argument 243 err = statfs_by_dentry(s->s_root, sbuf); in vfs_ustat() 251 struct kstatfs sbuf; in SYSCALL_DEFINE2() local 252 int err = vfs_ustat(new_decode_dev(dev), &sbuf); in SYSCALL_DEFINE2() 257 tmp.f_tfree = sbuf.f_bfree; in SYSCALL_DEFINE2() 259 tmp.f_tinode = min_t(u64, sbuf.f_ffree, UINT_MAX); in SYSCALL_DEFINE2() 261 tmp.f_tinode = sbuf.f_ffree; in SYSCALL_DEFINE2() 394 struct kstatfs sbuf; in COMPAT_SYSCALL_DEFINE2() local 395 int err = vfs_ustat(new_decode_dev(dev), &sbuf); in COMPAT_SYSCALL_DEFINE2() 400 tmp.f_tfree = sbuf.f_bfree; in COMPAT_SYSCALL_DEFINE2() [all …]
|
/linux/tools/lib/subcmd/ |
A D | run-command.c | 33 char sbuf[STRERR_BUFSIZE]; in start_command() local 114 cmd->dir, str_error_r(errno, sbuf, sizeof(sbuf))); in start_command() 168 char sbuf[STRERR_BUFSIZE]; in wait_or_whine() local 178 str_error_r(errno, sbuf, sizeof(sbuf))); in wait_or_whine()
|
/linux/tools/perf/arch/x86/tests/ |
A D | rdpmc.c | 109 char sbuf[STRERR_BUFSIZE]; in __test__rdpmc() local 121 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__rdpmc() 128 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__rdpmc()
|
/linux/drivers/s390/net/ |
A D | ctcm_sysfs.c | 78 char *sbuf; in ctcm_print_statistics() local 83 sbuf = kmalloc(2048, GFP_KERNEL); in ctcm_print_statistics() 84 if (sbuf == NULL) in ctcm_print_statistics() 86 p = sbuf; in ctcm_print_statistics() 108 priv->channel[CTCM_WRITE]->netdev->name, sbuf); in ctcm_print_statistics() 109 kfree(sbuf); in ctcm_print_statistics()
|
/linux/fs/xfs/ |
A D | xfs_attr_list.c | 57 struct xfs_attr_sf_sort *sbuf, *sbp; in xfs_attr_shortform_list() local 112 sbsize = sf->hdr.count * sizeof(*sbuf); in xfs_attr_shortform_list() 113 sbp = sbuf = kmem_alloc(sbsize, KM_NOFS); in xfs_attr_shortform_list() 128 kmem_free(sbuf); in xfs_attr_shortform_list() 147 xfs_sort(sbuf, nsbuf, sizeof(*sbuf), xfs_attr_shortform_compare); in xfs_attr_shortform_list() 155 for (sbp = sbuf, i = 0; i < nsbuf; i++, sbp++) { in xfs_attr_shortform_list() 192 kmem_free(sbuf); in xfs_attr_shortform_list()
|
/linux/tools/lib/api/fs/ |
A D | tracing_path.c | 119 char sbuf[128]; in tracing_path__strerror_open_tp() local 162 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
|