Lines Matching refs:darg
156 door_arg_t darg; in handshake() local
163 if ((err = post_req(&darg, &req, sizeof (picl_reqinit_t), NULL, in handshake()
167 if (darg.rbuf != (char *)&outargs) in handshake()
168 (void) munmap(darg.rbuf, darg.rsize); in handshake()
274 door_arg_t darg; in picl_shutdown() local
284 err = post_req(&darg, &req_fini, sizeof (picl_reqfini_t), in picl_shutdown()
292 if (darg.rbuf != (char *)&outargs) in picl_shutdown()
293 (void) munmap(darg.rbuf, darg.rsize); in picl_shutdown()
304 door_arg_t darg; in picl_wait() local
312 err = trysend_req(&darg, &req_wait, sizeof (picl_reqwait_t), in picl_wait()
318 ret = (picl_service_t *)darg.rbuf; in picl_wait()
320 if (darg.rbuf != (char *)&outargs) in picl_wait()
321 (void) munmap(darg.rbuf, darg.rsize); in picl_wait()
332 door_arg_t darg; in picl_get_root() local
339 err = trysend_req(&darg, &req_root, sizeof (picl_reqroot_t), NULL, in picl_get_root()
344 ret = (picl_service_t *)darg.rbuf; in picl_get_root()
346 if (darg.rbuf != (char *)&outargs) in picl_get_root()
347 (void) munmap(darg.rbuf, darg.rsize); in picl_get_root()
358 door_arg_t darg; in picl_get_propval() local
371 err = trysend_req(&darg, &req_attrval, sizeof (picl_reqattrval_t), in picl_get_propval()
378 ret = (picl_service_t *)darg.rbuf; in picl_get_propval()
384 if (darg.rbuf != (char *)outargs) in picl_get_propval()
385 (void) munmap(darg.rbuf, darg.rsize); in picl_get_propval()
397 door_arg_t darg; in picl_get_propval_by_name() local
411 err = trysend_req(&darg, &req_attrvalbyname, in picl_get_propval_by_name()
418 ret = (picl_service_t *)darg.rbuf; in picl_get_propval_by_name()
424 if (darg.rbuf != (char *)outargs) in picl_get_propval_by_name()
425 (void) munmap(darg.rbuf, darg.rsize); in picl_get_propval_by_name()
436 door_arg_t darg; in picl_set_propval() local
452 err = trysend_req(&darg, inargs, sizeof (picl_reqsetattrval_t) + in picl_set_propval()
458 if (darg.rbuf != (char *)&ret_setattrval) in picl_set_propval()
459 (void) munmap(darg.rbuf, darg.rsize); in picl_set_propval()
471 door_arg_t darg; in picl_set_propval_by_name() local
488 err = trysend_req(&darg, inargs, in picl_set_propval_by_name()
495 if (darg.rbuf != (char *)&ret_setattrvalbyname) in picl_set_propval_by_name()
496 (void) munmap(darg.rbuf, darg.rsize); in picl_set_propval_by_name()
507 door_arg_t darg; in picl_get_propinfo() local
516 err = trysend_req(&darg, &req_attrinfo, in picl_get_propinfo()
523 ret = (picl_service_t *)darg.rbuf; in picl_get_propinfo()
528 if (darg.rbuf != (char *)&outargs) in picl_get_propinfo()
529 (void) munmap(darg.rbuf, darg.rsize); in picl_get_propinfo()
540 door_arg_t darg; in picl_get_first_prop() local
549 err = trysend_req(&darg, &req_firstattr, in picl_get_first_prop()
556 ret = (picl_service_t *)darg.rbuf; in picl_get_first_prop()
558 if (darg.rbuf != (char *)&outargs) in picl_get_first_prop()
559 (void) munmap(darg.rbuf, darg.rsize); in picl_get_first_prop()
570 door_arg_t darg; in picl_get_next_prop() local
580 err = trysend_req(&darg, &req_nextattr, in picl_get_next_prop()
587 ret = (picl_service_t *)darg.rbuf; in picl_get_next_prop()
589 if (darg.rbuf != (char *)&outargs) in picl_get_next_prop()
590 (void) munmap(darg.rbuf, darg.rsize); in picl_get_next_prop()
602 door_arg_t darg; in picl_get_prop_by_name() local
612 err = trysend_req(&darg, &req_attrbyname, in picl_get_prop_by_name()
619 ret = (picl_service_t *)darg.rbuf; in picl_get_prop_by_name()
621 if (darg.rbuf != (char *)&outargs) in picl_get_prop_by_name()
622 (void) munmap(darg.rbuf, darg.rsize); in picl_get_prop_by_name()
635 door_arg_t darg; in picl_get_next_by_row() local
644 err = trysend_req(&darg, &req_attrbyrow, in picl_get_next_by_row()
651 ret = (picl_service_t *)darg.rbuf; in picl_get_next_by_row()
653 if (darg.rbuf != (char *)&outargs) in picl_get_next_by_row()
654 (void) munmap(darg.rbuf, darg.rsize); in picl_get_next_by_row()
667 door_arg_t darg; in picl_get_next_by_col() local
676 err = trysend_req(&darg, (char *)&req_attrbycol, in picl_get_next_by_col()
683 ret = (picl_service_t *)darg.rbuf; in picl_get_next_by_col()
685 if (darg.rbuf != (char *)&outargs) in picl_get_next_by_col()
686 (void) munmap(darg.rbuf, darg.rsize); in picl_get_next_by_col()
786 door_arg_t darg; in picl_get_node_by_path() local
798 err = trysend_req(&darg, &req, sizeof (req), NULL, 0, &out, in picl_get_node_by_path()
804 ret = (picl_service_t *)darg.rbuf; in picl_get_node_by_path()
806 if (darg.rbuf != (char *)&out) in picl_get_node_by_path()
807 (void) munmap(darg.rbuf, darg.rsize); in picl_get_node_by_path()
815 door_arg_t darg; in picl_find_node() local
833 err = trysend_req(&darg, req, sizeof (picl_reqfindnode_t) + valsize, in picl_find_node()
839 ret = (picl_service_t *)darg.rbuf; in picl_find_node()
841 if (darg.rbuf != (char *)&out) in picl_find_node()
842 (void) munmap(darg.rbuf, darg.rsize); in picl_find_node()
849 door_arg_t darg; in picl_get_frutree_parent() local
858 err = trysend_req(&darg, &req, sizeof (req), NULL, 0, &out, in picl_get_frutree_parent()
864 ret = (picl_service_t *)darg.rbuf; in picl_get_frutree_parent()
866 if (darg.rbuf != (char *)&out) in picl_get_frutree_parent()
867 (void) munmap(darg.rbuf, darg.rsize); in picl_get_frutree_parent()