Searched defs:sg (Results 1 - 24 of 24) sorted by relevance

/external/qemu/
H A Ddma.h24 ScatterGatherEntry *sg; member in struct:__anon10748
36 QEMUSGList *sg, uint64_t sector,
39 QEMUSGList *sg, uint64_t sector,
H A Ddma-helpers.c15 qsg->sg = qemu_malloc(alloc_hint * sizeof(ScatterGatherEntry));
26 qsg->sg = qemu_realloc(qsg->sg, qsg->nalloc * sizeof(ScatterGatherEntry));
28 qsg->sg[qsg->nsg].base = base;
29 qsg->sg[qsg->nsg].len = len;
36 qemu_free(qsg->sg);
43 QEMUSGList *sg; member in struct:__anon10746
93 if (dbs->sg_cur_index == dbs->sg->nsg || ret < 0) {
100 while (dbs->sg_cur_index < dbs->sg->nsg) {
101 cur_addr = dbs->sg
147 dma_bdrv_io( BlockDriverState *bs, QEMUSGList *sg, uint64_t sector_num, BlockDriverCompletionFunc *cb, void *opaque, int is_write) argument
172 dma_bdrv_read(BlockDriverState *bs, QEMUSGList *sg, uint64_t sector, void (*cb)(void *opaque, int ret), void *opaque) argument
179 dma_bdrv_write(BlockDriverState *bs, QEMUSGList *sg, uint64_t sector, void (*cb)(void *opaque, int ret), void *opaque) argument
[all...]
H A Dblock_int.h150 int sg; /* if true, the device is a /dev/sg* */ member in struct:BlockDriverState
/external/valgrind/main/drd/
H A Ddrd_segment.h64 static int DRD_(sg_get_refcnt)(const Segment* const sg);
65 Segment* DRD_(sg_get)(Segment* const sg);
66 void DRD_(sg_put)(Segment* const sg);
67 static struct bitmap* DRD_(sg_bm)(Segment* const sg);
69 void DRD_(sg_print)(Segment* const sg);
79 static __inline__ int DRD_(sg_get_refcnt)(const Segment* const sg) argument
82 tl_assert(sg);
85 return sg->refcnt;
89 static __inline__ struct bitmap* DRD_(sg_bm)(Segment* const sg) argument
92 tl_assert(sg);
[all...]
H A Ddrd_hb.c44 Segment* sg; // Segment created before most recent member in struct:hb_thread_info
74 p->sg = 0;
83 DRD_(sg_put)(p->sg);
188 DRD_(thread_get_latest_segment)(&q->sg, tid);
220 tl_assert(q->sg);
221 DRD_(vc_combine)(&DRD_(g_threadinfo)[tid].last->vc, &q->sg->vc);
H A Ddrd_segment.c50 * Initialize the memory 'sg' points at.
58 static void sg_init(Segment* const sg, argument
65 tl_assert(sg);
72 sg->next = 0;
73 sg->prev = 0;
74 sg->tid = created;
75 sg->refcnt = 1;
78 sg->stacktrace = VG_(record_ExeContext)(vg_created, 0);
80 sg->stacktrace = 0;
83 DRD_(vc_copy)(&sg
101 sg_cleanup(Segment* const sg) argument
113 Segment* sg; local
126 sg_delete(Segment* const sg) argument
146 sg_get(Segment* const sg) argument
158 sg_put(Segment* const sg) argument
212 sg_print(Segment* const sg) argument
[all...]
H A Ddrd_semaphore.c52 static void drd_segment_push(struct semaphore_info* p, Segment* sg) argument
56 tl_assert(sg);
57 n = VG_(addToXA)(p->last_sem_post_seg, &sg);
62 tl_assert(*(Segment**)VG_(indexXA)(p->last_sem_post_seg, n) == sg);
69 Segment* sg; local
76 sg = 0;
79 sg = *(Segment**)VG_(indexXA)(p->last_sem_post_seg, sz - 1);
80 tl_assert(sg);
83 return sg;
110 p->last_sem_post_seg = VG_(newXA)(VG_(malloc), "drd.sg
120 Segment* sg; local
175 Segment* sg; local
253 Segment* sg; local
350 Segment* sg; local
404 Segment* sg; local
[all...]
H A Ddrd_barrier.c46 Segment* sg; // Segment of the last pthread_barrier() call member in struct:barrier_thread_info
88 p->sg = NULL;
101 DRD_(sg_put)(p->sg);
389 DRD_(thread_get_latest_segment)(&q->sg, tid);
461 DRD_(thread_get_latest_segment)(&q->sg, tid);
482 tl_assert(r->sg);
484 &r->sg->vc);
H A Ddrd_thread.c50 static void thread_append_segment(const DrdThreadId tid, Segment* const sg);
51 static void thread_discard_segment(const DrdThreadId tid, Segment* const sg);
488 Segment* sg; local
494 for (sg = DRD_(g_threadinfo)[tid].last; sg; sg = sg_prev)
496 sg_prev = sg->prev;
497 sg->prev = 0;
498 sg->next = 0;
499 DRD_(sg_put)(sg);
737 thread_append_segment(const DrdThreadId tid, Segment* const sg) argument
764 thread_discard_segment(const DrdThreadId tid, Segment* const sg) argument
803 thread_get_latest_segment(Segment** sg, const DrdThreadId tid) argument
900 Segment* sg; local
954 Segment* sg; local
1007 Segment* sg; local
1118 thread_combine_vc_sync(DrdThreadId tid, const Segment* sg) argument
1163 thread_new_segment_and_combine_vc(DrdThreadId tid, const Segment* sg) argument
[all...]
/external/kernel-headers/original/asm-arm/
H A Ddma-mapping.h229 * @sg: list of buffers
250 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, argument
255 for (i = 0; i < nents; i++, sg++) {
258 sg->dma_address = page_to_dma(dev, sg->page) + sg->offset;
259 virt = page_address(sg->page) + sg->offset;
262 consistent_sync(virt, sg->length, dir);
274 * @sg
284 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument
349 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument
362 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument
[all...]
/external/kernel-headers/original/asm-x86/
H A Ddma-mapping_32.h41 struct scatterlist *sg; local
47 for_each_sg(sglist, sg, nents, i) {
48 BUG_ON(!sg_page(sg));
50 sg->dma_address = sg_phys(sg);
74 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, argument
109 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, argument
115 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, argument
/external/skia/src/core/
H A DSkBlitRow_D16.cpp121 int sg = SkGetPackedG32(c); local
124 sg = SkDITHER_G32To565(sg, dither);
129 SkAlphaBlend(sg, SkGetPackedG16(d), scale),
152 unsigned sg = SkGetPackedG32(c); local
155 sg = SkDITHER_G32_FOR_565(sg, d);
158 uint32_t src_expanded = (sg << 24) | (sr << 13) | (sb << 2);
189 int sg = SkGetPackedG32(c); local
192 sg
[all...]
/external/kernel-headers/original/linux/mmc/
H A Dmmc.h88 struct scatterlist *sg; /* I/O scatter list */ member in struct:mmc_data
/external/skia/include/core/
H A DSkDither.h79 unsigned sg = SkGetPackedG32(c); local
82 sg = SkDITHER_G32_FOR_565(sg, dither);
85 return SkPackARGB32(sa, sr, sg, sb);
93 unsigned sg = SkGetPackedG32(c); local
96 sg = SkDITHER_G32_FOR_565(sg, dither);
99 return SkPackARGB32(0xFF, sr, sg, sb);
117 unsigned sg = SkGetPackedG32(c); local
120 sg
132 unsigned sg = SkGetPackedG32(c); local
[all...]
H A DSkColorPriv.h388 unsigned sg = SkPacked32ToG16(c); local
392 sg = (sg << 5) | (sg >> 1);
394 return (sr << 11) | (sg << 21) | (sb << 0);
402 unsigned sg = SkGetPackedG32(src); local
412 dg = (sg + SkMul16ShiftRound(dg, isa, SK_G16_BITS)) >> (8 - SK_G16_BITS);
600 unsigned sg = SkG4444ToG565(SkGetPackedG4444(s)); local
603 // To avoid overflow, we have to clear the low bit of the synthetic sg
607 sg
[all...]
/external/skia/src/effects/
H A DSkArithmeticMode.cpp83 int sg = SkGetPackedG32(sc); local
88 sg = SkUnPreMultiply::ApplyScale(scale, sg);
104 g = arith(k1, k2, k3, k4, sg, dg);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant-antlr.jar ... void setGlib (java.lang.String) String superGrammar String sg public void setGlib (java.io.File) java. ...
/external/webkit/Source/WebCore/css/
H A DMediaQueryEvaluator.cpp278 FloatRect sg = screenRect(frame->page()->mainFrame()->view()); local
282 return v != 0 && compareValue(static_cast<int>(sg.width()) * v, static_cast<int>(sg.height()) * h, op);
312 FloatRect sg = screenRect(frame->page()->mainFrame()->view()); local
314 return value->isPrimitiveValue() && compareValue(static_cast<int>(sg.height()), static_cast<CSSPrimitiveValue*>(value)->computeLengthInt(style, rootStyle), op);
324 FloatRect sg = screenRect(frame->page()->mainFrame()->view()); local
326 return value->isPrimitiveValue() && compareValue(static_cast<int>(sg.width()), static_cast<CSSPrimitiveValue*>(value)->computeLengthInt(style, rootStyle), op);
/external/skia/src/opts/
H A DSkBlitRow_opts_arm.cpp389 int sg = SkGetPackedG32(c); local
392 sg = SkDITHER_G32To565(sg, dither);
397 SkAlphaBlend(sg, SkGetPackedG16(d), scale),
1471 uint8x8_t sr, sg, sb, sa, d; local
1498 unsigned sg = SkGetPackedG32(c); local
1501 sg = SkDITHER_G32_FOR_565(sg, d);
1504 uint32_t src_expanded = (sg << 24) | (sr << 13) | (sb << 2);
1533 sr = d0; sg
1665 unsigned sg = SkGetPackedG32(c); local
1712 uint8x8_t sr, sg, sb, sa; local
[all...]
/external/kernel-headers/original/linux/
H A Dusb.h1007 struct scatterlist *sg, int nents);
1010 struct scatterlist *sg, int n_hw_ents);
1013 struct scatterlist *sg, int n_hw_ents);
1079 struct scatterlist *sg; member in struct:usb_sg_request
1094 struct scatterlist *sg,
/external/libpng/
H A Dpngrtran.c1171 int sg = 8 - png_ptr->sig_bit.green; local
1176 if (sg < 0 || sg > 8)
1177 sg = 0;
1183 png_ptr->palette[i].green >>= sg;
/external/qemu/distrib/libpng-1.2.19/
H A Dpngrtran.c1088 int sg = 8 - png_ptr->sig_bit.green; local
1093 if (sg < 0 || sg > 8)
1094 sg = 0;
1100 png_ptr->palette[i].green >>= sg;
/external/skia/src/ports/
H A DSkFontHost_mac_coretext.cpp1138 int sg = (src >> 8) & 0xFF; local
1145 int rg = lerpScale(dg, sg, scaleG);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 338 milliseconds