Searched refs:ops (Results 1 - 25 of 49) sorted by relevance

12

/barrelfish-2018-10-04/lib/libc/xdr/
H A Dxdr_sizeof.c128 struct xdr_ops ops; local
134 ops.x_putlong = x_putlong;
135 ops.x_putbytes = x_putbytes;
136 ops.x_inline = x_inline;
137 ops.x_getpostn = x_getpostn;
138 ops.x_setpostn = x_setpostn;
139 ops.x_destroy = x_destroy;
142 ops.x_getlong = (dummyfunc1) harmless;
143 ops.x_getbytes = (dummyfunc2) harmless;
146 x.x_ops = &ops;
[all...]
/barrelfish-2018-10-04/lib/vfs/
H A Dvfs.c22 struct vfs_ops *ops; member in struct:vfs_mount
146 err = vfs_nfs_mount(uri, &m->st, &m->ops);
151 err = vfs_ramfs_mount(uri, &m->st, &m->ops);
154 err = vfs_blockdevfs_mount(uri, &m->st, &m->ops);
160 err = vfs_fat_mount(uri, &m->st, &m->ops);
166 err = vfs_fat_mount(uri, &m->st, &m->ops);
215 // call fs ops func
216 assert(m->ops->open != NULL);
217 errval_t ret = m->ops->open(m->st, relpath, handle);
244 // call fs ops fun
[all...]
H A Dvfs_backends.h28 errval_t buffer_cache_enable(void **st, struct vfs_ops **ops);
H A Dvfs_blockdevfs_megaraid.c42 errval_t err = h->vsic.ops.flush(&h->vsic, &h->vsa);
44 err = h->vsic.ops.wait(&h->vsic);
69 errval_t err = h->vsic.ops.write(&h->vsic, &h->vsa, mypos, mycount, (void *)buffer);
/barrelfish-2018-10-04/lib/libc/rpc/
H A Dauth_none.c161 static struct auth_ops ops; local
163 /* VARIABLES PROTECTED BY ops_lock: ops */
166 if (ops.ah_nextverf == NULL) {
167 ops.ah_nextverf = authnone_verf;
168 ops.ah_marshal = authnone_marshal;
169 ops.ah_validate = authnone_validate;
170 ops.ah_refresh = authnone_refresh;
171 ops.ah_destroy = authnone_destroy;
174 return (&ops);
H A Dclnt_raw.c281 static struct clnt_ops ops; local
283 /* VARIABLES PROTECTED BY ops_lock: ops */
286 if (ops.cl_call == NULL) {
287 ops.cl_call = clnt_raw_call;
288 ops.cl_abort = clnt_raw_abort;
289 ops.cl_geterr = clnt_raw_geterr;
290 ops.cl_freeres = clnt_raw_freeres;
291 ops.cl_destroy = clnt_raw_destroy;
292 ops.cl_control = clnt_raw_control;
295 return (&ops);
[all...]
H A Dsvc_raw.c251 static struct xp_ops ops; local
254 /* VARIABLES PROTECTED BY ops_lock: ops */
257 if (ops.xp_recv == NULL) {
258 ops.xp_recv = svc_raw_recv;
259 ops.xp_stat = svc_raw_stat;
260 ops.xp_getargs = svc_raw_getargs;
261 ops.xp_reply = svc_raw_reply;
262 ops.xp_freeargs = svc_raw_freeargs;
263 ops.xp_destroy = svc_raw_destroy;
266 xprt->xp_ops = &ops;
[all...]
H A Dauth_unix.c356 static struct auth_ops ops; local
358 /* VARIABLES PROTECTED BY ops_lock: ops */
361 if (ops.ah_nextverf == NULL) {
362 ops.ah_nextverf = authunix_nextverf;
363 ops.ah_marshal = authunix_marshal;
364 ops.ah_validate = authunix_validate;
365 ops.ah_refresh = authunix_refresh;
366 ops.ah_destroy = authunix_destroy;
369 return (&ops);
H A Dauth_des.c483 static struct auth_ops ops; local
485 /* VARIABLES PROTECTED BY ops_lock: ops */
488 if (ops.ah_nextverf == NULL) {
489 ops.ah_nextverf = authdes_nextverf;
490 ops.ah_marshal = authdes_marshal;
491 ops.ah_validate = authdes_validate;
492 ops.ah_refresh = authdes_refresh;
493 ops.ah_destroy = authdes_destroy;
496 return (&ops);
H A Dsvc_vc.c668 static struct xp_ops ops; local
671 /* VARIABLES PROTECTED BY ops_lock: ops, ops2 */
674 if (ops.xp_recv == NULL) {
675 ops.xp_recv = svc_vc_recv;
676 ops.xp_stat = svc_vc_stat;
677 ops.xp_getargs = svc_vc_getargs;
678 ops.xp_reply = svc_vc_reply;
679 ops.xp_freeargs = svc_vc_freeargs;
680 ops.xp_destroy = svc_vc_destroy;
683 xprt->xp_ops = &ops;
691 static struct xp_ops ops; local
[all...]
H A Dclnt_dg.c820 static struct clnt_ops ops; local
824 /* VARIABLES PROTECTED BY ops_lock: ops */
829 if (ops.cl_call == NULL) {
830 ops.cl_call = clnt_dg_call;
831 ops.cl_abort = clnt_dg_abort;
832 ops.cl_geterr = clnt_dg_geterr;
833 ops.cl_freeres = clnt_dg_freeres;
834 ops.cl_destroy = clnt_dg_destroy;
835 ops.cl_control = clnt_dg_control;
839 return (&ops);
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Dcdev.h48 const struct file_operations *ops; member in struct:linux_cdev
81 cdev_init(struct linux_cdev *cdev, const struct file_operations *ops) argument
85 cdev->ops = ops;
H A Dmiscdevice.h59 misc->cdev->ops = misc->fops;
/barrelfish-2018-10-04/lib/tenaciousd/
H A Dqueue.c51 errval_t err = queue->vsic->ops.read(queue->vsic, queue->vsa, offset,
54 err = queue->vsic->ops.wait(queue->vsic);
79 err = queue->vsic->ops.read(queue->vsic, queue->vsa,
84 err = queue->vsic->ops.wait(queue->vsic);
121 errval_t err = vsic->ops.read(vsic, vsa, 0,
124 err = vsic->ops.wait(vsic);
163 err = vsic->ops.write(vsic, vsa, 0, sizeof(struct queue_header), header);
165 err = vsic->ops.flush(vsic, vsa);
167 err = vsic->ops.wait(vsic);
180 errval_t err = queue->vsic->ops
[all...]
H A Dlog.c48 errval_t err = log->vsic->ops.read(log->vsic, log->vsa, offset,
51 err = log->vsic->ops.wait(log->vsic);
70 err = log->vsic->ops.read(log->vsic, log->vsa,
75 err = log->vsic->ops.wait(log->vsic);
104 errval_t err = vsic->ops.read(vsic, vsa, 0,
107 err = vsic->ops.wait(vsic);
141 err = vsic->ops.write(vsic, vsa, 0, sizeof(struct log_header), header);
143 err = vsic->ops.flush(vsic, vsa);
145 err = vsic->ops.wait(vsic);
157 errval_t err = log->vsic->ops
[all...]
/barrelfish-2018-10-04/usr/drivers/megaraid/
H A Dmain.c50 err = vsic.ops.write(&vsic, &vsa, 0, BUF_SIZE, buf);
52 err = vsic.ops.flush(&vsic, &vsa);
55 err = vsic.ops.wait(&vsic);
H A Dvsic_vfs.c96 errval_t err = vsic.ops.write(&vsic, &vsa, mypos, mycount, (void *)mybuf);
117 errval_t err = vsic.ops.flush(&vsic, &vsa);
119 err = vsic.ops.wait(&vsic);
/barrelfish-2018-10-04/include/storage/
H A Dvsic.h36 struct storage_vsic_ops ops; member in struct:storage_vsic
/barrelfish-2018-10-04/usr/drivers/e10k/
H A De10k_queue.h49 struct e10k_queue_ops ops; member in struct:e10k_queue
56 uint32_t* tx_hwb, void* rx, size_t rx_size, struct e10k_queue_ops* ops,
75 q->ops = *ops;
219 return q->ops.update_txtail(q->opaque, q->tx_tail);
385 return q->ops.update_rxtail(q->opaque, q->rx_tail);
55 e10k_queue_init(void* tx, size_t tx_size, uint32_t* tx_hwb, void* rx, size_t rx_size, struct e10k_queue_ops* ops, void* opaque) argument
/barrelfish-2018-10-04/lib/bulk_transfer/backends/net/
H A De10k_queue.h51 struct e10k_queue_ops ops; member in struct:e10k_queue
58 uint32_t* tx_hwb, void* rx, size_t rx_size, struct e10k_queue_ops* ops,
78 q->ops = *ops;
197 return q->ops.update_txtail(q->opaque, q->tx_tail);
388 return q->ops.update_rxtail(q->opaque, q->rx_tail);
57 e10k_queue_init(void* tx, size_t tx_size, uint32_t* tx_hwb, void* rx, size_t rx_size, struct e10k_queue_ops* ops, void* opaque) argument
/barrelfish-2018-10-04/usr/bench/tenaciousd_bench/
H A Dtenaciousd_bench.c51 err = vsic.ops.wait(&vsic);
/barrelfish-2018-10-04/include/vm/
H A Ddevice_pager.c121 cdev_pager_allocate(void *handle, enum obj_type tp, struct cdev_pager_ops *ops, argument
140 if (ops->cdev_pg_ctor(handle, size, prot, foff, cred, &color) != 0)
160 object1->un_pager.devp.ops = ops;
240 object->un_pager.devp.ops->cdev_pg_dtor(object->un_pager.devp.dev);
268 error = object->un_pager.devp.ops->cdev_pg_fault(object,
H A Dvm_pager.c229 struct pagerops *ops; local
231 ops = pagertab[type];
232 if (ops)
233 ret = (*ops->pgo_alloc) (handle, size, prot, off, cred);
/barrelfish-2018-10-04/usr/drivers/solarflare/
H A Dhw_queue.h70 struct sfn5122f_queue_ops ops; member in struct:sfn5122f_queue
111 struct sfn5122f_queue_ops* ops,
146 q -> ops = *ops;
233 return q->ops.update_txtail(q, q->tx_tail);
239 return q->ops.update_rxtail(q, q->rx_tail);
105 sfn5122f_queue_init(void* tx, size_t tx_size, void* rx, size_t rx_size, void* ev, size_t ev_size, struct sfn5122f_queue_ops* ops, bool userspace) argument
/barrelfish-2018-10-04/lib/devif/backends/net/e10k/
H A De10k_queue.h107 struct e10k_queue_ops ops; member in struct:e10k_queue
117 struct e10k_queue_ops* ops)
134 q->ops = *ops;
400 return q->ops.update_txtail(q, q->tx_tail);
638 return q->ops.update_rxtail(q, q->rx_tail);
115 e10k_queue_init(struct e10k_queue* q, void* tx, size_t tx_size, uint32_t* tx_hwb, void* rx, size_t rx_size, struct e10k_queue_ops* ops) argument

Completed in 257 milliseconds

12