Home
last modified time | relevance | path

Searched refs:transfer (Results 1 – 25 of 534) sorted by relevance

12345678910>>...22

/external/valgrind/main/coregrind/m_gdbserver/
Dvalgrind-low-ppc64.c189 case 0: VG_(transfer) (&ppc64->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
190 case 1: VG_(transfer) (&ppc64->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
191 case 2: VG_(transfer) (&ppc64->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
192 case 3: VG_(transfer) (&ppc64->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
193 case 4: VG_(transfer) (&ppc64->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
194 case 5: VG_(transfer) (&ppc64->guest_GPR5, buf, dir, size, mod); break; in transfer_register()
195 case 6: VG_(transfer) (&ppc64->guest_GPR6, buf, dir, size, mod); break; in transfer_register()
196 case 7: VG_(transfer) (&ppc64->guest_GPR7, buf, dir, size, mod); break; in transfer_register()
197 case 8: VG_(transfer) (&ppc64->guest_GPR8, buf, dir, size, mod); break; in transfer_register()
198 case 9: VG_(transfer) (&ppc64->guest_GPR9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-ppc32.c192 case 0: VG_(transfer) (&ppc32->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
193 case 1: VG_(transfer) (&ppc32->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
194 case 2: VG_(transfer) (&ppc32->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
195 case 3: VG_(transfer) (&ppc32->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
196 case 4: VG_(transfer) (&ppc32->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
197 case 5: VG_(transfer) (&ppc32->guest_GPR5, buf, dir, size, mod); break; in transfer_register()
198 case 6: VG_(transfer) (&ppc32->guest_GPR6, buf, dir, size, mod); break; in transfer_register()
199 case 7: VG_(transfer) (&ppc32->guest_GPR7, buf, dir, size, mod); break; in transfer_register()
200 case 8: VG_(transfer) (&ppc32->guest_GPR8, buf, dir, size, mod); break; in transfer_register()
201 case 9: VG_(transfer) (&ppc32->guest_GPR9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-mips32.c155 case 0: VG_(transfer) (&mips1->guest_r0, buf, dir, size, mod); break; in transfer_register()
156 case 1: VG_(transfer) (&mips1->guest_r1, buf, dir, size, mod); break; in transfer_register()
157 case 2: VG_(transfer) (&mips1->guest_r2, buf, dir, size, mod); break; in transfer_register()
158 case 3: VG_(transfer) (&mips1->guest_r3, buf, dir, size, mod); break; in transfer_register()
159 case 4: VG_(transfer) (&mips1->guest_r4, buf, dir, size, mod); break; in transfer_register()
160 case 5: VG_(transfer) (&mips1->guest_r5, buf, dir, size, mod); break; in transfer_register()
161 case 6: VG_(transfer) (&mips1->guest_r6, buf, dir, size, mod); break; in transfer_register()
162 case 7: VG_(transfer) (&mips1->guest_r7, buf, dir, size, mod); break; in transfer_register()
163 case 8: VG_(transfer) (&mips1->guest_r8, buf, dir, size, mod); break; in transfer_register()
164 case 9: VG_(transfer) (&mips1->guest_r9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-s390x.c135 case 1: VG_(transfer) (&s390x->guest_IA, buf, dir, size, mod); break; in transfer_register()
136 case 2: VG_(transfer) (&s390x->guest_r0, buf, dir, size, mod); break; in transfer_register()
137 case 3: VG_(transfer) (&s390x->guest_r1, buf, dir, size, mod); break; in transfer_register()
138 case 4: VG_(transfer) (&s390x->guest_r2, buf, dir, size, mod); break; in transfer_register()
139 case 5: VG_(transfer) (&s390x->guest_r3, buf, dir, size, mod); break; in transfer_register()
140 case 6: VG_(transfer) (&s390x->guest_r4, buf, dir, size, mod); break; in transfer_register()
141 case 7: VG_(transfer) (&s390x->guest_r5, buf, dir, size, mod); break; in transfer_register()
142 case 8: VG_(transfer) (&s390x->guest_r6, buf, dir, size, mod); break; in transfer_register()
143 case 9: VG_(transfer) (&s390x->guest_r7, buf, dir, size, mod); break; in transfer_register()
144 case 10: VG_(transfer) (&s390x->guest_r8, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-arm.c193 case 0: VG_(transfer) (&arm->guest_R0, buf, dir, size, mod); break; in transfer_register()
194 case 1: VG_(transfer) (&arm->guest_R1, buf, dir, size, mod); break; in transfer_register()
195 case 2: VG_(transfer) (&arm->guest_R2, buf, dir, size, mod); break; in transfer_register()
196 case 3: VG_(transfer) (&arm->guest_R3, buf, dir, size, mod); break; in transfer_register()
197 case 4: VG_(transfer) (&arm->guest_R4, buf, dir, size, mod); break; in transfer_register()
198 case 5: VG_(transfer) (&arm->guest_R5, buf, dir, size, mod); break; in transfer_register()
199 case 6: VG_(transfer) (&arm->guest_R6, buf, dir, size, mod); break; in transfer_register()
200 case 7: VG_(transfer) (&arm->guest_R7, buf, dir, size, mod); break; in transfer_register()
201 case 8: VG_(transfer) (&arm->guest_R8, buf, dir, size, mod); break; in transfer_register()
202 case 9: VG_(transfer) (&arm->guest_R9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-amd64.c165 case 0: VG_(transfer) (&amd64->guest_RAX, buf, dir, size, mod); break; in transfer_register()
166 case 1: VG_(transfer) (&amd64->guest_RBX, buf, dir, size, mod); break; in transfer_register()
167 case 2: VG_(transfer) (&amd64->guest_RCX, buf, dir, size, mod); break; in transfer_register()
168 case 3: VG_(transfer) (&amd64->guest_RDX, buf, dir, size, mod); break; in transfer_register()
169 case 4: VG_(transfer) (&amd64->guest_RSI, buf, dir, size, mod); break; in transfer_register()
170 case 5: VG_(transfer) (&amd64->guest_RDI, buf, dir, size, mod); break; in transfer_register()
171 case 6: VG_(transfer) (&amd64->guest_RBP, buf, dir, size, mod); break; in transfer_register()
172 case 7: VG_(transfer) (&amd64->guest_RSP, buf, dir, size, mod); break; in transfer_register()
173 case 8: VG_(transfer) (&amd64->guest_R8, buf, dir, size, mod); break; in transfer_register()
174 case 9: VG_(transfer) (&amd64->guest_R9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-x86.c132 case 0: VG_(transfer) (&x86->guest_EAX, buf, dir, size, mod); break; in transfer_register()
133 case 1: VG_(transfer) (&x86->guest_ECX, buf, dir, size, mod); break; in transfer_register()
134 case 2: VG_(transfer) (&x86->guest_EDX, buf, dir, size, mod); break; in transfer_register()
135 case 3: VG_(transfer) (&x86->guest_EBX, buf, dir, size, mod); break; in transfer_register()
136 case 4: VG_(transfer) (&x86->guest_ESP, buf, dir, size, mod); break; in transfer_register()
137 case 5: VG_(transfer) (&x86->guest_EBP, buf, dir, size, mod); break; in transfer_register()
138 case 6: VG_(transfer) (&x86->guest_ESI, buf, dir, size, mod); break; in transfer_register()
139 case 7: VG_(transfer) (&x86->guest_EDI, buf, dir, size, mod); break; in transfer_register()
140 case 8: VG_(transfer) (&x86->guest_EIP, buf, dir, size, mod); break; in transfer_register()
150 VG_(transfer) (&eflags, buf, dir, size, mod); break; in transfer_register()
[all …]
/external/dnsmasq/src/
Dtftp.c22 static void free_transfer(struct tftp_transfer *transfer);
25 static ssize_t get_block(char *packet, struct tftp_transfer *transfer);
52 struct tftp_transfer *transfer; in tftp_request() local
144 if (!(transfer = whine_malloc(sizeof(struct tftp_transfer)))) in tftp_request()
147 if ((transfer->sockfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) in tftp_request()
149 free(transfer); in tftp_request()
153 transfer->peer = peer; in tftp_request()
154 transfer->timeout = now + 2; in tftp_request()
155 transfer->backoff = 1; in tftp_request()
156 transfer->block = 1; in tftp_request()
[all …]
/external/libusb/libusb/
Dsync.c36 static void ctrl_transfer_cb(struct libusb_transfer *transfer) in ctrl_transfer_cb() argument
38 int *completed = transfer->user_data; in ctrl_transfer_cb()
40 usbi_dbg("actual_length=%d", transfer->actual_length); in ctrl_transfer_cb()
76 struct libusb_transfer *transfer = libusb_alloc_transfer(0); in libusb_control_transfer() local
81 if (!transfer) in libusb_control_transfer()
86 libusb_free_transfer(transfer); in libusb_control_transfer()
95 libusb_fill_control_transfer(transfer, dev_handle, buffer, in libusb_control_transfer()
97 transfer->flags = LIBUSB_TRANSFER_FREE_BUFFER; in libusb_control_transfer()
98 r = libusb_submit_transfer(transfer); in libusb_control_transfer()
100 libusb_free_transfer(transfer); in libusb_control_transfer()
[all …]
Dlibusb.h708 typedef void (*libusb_transfer_cb_fn)(struct libusb_transfer *transfer);
834 struct libusb_transfer *transfer) in libusb_control_transfer_get_data() argument
836 return transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; in libusb_control_transfer_get_data()
852 struct libusb_transfer *transfer) in libusb_control_transfer_get_setup() argument
854 return (struct libusb_control_setup *) transfer->buffer; in libusb_control_transfer_get_setup()
892 int libusb_submit_transfer(struct libusb_transfer *transfer);
893 int libusb_cancel_transfer(struct libusb_transfer *transfer);
894 void libusb_free_transfer(struct libusb_transfer *transfer);
924 struct libusb_transfer *transfer, libusb_device_handle *dev_handle, in libusb_fill_control_transfer() argument
929 transfer->dev_handle = dev_handle; in libusb_fill_control_transfer()
[all …]
Dio.c1058 static int calculate_timeout(struct usbi_transfer *transfer) in calculate_timeout() argument
1063 __USBI_TRANSFER_TO_LIBUSB_TRANSFER(transfer)->timeout; in calculate_timeout()
1070 usbi_err(ITRANSFER_CTX(transfer), in calculate_timeout()
1083 TIMESPEC_TO_TIMEVAL(&transfer->timeout, &current_time); in calculate_timeout()
1090 static int add_to_flying_list(struct usbi_transfer *transfer) in add_to_flying_list() argument
1093 struct timeval *timeout = &transfer->timeout; in add_to_flying_list()
1094 struct libusb_context *ctx = ITRANSFER_CTX(transfer); in add_to_flying_list()
1102 list_add(&transfer->list, &ctx->flying_transfers); in add_to_flying_list()
1110 list_add_tail(&transfer->list, &ctx->flying_transfers); in add_to_flying_list()
1122 list_add_tail(&transfer->list, &cur->list); in add_to_flying_list()
[all …]
/external/chromium_org/third_party/libusb/src/libusb/
Dsync.c36 static void LIBUSB_CALL sync_transfer_cb(struct libusb_transfer *transfer) in sync_transfer_cb() argument
38 int *completed = transfer->user_data; in sync_transfer_cb()
40 usbi_dbg("actual_length=%d", transfer->actual_length); in sync_transfer_cb()
44 static void sync_transfer_wait_for_completion(struct libusb_transfer *transfer) in sync_transfer_wait_for_completion() argument
46 int r, *completed = transfer->user_data; in sync_transfer_wait_for_completion()
47 struct libusb_context *ctx = HANDLE_CTX(transfer->dev_handle); in sync_transfer_wait_for_completion()
56 libusb_cancel_transfer(transfer); in sync_transfer_wait_for_completion()
94 struct libusb_transfer *transfer = libusb_alloc_transfer(0); in libusb_control_transfer() local
99 if (!transfer) in libusb_control_transfer()
104 libusb_free_transfer(transfer); in libusb_control_transfer()
[all …]
Dlibusb.h1202 typedef void (LIBUSB_CALL *libusb_transfer_cb_fn)(struct libusb_transfer *transfer);
1417 struct libusb_transfer *transfer) in libusb_control_transfer_get_data() argument
1419 return transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; in libusb_control_transfer_get_data()
1435 struct libusb_transfer *transfer) in libusb_control_transfer_get_setup() argument
1437 return (struct libusb_control_setup *)(void *) transfer->buffer; in libusb_control_transfer_get_setup()
1476 int LIBUSB_CALL libusb_submit_transfer(struct libusb_transfer *transfer);
1477 int LIBUSB_CALL libusb_cancel_transfer(struct libusb_transfer *transfer);
1478 void LIBUSB_CALL libusb_free_transfer(struct libusb_transfer *transfer);
1509 struct libusb_transfer *transfer, libusb_device_handle *dev_handle, in libusb_fill_control_transfer() argument
1514 transfer->dev_handle = dev_handle; in libusb_fill_control_transfer()
[all …]
Dio.c1199 static int calculate_timeout(struct usbi_transfer *transfer) in calculate_timeout() argument
1204 USBI_TRANSFER_TO_LIBUSB_TRANSFER(transfer)->timeout; in calculate_timeout()
1211 usbi_err(ITRANSFER_CTX(transfer), in calculate_timeout()
1224 TIMESPEC_TO_TIMEVAL(&transfer->timeout, &current_time); in calculate_timeout()
1233 static int add_to_flying_list(struct usbi_transfer *transfer) in add_to_flying_list() argument
1236 struct timeval *timeout = &transfer->timeout; in add_to_flying_list()
1237 struct libusb_context *ctx = ITRANSFER_CTX(transfer); in add_to_flying_list()
1243 list_add(&transfer->list, &ctx->flying_transfers); in add_to_flying_list()
1249 list_add_tail(&transfer->list, &ctx->flying_transfers); in add_to_flying_list()
1262 list_add_tail(&transfer->list, &cur->list); in add_to_flying_list()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer.c47 struct r600_transfer *transfer = util_slab_alloc(&rctx->pool_transfers); in r600_get_transfer() local
51 transfer->transfer.resource = resource; in r600_get_transfer()
52 transfer->transfer.level = level; in r600_get_transfer()
53 transfer->transfer.usage = usage; in r600_get_transfer()
54 transfer->transfer.box = *box; in r600_get_transfer()
55 transfer->transfer.stride = 0; in r600_get_transfer()
56 transfer->transfer.layer_stride = 0; in r600_get_transfer()
57 transfer->transfer.data = NULL; in r600_get_transfer()
58 transfer->staging = NULL; in r600_get_transfer()
59 transfer->offset = 0; in r600_get_transfer()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
Dr600_buffer.c47 struct r600_transfer *transfer = util_slab_alloc(&rctx->pool_transfers); in r600_get_transfer() local
51 transfer->transfer.resource = resource; in r600_get_transfer()
52 transfer->transfer.level = level; in r600_get_transfer()
53 transfer->transfer.usage = usage; in r600_get_transfer()
54 transfer->transfer.box = *box; in r600_get_transfer()
55 transfer->transfer.stride = 0; in r600_get_transfer()
56 transfer->transfer.layer_stride = 0; in r600_get_transfer()
57 transfer->transfer.data = NULL; in r600_get_transfer()
58 transfer->staging = NULL; in r600_get_transfer()
59 transfer->offset = 0; in r600_get_transfer()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_transfer.c34 struct pipe_transfer transfer; member
45 r300_transfer(struct pipe_transfer* transfer) in r300_transfer() argument
47 return (struct r300_transfer*)transfer; in r300_transfer()
54 struct pipe_transfer *transfer = (struct pipe_transfer*)r300transfer; in r300_copy_from_tiled_texture() local
55 struct pipe_resource *tex = transfer->resource; in r300_copy_from_tiled_texture()
59 tex, transfer->level, &transfer->box); in r300_copy_from_tiled_texture()
66 struct pipe_transfer *transfer = (struct pipe_transfer*)r300transfer; in r300_copy_into_tiled_texture() local
67 struct pipe_resource *tex = transfer->resource; in r300_copy_into_tiled_texture()
69 u_box_origin_2d(transfer->box.width, transfer->box.height, &src_box); in r300_copy_into_tiled_texture()
71 ctx->resource_copy_region(ctx, tex, transfer->level, in r300_copy_into_tiled_texture()
[all …]
Dr300_screen_buffer.c75 struct pipe_transfer *transfer = in r300_buffer_get_transfer() local
78 transfer->resource = resource; in r300_buffer_get_transfer()
79 transfer->level = level; in r300_buffer_get_transfer()
80 transfer->usage = usage; in r300_buffer_get_transfer()
81 transfer->box = *box; in r300_buffer_get_transfer()
82 transfer->stride = 0; in r300_buffer_get_transfer()
83 transfer->layer_stride = 0; in r300_buffer_get_transfer()
84 transfer->data = NULL; in r300_buffer_get_transfer()
89 return transfer; in r300_buffer_get_transfer()
93 struct pipe_transfer *transfer) in r300_buffer_transfer_destroy() argument
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
Dr300_transfer.c34 struct pipe_transfer transfer; member
45 r300_transfer(struct pipe_transfer* transfer) in r300_transfer() argument
47 return (struct r300_transfer*)transfer; in r300_transfer()
54 struct pipe_transfer *transfer = (struct pipe_transfer*)r300transfer; in r300_copy_from_tiled_texture() local
55 struct pipe_resource *tex = transfer->resource; in r300_copy_from_tiled_texture()
59 tex, transfer->level, &transfer->box); in r300_copy_from_tiled_texture()
66 struct pipe_transfer *transfer = (struct pipe_transfer*)r300transfer; in r300_copy_into_tiled_texture() local
67 struct pipe_resource *tex = transfer->resource; in r300_copy_into_tiled_texture()
69 u_box_origin_2d(transfer->box.width, transfer->box.height, &src_box); in r300_copy_into_tiled_texture()
71 ctx->resource_copy_region(ctx, tex, transfer->level, in r300_copy_into_tiled_texture()
[all …]
Dr300_screen_buffer.c75 struct pipe_transfer *transfer = in r300_buffer_get_transfer() local
78 transfer->resource = resource; in r300_buffer_get_transfer()
79 transfer->level = level; in r300_buffer_get_transfer()
80 transfer->usage = usage; in r300_buffer_get_transfer()
81 transfer->box = *box; in r300_buffer_get_transfer()
82 transfer->stride = 0; in r300_buffer_get_transfer()
83 transfer->layer_stride = 0; in r300_buffer_get_transfer()
84 transfer->data = NULL; in r300_buffer_get_transfer()
89 return transfer; in r300_buffer_get_transfer()
93 struct pipe_transfer *transfer) in r300_buffer_transfer_destroy() argument
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_transfer.c19 struct pipe_transfer *transfer = NULL; in u_default_transfer_inline_write() local
34 transfer = pipe->get_transfer(pipe, in u_default_transfer_inline_write()
39 if (transfer == NULL) in u_default_transfer_inline_write()
42 map = pipe_transfer_map(pipe, transfer); in u_default_transfer_inline_write()
59 transfer->stride, /* bytes */ in u_default_transfer_inline_write()
66 map += transfer->layer_stride; in u_default_transfer_inline_write()
73 pipe_transfer_unmap(pipe, transfer); in u_default_transfer_inline_write()
75 if (transfer) in u_default_transfer_inline_write()
76 pipe_transfer_destroy(pipe, transfer); in u_default_transfer_inline_write()
90 struct pipe_transfer *transfer, in u_default_transfer_flush_region() argument
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_transfer.c19 struct pipe_transfer *transfer = NULL; in u_default_transfer_inline_write() local
34 transfer = pipe->get_transfer(pipe, in u_default_transfer_inline_write()
39 if (transfer == NULL) in u_default_transfer_inline_write()
42 map = pipe_transfer_map(pipe, transfer); in u_default_transfer_inline_write()
59 transfer->stride, /* bytes */ in u_default_transfer_inline_write()
66 map += transfer->layer_stride; in u_default_transfer_inline_write()
73 pipe_transfer_unmap(pipe, transfer); in u_default_transfer_inline_write()
75 if (transfer) in u_default_transfer_inline_write()
76 pipe_transfer_destroy(pipe, transfer); in u_default_transfer_inline_write()
90 struct pipe_transfer *transfer, in u_default_transfer_flush_region() argument
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_resource_buffer.c75 struct pipe_transfer *transfer; in svga_buffer_get_transfer() local
77 transfer = CALLOC_STRUCT(pipe_transfer); in svga_buffer_get_transfer()
78 if (transfer == NULL) { in svga_buffer_get_transfer()
82 transfer->resource = resource; in svga_buffer_get_transfer()
83 transfer->level = level; in svga_buffer_get_transfer()
84 transfer->usage = usage; in svga_buffer_get_transfer()
85 transfer->box = *box; in svga_buffer_get_transfer()
156 FREE(transfer); in svga_buffer_get_transfer()
183 FREE(transfer); in svga_buffer_get_transfer()
189 return transfer; in svga_buffer_get_transfer()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c75 struct pipe_transfer *transfer; in svga_buffer_get_transfer() local
77 transfer = CALLOC_STRUCT(pipe_transfer); in svga_buffer_get_transfer()
78 if (transfer == NULL) { in svga_buffer_get_transfer()
82 transfer->resource = resource; in svga_buffer_get_transfer()
83 transfer->level = level; in svga_buffer_get_transfer()
84 transfer->usage = usage; in svga_buffer_get_transfer()
85 transfer->box = *box; in svga_buffer_get_transfer()
156 FREE(transfer); in svga_buffer_get_transfer()
183 FREE(transfer); in svga_buffer_get_transfer()
189 return transfer; in svga_buffer_get_transfer()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
Dr600_buffer.c56 struct pipe_transfer *transfer = util_slab_alloc(&rctx->pool_transfers); in r600_get_transfer() local
58 transfer->resource = resource; in r600_get_transfer()
59 transfer->level = level; in r600_get_transfer()
60 transfer->usage = usage; in r600_get_transfer()
61 transfer->box = *box; in r600_get_transfer()
62 transfer->stride = 0; in r600_get_transfer()
63 transfer->layer_stride = 0; in r600_get_transfer()
64 transfer->data = NULL; in r600_get_transfer()
69 return transfer; in r600_get_transfer()
73 struct pipe_transfer *transfer) in r600_buffer_transfer_map() argument
[all …]

12345678910>>...22