Lines Matching defs:ctx
103 static zx_status_t gpt_ioctl(void* ctx, uint32_t op, const void* cmd, size_t cmdlen,
105 gptpart_device_t* device = ctx;
145 static void gpt_query(void* ctx, block_info_t* bi, size_t* bopsz) {
146 gptpart_device_t* gpt = ctx;
151 static void gpt_queue(void* ctx, block_op_t* bop) {
152 gptpart_device_t* gpt = ctx;
178 gpt->bp.ops->queue(gpt->bp.ctx, bop);
181 static void gpt_unbind(void* ctx) {
182 gptpart_device_t* device = ctx;
186 static void gpt_release(void* ctx) {
187 gptpart_device_t* device = ctx;
191 static zx_off_t gpt_get_size(void* ctx) {
192 gptpart_device_t* dev = ctx;
232 gpt->bp.ops->queue(gpt->bp.ctx, bop);
259 bp.ops->query(bp.ctx, &block_info, &block_op_size);
291 bp.ops->queue(bp.ctx, bop);
327 bp.ops->queue(bp.ctx, bop);
407 .ctx = device,
434 static zx_status_t gpt_bind(void* ctx, zx_device_t* parent) {
455 .ctx = device,