/external/fio/ |
D | fifo.c | 28 struct fifo *fifo_alloc(unsigned int size) in fifo_alloc() 30 struct fifo *fifo; in fifo_alloc() local 32 fifo = malloc(sizeof(struct fifo)); in fifo_alloc() 33 if (!fifo) in fifo_alloc() 36 fifo->buffer = malloc(size); in fifo_alloc() 37 fifo->size = size; in fifo_alloc() 38 fifo->in = fifo->out = 0; in fifo_alloc() 40 return fifo; in fifo_alloc() 43 void fifo_free(struct fifo *fifo) in fifo_free() argument 45 free(fifo->buffer); in fifo_free() [all …]
|
D | fifo.h | 25 struct fifo { struct 32 struct fifo *fifo_alloc(unsigned int); argument 33 unsigned int fifo_put(struct fifo *, void *, unsigned int); 34 unsigned int fifo_get(struct fifo *, void *, unsigned int); 35 void fifo_free(struct fifo *); 37 static inline unsigned int fifo_len(struct fifo *fifo) in fifo_len() argument 39 return fifo->in - fifo->out; in fifo_len() 42 static inline unsigned int fifo_room(struct fifo *fifo) in fifo_room() argument 44 return fifo->size - fifo->in + fifo->out; in fifo_room()
|
D | blktrace.c | 19 static int refill_fifo(struct thread_data *td, struct fifo *fifo, int fd) in refill_fifo() argument 26 if (total > fifo_room(fifo)) in refill_fifo() 27 total = fifo_room(fifo); in refill_fifo() 36 ret = fifo_put(fifo, buf, ret); in refill_fifo() 45 static int trace_fifo_get(struct thread_data *td, struct fifo *fifo, int fd, in trace_fifo_get() argument 48 if (fifo_len(fifo) < len) { in trace_fifo_get() 49 int ret = refill_fifo(td, fifo, fd); in trace_fifo_get() 55 return fifo_get(fifo, buf, len); in trace_fifo_get() 61 static int discard_pdu(struct thread_data *td, struct fifo *fifo, int fd, in discard_pdu() argument 68 return trace_fifo_get(td, fifo, fd, NULL, t->pdu_len); in discard_pdu() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_fifo.h | 42 struct util_fifo *fifo; in u_fifo_create() local 43 fifo = MALLOC(sizeof(*fifo) + size * sizeof(void*)); in u_fifo_create() 45 fifo->head = 0; in u_fifo_create() 46 fifo->tail = 0; in u_fifo_create() 47 fifo->num = 0; in u_fifo_create() 48 fifo->size = size; in u_fifo_create() 50 return fifo; in u_fifo_create() 54 u_fifo_add(struct util_fifo *fifo, void *ptr) in u_fifo_add() argument 56 void **array = (void**)&fifo[1]; in u_fifo_add() 57 if (fifo->num >= fifo->size) in u_fifo_add() [all …]
|
/external/libnl/lib/route/sch/ |
D | fifo.c | 59 struct rtnl_fifo *fifo; in fifo_msg_parser() local 65 fifo = fifo_alloc(qdisc); in fifo_msg_parser() 66 if (!fifo) in fifo_msg_parser() 70 fifo->qf_limit = opt->limit; in fifo_msg_parser() 71 fifo->qf_mask = SCH_FIFO_ATTR_LIMIT; in fifo_msg_parser() 83 struct rtnl_fifo *fifo = fifo_qdisc(qdisc); in pfifo_dump_line() local 85 if (fifo) in pfifo_dump_line() 86 nl_dump(p, " limit %u packets", fifo->qf_limit); in pfifo_dump_line() 91 struct rtnl_fifo *fifo = fifo_qdisc(qdisc); in bfifo_dump_line() local 93 if (fifo) { in bfifo_dump_line() [all …]
|
/external/libvncserver/x11vnc/misc/ |
D | desktop.cgi | 1056 my $fifo = `/bin/mktemp /tmp/desktop.cgi.XXXXXX`; 1057 chomp $fifo; 1059 if (! -e $fifo || ! -o $fifo || -l $fifo) { 1060 unlink $fifo; 1073 $use_fifo = sprintf($use_fifo, $fifo); 1076 system("umask 077; rm -f $fifo; $use_fifo; chmod 600 $fifo"); 1078 if (!chmod 0600, $fifo) { 1080 unlink $fifo; 1084 if (! -o $fifo || ! -p $fifo || -l $fifo) { 1086 unlink $fifo; [all …]
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_screen.c | 329 struct nv04_fifo *fifo; in nv30_screen_create() local 390 fifo = screen->base.channel->data; in nv30_screen_create() 447 ret = nouveau_bo_wrap(screen->base.device, fifo->notify, &screen->notify); in nv30_screen_create() 462 PUSH_DATA (push, fifo->vram); /* TEXTURE0 */ in nv30_screen_create() 463 PUSH_DATA (push, fifo->gart); /* TEXTURE1 */ in nv30_screen_create() 464 PUSH_DATA (push, fifo->vram); /* COLOR1 */ in nv30_screen_create() 466 PUSH_DATA (push, fifo->vram); /* COLOR0 */ in nv30_screen_create() 467 PUSH_DATA (push, fifo->vram); /* ZETA */ in nv30_screen_create() 468 PUSH_DATA (push, fifo->vram); /* VTXBUF0 */ in nv30_screen_create() 469 PUSH_DATA (push, fifo->gart); /* VTXBUF1 */ in nv30_screen_create() [all …]
|
D | nv30_transfer.c | 405 struct nv04_fifo *fifo = push->channel->data; in nv30_transfer_rect_sifm() local 439 PUSH_RELOC(push, dst->bo, 0, NOUVEAU_BO_OR, fifo->vram, fifo->gart); in nv30_transfer_rect_sifm() 440 PUSH_RELOC(push, dst->bo, 0, NOUVEAU_BO_OR, fifo->vram, fifo->gart); in nv30_transfer_rect_sifm() 450 PUSH_RELOC(push, dst->bo, 0, NOUVEAU_BO_OR, fifo->vram, fifo->gart); in nv30_transfer_rect_sifm() 460 PUSH_RELOC(push, src->bo, 0, NOUVEAU_BO_OR, fifo->vram, fifo->gart); in nv30_transfer_rect_sifm() 502 struct nv04_fifo *fifo = push->channel->data; in nv30_transfer_rect_m2mf() local 512 PUSH_DATA (push, (src->domain == NOUVEAU_BO_VRAM) ? fifo->vram : fifo->gart); in nv30_transfer_rect_m2mf() 513 PUSH_DATA (push, (dst->domain == NOUVEAU_BO_VRAM) ? fifo->vram : fifo->gart); in nv30_transfer_rect_m2mf() 692 struct nv04_fifo *fifo = nv->screen->channel->data; in nv30_transfer_copy_data() local 704 PUSH_DATA (push, (s_dom == NOUVEAU_BO_VRAM) ? fifo->vram : fifo->gart); in nv30_transfer_copy_data() [all …]
|
/external/e2fsprogs/tests/f_filetype/ |
D | expect.1 | 2 Special (device/socket/fifo/symlink) file (inode 14) has immutable 5 Special (device/socket/fifo/symlink) file (inode 15) has immutable 8 Special (device/socket/fifo/symlink) file (inode 16) has immutable 11 Special (device/socket/fifo/symlink) file (inode 17) has immutable 20 Setting filetype for entry 'fifo' in / (2) to 5.
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv04_context.c | 82 struct nv04_fifo *fifo = hw->chan->data; in nv04_hwctx_init() local 88 PUSH_DATA (push, fifo->vram); in nv04_hwctx_init() 89 PUSH_DATA (push, fifo->vram); in nv04_hwctx_init() 95 PUSH_DATA (push, fifo->vram); in nv04_hwctx_init() 96 PUSH_DATA (push, fifo->gart); in nv04_hwctx_init() 103 PUSH_DATA (push, fifo->vram); in nv04_hwctx_init() 104 PUSH_DATA (push, fifo->gart); in nv04_hwctx_init()
|
D | nv04_surface.c | 206 struct nv04_fifo *fifo = hw->chan->data; in nv04_surface_copy_swizzle() local 234 PUSH_DATA (push, fifo->vram); in nv04_surface_copy_swizzle() 242 PUSH_RELOC(push, src->bo, 0, NOUVEAU_BO_OR, fifo->vram, fifo->gart); in nv04_surface_copy_swizzle() 286 struct nv04_fifo *fifo = hw->chan->data; in nv04_surface_copy_m2mf() local 298 PUSH_RELOC(push, src->bo, 0, NOUVEAU_BO_OR, fifo->vram, fifo->gart); in nv04_surface_copy_m2mf() 299 PUSH_RELOC(push, dst->bo, 0, NOUVEAU_BO_OR, fifo->vram, fifo->gart); in nv04_surface_copy_m2mf() 434 struct nv04_fifo *fifo = hw->chan->data; in nv04_surface_fill() local 441 PUSH_RELOC(push, dst->bo, 0, NOUVEAU_BO_OR, fifo->vram, fifo->gart); in nv04_surface_fill() 442 PUSH_RELOC(push, dst->bo, 0, NOUVEAU_BO_OR, fifo->vram, fifo->gart); in nv04_surface_fill()
|
D | nv20_context.c | 101 struct nv04_fifo *fifo = hw->chan->data; in nv20_hwctx_init() local 109 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init() 110 PUSH_DATA (push, fifo->gart); in nv20_hwctx_init() 112 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init() 113 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init() 115 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init() 116 PUSH_DATA (push, fifo->gart); in nv20_hwctx_init() 173 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init() 175 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init()
|
D | nv10_context.c | 205 struct nv04_fifo *fifo = hw->chan->data; in nv10_hwctx_init() local 214 PUSH_DATA (push, fifo->vram); in nv10_hwctx_init() 215 PUSH_DATA (push, fifo->gart); in nv10_hwctx_init() 216 PUSH_DATA (push, fifo->gart); in nv10_hwctx_init() 218 PUSH_DATA (push, fifo->vram); in nv10_hwctx_init() 219 PUSH_DATA (push, fifo->vram); in nv10_hwctx_init() 250 PUSH_DATA (push, fifo->vram); in nv10_hwctx_init() 251 PUSH_DATA (push, fifo->vram); in nv10_hwctx_init()
|
/external/fio/t/ |
D | btrace2fio.c | 172 static int refill_fifo(struct fifo *fifo, int fd) in refill_fifo() argument 179 if (total > fifo_room(fifo)) in refill_fifo() 180 total = fifo_room(fifo); in refill_fifo() 189 ret = fifo_put(fifo, buf, ret); in refill_fifo() 197 static int trace_fifo_get(struct fifo *fifo, int fd, void *buf, in trace_fifo_get() argument 200 if (fifo_len(fifo) < len) { in trace_fifo_get() 201 int ret = refill_fifo(fifo, fd); in trace_fifo_get() 207 return fifo_get(fifo, buf, len); in trace_fifo_get() 213 static int discard_pdu(struct fifo *fifo, int fd, struct blk_io_trace *t) in discard_pdu() argument 218 return trace_fifo_get(fifo, fd, NULL, t->pdu_len); in discard_pdu() [all …]
|
/external/toybox/tests/ |
D | find.test | 8 mkfifo fifo 9 ln -s fifo link
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_screen.c | 330 struct nv04_fifo *fifo; in nv50_screen_init_hwctx() local 333 fifo = (struct nv04_fifo *)screen->base.channel->data; in nv50_screen_init_hwctx() 339 PUSH_DATA (push, fifo->vram); in nv50_screen_init_hwctx() 340 PUSH_DATA (push, fifo->vram); in nv50_screen_init_hwctx() 346 PUSH_DATA (push, fifo->vram); in nv50_screen_init_hwctx() 347 PUSH_DATA (push, fifo->vram); in nv50_screen_init_hwctx() 348 PUSH_DATA (push, fifo->vram); in nv50_screen_init_hwctx() 368 PUSH_DATA(push, fifo->vram); in nv50_screen_init_hwctx() 371 PUSH_DATA(push, fifo->vram); in nv50_screen_init_hwctx()
|
/external/libdrm/nouveau/ |
D | pushbuf.c | 316 struct nouveau_fifo *fifo = chan->data; in pushbuf_submit() local 330 req.channel = fifo->channel; in pushbuf_submit() 343 pushbuf_dump(krec, krec_id++, fifo->channel); in pushbuf_submit() 361 pushbuf_dump(krec, krec_id++, fifo->channel); in pushbuf_submit() 538 struct nouveau_fifo *fifo = chan->data; in nouveau_pushbuf_new() local 550 req.channel = fifo->channel; in nouveau_pushbuf_new() 579 if (fifo->pushbuf & NOUVEAU_GEM_DOMAIN_GART) { in nouveau_pushbuf_new() 583 if (fifo->pushbuf & NOUVEAU_GEM_DOMAIN_VRAM) { in nouveau_pushbuf_new()
|
/external/e2fsprogs/tests/f_badsymlinks/ |
D | expect.1 | 2 Special (device/socket/fifo/symlink) file (inode 18) has immutable 10 Special (device/socket/fifo/symlink) file (inode 20) has immutable
|
/external/linux-tools-perf/src/tools/perf/Documentation/ |
D | perf-evlist.txt | 21 Input file name. (default: perf.data unless stdin is a fifo)
|
D | perf-kmem.txt | 26 Select the input file (default: perf.data unless stdin is a fifo)
|
D | perf-buildid-list.txt | 29 Input file name. (default: perf.data unless stdin is a fifo)
|
D | perf-timechart.txt | 30 Select the input file (default: perf.data unless stdin is a fifo)
|
D | perf-lock.txt | 35 Input file name. (default: perf.data unless stdin is a fifo)
|
D | perf-sched.txt | 43 Input file name. (default: perf.data unless stdin is a fifo)
|
/external/e2fsprogs/tests/f_orphan_dotdot_ft/ |
D | expect.1 | 2 Special (device/socket/fifo) inode 12 has non-zero size. Fix? yes
|