Lines Matching refs:cnum
124 picld_return_error(picl_callnumber_t cnum, picl_errno_t err) in picld_return_error() argument
128 ret_error.cnum = PICL_CNUM_ERROR; in picld_return_error()
129 ret_error.in_cnum = cnum; in picld_return_error()
148 picld_return_error(req->req_init.cnum, PICL_NOTSUPPORTED); in picld_init()
150 ret_init.cnum = req->req_init.cnum; in picld_init()
165 ret.cnum = in->req_fini.cnum; in picld_fini()
176 ret.cnum = in->req_ping.cnum; in picld_ping()
263 ret.cnum = in->req_wait.cnum; in picld_wait()
290 ret.cnum = PICL_CNUM_GETROOT; in picld_getroot()
293 picld_return_error(in->in.cnum, err); in picld_getroot()
314 picld_return_error(in->in.cnum, PICL_FAILURE); in picld_get_attrval()
318 picld_return_error(in->in.cnum, err); in picld_get_attrval()
322 picld_return_error(in->in.cnum, err); in picld_get_attrval()
325 picld_return_error(in->in.cnum, PICL_NOTREADABLE); in picld_get_attrval()
333 picld_return_error(in->in.cnum, PICL_FAILURE); in picld_get_attrval()
334 ret->cnum = PICL_CNUM_GETATTRVAL; in picld_get_attrval()
340 picld_return_error(in->in.cnum, err); in picld_get_attrval()
375 picld_return_error(in->in.cnum, PICL_FAILURE); in picld_get_attrval_by_name()
379 picld_return_error(in->in.cnum, err); in picld_get_attrval_by_name()
384 picld_return_error(in->in.cnum, err); in picld_get_attrval_by_name()
387 picld_return_error(in->in.cnum, PICL_NOTREADABLE); in picld_get_attrval_by_name()
397 picld_return_error(in->in.cnum, PICL_FAILURE); in picld_get_attrval_by_name()
398 ret->cnum = PICL_CNUM_GETATTRVALBYNAME; in picld_get_attrval_by_name()
407 picld_return_error(in->in.cnum, err); in picld_get_attrval_by_name()
436 picld_return_error(in->in.cnum, PICL_FAILURE); in picld_set_attrval()
440 picld_return_error(in->in.cnum, err); in picld_set_attrval()
444 picld_return_error(in->in.cnum, err); in picld_set_attrval()
447 picld_return_error(in->in.cnum, PICL_NOTWRITABLE); in picld_set_attrval()
453 picld_return_error(in->in.cnum, PICL_PERMDENIED); in picld_set_attrval()
455 ret.cnum = PICL_CNUM_SETATTRVAL; in picld_set_attrval()
462 picld_return_error(in->in.cnum, err); in picld_set_attrval()
482 picld_return_error(in->in.cnum, PICL_FAILURE); in picld_set_attrval_by_name()
486 picld_return_error(in->in.cnum, err); in picld_set_attrval_by_name()
491 picld_return_error(in->in.cnum, err); in picld_set_attrval_by_name()
494 picld_return_error(in->in.cnum, PICL_NOTWRITABLE); in picld_set_attrval_by_name()
501 picld_return_error(in->in.cnum, PICL_PERMDENIED); in picld_set_attrval_by_name()
503 ret.cnum = PICL_CNUM_SETATTRVALBYNAME; in picld_set_attrval_by_name()
514 picld_return_error(in->in.cnum, err); in picld_set_attrval_by_name()
534 picld_return_error(in->in.cnum, err); in picld_get_attrinfo()
536 ret.cnum = PICL_CNUM_GETATTRINFO; in picld_get_attrinfo()
541 picld_return_error(in->in.cnum, err); in picld_get_attrinfo()
563 picld_return_error(in->in.cnum, err); in picld_get_first_attr()
565 ret.cnum = PICL_CNUM_GETFIRSTATTR; in picld_get_first_attr()
570 picld_return_error(in->in.cnum, err); in picld_get_first_attr()
588 picld_return_error(in->in.cnum, err); in picld_get_next_attr()
590 ret.cnum = PICL_CNUM_GETNEXTATTR; in picld_get_next_attr()
595 picld_return_error(in->in.cnum, err); in picld_get_next_attr()
615 picld_return_error(in->in.cnum, err); in picld_get_attr_by_name()
617 ret.cnum = PICL_CNUM_GETATTRBYNAME; in picld_get_attr_by_name()
623 picld_return_error(in->in.cnum, err); in picld_get_attr_by_name()
643 picld_return_error(in->in.cnum, err); in picld_get_attr_by_row()
645 ret.cnum = PICL_CNUM_GETATTRBYROW; in picld_get_attr_by_row()
650 picld_return_error(in->in.cnum, err); in picld_get_attr_by_row()
670 picld_return_error(in->in.cnum, err); in picld_get_attr_by_col()
672 ret.cnum = PICL_CNUM_GETATTRBYCOL; in picld_get_attr_by_col()
677 picld_return_error(in->in.cnum, err); in picld_get_attr_by_col()
698 picld_return_error(in->in.cnum, err); in picld_find_node()
700 ret.cnum = PICL_CNUM_FINDNODE; in picld_find_node()
706 picld_return_error(in->in.cnum, err); in picld_find_node()
724 ret.cnum = PICL_CNUM_NODEBYPATH; in picld_get_node_by_path()
727 picld_return_error(in->in.cnum, err); in picld_get_node_by_path()
746 picld_return_error(in->in.cnum, err); in picld_get_frutree_parent()
748 ret.cnum = PICL_CNUM_FRUTREEPARENT; in picld_get_frutree_parent()
752 picld_return_error(in->in.cnum, err); in picld_get_frutree_parent()
765 picld_return_error(in->in.cnum, PICL_UNKNOWNSERVICE); in picld_unknown_service()
769 check_denial_of_service(int cnum) in check_denial_of_service() argument
779 picld_return_error(cnum, PICL_FAILURE); in check_denial_of_service()
792 picld_return_error(cnum, PICL_FAILURE); in check_denial_of_service()
811 check_denial_of_service(req->in.cnum); in picld_door_handler()
814 switch (req->in.cnum) { /* client call number */ in picld_door_handler()
934 req_ping.cnum = PICL_CNUM_PING; in daemon_exists()