/linux-master/tools/perf/util/ |
H A D | cloexec.c | 28 char sbuf[STRERR_BUFSIZE]; local 57 err, str_error_r(err, sbuf, sizeof(sbuf))); 75 err, str_error_r(err, sbuf, sizeof(sbuf))))
|
H A D | mutex.c | 10 char sbuf[STRERR_BUFSIZE]; local 15 pr_err("%s error: '%s'\n", fn, str_error_r(err, sbuf, sizeof(sbuf)));
|
/linux-master/tools/perf/tests/ |
H A D | backward-ring-buffer.c | 66 char sbuf[STRERR_BUFSIZE]; local 71 str_error_r(errno, sbuf, sizeof(sbuf))); 88 char pid[16], sbuf[STRERR_BUFSIZE]; local 136 str_error_r(errno, sbuf, sizeof(sbuf))); 157 str_error_r(errno, sbuf, sizeof(sbuf)));
|
H A D | openat-syscall.c | 24 char sbuf[STRERR_BUFSIZE]; local 43 str_error_r(errno, sbuf, sizeof(sbuf)));
|
H A D | openat-syscall-tp-fields.c | 44 char sbuf[STRERR_BUFSIZE]; local 72 str_error_r(errno, sbuf, sizeof(sbuf))); 79 str_error_r(errno, sbuf, sizeof(sbuf)));
|
H A D | task-exit.c | 53 char sbuf[STRERR_BUFSIZE]; local 104 str_error_r(-err, sbuf, sizeof(sbuf))); 110 str_error_r(errno, sbuf, sizeof(sbuf)));
|
H A D | sw-clock.c | 34 char sbuf[STRERR_BUFSIZE]; local 80 str_error_r(errno, sbuf, sizeof(sbuf)), 88 str_error_r(errno, sbuf, sizeof(sbuf)));
|
H A D | openat-syscall-all-cpus.c | 32 char sbuf[STRERR_BUFSIZE]; local 59 str_error_r(errno, sbuf, sizeof(sbuf))); 81 str_error_r(errno, sbuf, sizeof(sbuf)));
|
H A D | perf-record.c | 71 char sbuf[STRERR_BUFSIZE]; local 117 str_error_r(errno, sbuf, sizeof(sbuf))); 128 str_error_r(errno, sbuf, sizeof(sbuf))); 139 str_error_r(errno, sbuf, sizeof(sbuf))); 151 str_error_r(errno, sbuf, sizeof(sbuf)));
|
H A D | sigtrap.c | 240 char sbuf[STRERR_BUFSIZE]; local 254 pr_debug("FAILED sigaction(): %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); 262 str_error_r(errno, sbuf, sizeof(sbuf))); 272 pr_debug("FAILED pthread_create(): %s\n", str_error_r(errno, sbuf, sizeof(sbuf)));
|
H A D | mmap-basic.c | 46 char sbuf[STRERR_BUFSIZE]; local 67 str_error_r(errno, sbuf, sizeof(sbuf))); 101 str_error_r(errno, sbuf, sizeof(sbuf))); 111 str_error_r(errno, sbuf, sizeof(sbuf)));
|
H A D | event-times.c | 24 char sbuf[STRERR_BUFSIZE]; local 46 str_error_r(errno, sbuf, sizeof(sbuf)));
|
/linux-master/tools/perf/bench/ |
H A D | evlist-open-close.c | 117 char sbuf[STRERR_BUFSIZE]; local 121 pr_err("evlist__open: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); 127 pr_err("evlist__mmap: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); 193 char sbuf[STRERR_BUFSIZE]; local 200 pr_err("strbuf_init: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); 207 pr_err("strbuf_add: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_format_helper.c | 140 void (*xfrm_line)(void *dbuf, const void *sbuf, unsigned int npixels)) 147 const void *sbuf; local 166 sbuf = memcpy(stmp, vaddr, sbuf_len); 168 sbuf = vaddr; 169 xfrm_line(dst, sbuf, linepixels); 182 void (*xfrm_line)(void *dbuf, const void *sbuf, unsigned int npixels)) 187 size_t stmp_off = round_up(dbuf_len, ARCH_KMALLOC_MINALIGN); /* for sbuf alignment */ 191 const void *sbuf; local 209 sbuf = memcpy(stmp, vaddr, sbuf_len); 211 sbuf 136 __drm_fb_xfrm(void *dst, unsigned long dst_pitch, unsigned long dst_pixsize, const void *vaddr, const struct drm_framebuffer *fb, const struct drm_rect *clip, bool vaddr_cached_hint, struct drm_format_conv_state *state, void (*xfrm_line)(void *dbuf, const void *sbuf, unsigned int npixels)) argument 178 __drm_fb_xfrm_toio(void __iomem *dst, unsigned long dst_pitch, unsigned long dst_pixsize, const void *vaddr, const struct drm_framebuffer *fb, const struct drm_rect *clip, bool vaddr_cached_hint, struct drm_format_conv_state *state, void (*xfrm_line)(void *dbuf, const void *sbuf, unsigned int npixels)) argument 222 drm_fb_xfrm(struct iosys_map *dst, const unsigned int *dst_pitch, const u8 *dst_pixsize, const struct iosys_map *src, const struct drm_framebuffer *fb, const struct drm_rect *clip, bool vaddr_cached_hint, struct drm_format_conv_state *state, void (*xfrm_line)(void *dbuf, const void *sbuf, unsigned int npixels)) argument 301 drm_fb_swab16_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 311 drm_fb_swab32_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 369 drm_fb_xrgb8888_to_rgb332_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 418 drm_fb_xrgb8888_to_rgb565_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 436 drm_fb_xrgb8888_to_rgb565_swab_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 496 drm_fb_xrgb8888_to_xrgb1555_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 548 drm_fb_xrgb8888_to_argb1555_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 601 drm_fb_xrgb8888_to_rgba5551_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 654 drm_fb_xrgb8888_to_rgb888_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 705 drm_fb_xrgb8888_to_argb8888_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 754 drm_fb_xrgb8888_to_abgr8888_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 785 drm_fb_xrgb8888_to_xbgr8888_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 816 drm_fb_xrgb8888_to_xrgb2101010_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 870 drm_fb_xrgb8888_to_argb2101010_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 925 drm_fb_xrgb8888_to_gray8_line(void *dbuf, const void *sbuf, unsigned int pixels) argument 1066 drm_fb_gray8_to_mono_line(void *dbuf, const void *sbuf, unsigned int pixels) argument [all...] |
/linux-master/tools/lib/api/fs/ |
H A D | tracing_path.c | 130 char sbuf[128]; local 173 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf)));
|
/linux-master/fs/ubifs/ |
H A D | recovery.c | 102 void *sbuf, *buf; local 104 sbuf = vmalloc(c->leb_size); 105 if (!sbuf) 108 err = ubifs_leb_read(c, lnum, sbuf, 0, c->leb_size, 0); 114 buf = sbuf; 173 *pbuf = sbuf; 179 vfree(sbuf); 613 * @sbuf: LEB-sized buffer to use 623 int offs, void *sbuf, int jhead) 628 void *buf = sbuf 622 ubifs_recover_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf, int jhead) argument 856 ubifs_recover_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf) argument 912 recover_head(struct ubifs_info *c, int lnum, int offs, void *sbuf) argument 954 ubifs_recover_inl_heads(struct ubifs_info *c, void *sbuf) argument 982 clean_an_unclean_leb(struct ubifs_info *c, struct ubifs_unclean_leb *ucleb, void *sbuf) argument 1075 ubifs_clean_lebs(struct ubifs_info *c, void *sbuf) argument [all...] |
H A D | scan.c | 120 * @sbuf: scan buffer (must be c->leb_size) 126 int offs, void *sbuf) 139 sleb->buf = sbuf; 141 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); 243 * @sbuf: scan buffer (must be of @c->leb_size bytes in size) 255 int offs, void *sbuf, int quiet) 257 void *buf = sbuf + offs; 261 sleb = ubifs_start_scan(c, lnum, offs, sbuf); 125 ubifs_start_scan(const struct ubifs_info *c, int lnum, int offs, void *sbuf) argument 254 ubifs_scan(const struct ubifs_info *c, int lnum, int offs, void *sbuf, int quiet) argument
|
/linux-master/tools/testing/selftests/sync/ |
H A D | sync_test.c | 67 struct stat sbuf; local 70 ret = stat("/sys/kernel/debug/sync/sw_sync", &sbuf);
|
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_sp.c | 97 struct bnxt_qplib_rcfw_sbuf sbuf; local 107 sbuf.size = ALIGN(sizeof(*sb), BNXT_QPLIB_CMDQE_UNITS); 108 sbuf.sb = dma_alloc_coherent(&rcfw->pdev->dev, sbuf.size, 109 &sbuf.dma_addr, GFP_KERNEL); 110 if (!sbuf.sb) 112 sb = sbuf.sb; 113 req.resp_size = sbuf.size / BNXT_QPLIB_CMDQE_UNITS; 114 bnxt_qplib_fill_cmdqmsg(&msg, &req, &resp, &sbuf, sizeof(req), 176 dma_free_coherent(&rcfw->pdev->dev, sbuf 720 struct bnxt_qplib_rcfw_sbuf sbuf; local 803 struct bnxt_qplib_rcfw_sbuf sbuf; local [all...] |
/linux-master/lib/ |
H A D | ref_tracker.c | 90 char *sbuf; local 104 sbuf = kmalloc(STACK_BUF_SIZE, GFP_NOWAIT | __GFP_NOWARN); 108 if (sbuf && !stack_depot_snprint(stack, sbuf, STACK_BUF_SIZE, 4)) 109 sbuf[0] = 0; 111 stats->stacks[i].count, stats->total, sbuf); 119 kfree(sbuf);
|
/linux-master/fs/ |
H A D | statfs.c | 236 static int vfs_ustat(dev_t dev, struct kstatfs *sbuf) argument 243 err = statfs_by_dentry(s->s_root, sbuf); 251 struct kstatfs sbuf; local 252 int err = vfs_ustat(new_decode_dev(dev), &sbuf); 257 tmp.f_tfree = sbuf.f_bfree; 259 tmp.f_tinode = min_t(u64, sbuf.f_ffree, UINT_MAX); 261 tmp.f_tinode = sbuf.f_ffree; 394 struct kstatfs sbuf; local 395 int err = vfs_ustat(new_decode_dev(dev), &sbuf); 400 tmp.f_tfree = sbuf [all...] |
/linux-master/tools/perf/ |
H A D | builtin-buildid-cache.c | 384 char sbuf[STRERR_BUFSIZE]; local 477 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); 495 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); 513 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); 523 str_error_r(errno, sbuf, sizeof(sbuf))); 541 pos->s, str_error_r(errno, sbuf, sizeo [all...] |
H A D | perf.c | 336 char sbuf[STRERR_BUFSIZE]; local 368 str_error_r(errno, sbuf, sizeof(sbuf))); 377 str_error_r(errno, sbuf, sizeof(sbuf))); 463 char sbuf[STRERR_BUFSIZE]; local 575 cmd, str_error_r(errno, sbuf, sizeof(sbuf)));
|
/linux-master/drivers/s390/net/ |
H A D | ctcm_sysfs.c | 79 char *sbuf; local 84 sbuf = kmalloc(2048, GFP_KERNEL); 85 if (sbuf == NULL) 87 p = sbuf; 109 priv->channel[CTCM_WRITE]->netdev->name, sbuf); 110 kfree(sbuf);
|
/linux-master/tools/lib/subcmd/ |
H A D | run-command.c | 33 char sbuf[STRERR_BUFSIZE]; local 114 cmd->dir, str_error_r(errno, sbuf, sizeof(sbuf))); 170 char sbuf[STRERR_BUFSIZE]; local 180 str_error_r(errno, sbuf, sizeof(sbuf)));
|