Lines Matching refs:granted
3337 perm_status_t granted = PERM_GRANTED; in rc_node_modify_permission_check() local
3343 granted = PERM_DENIED; in rc_node_modify_permission_check()
3345 return (granted); in rc_node_modify_permission_check()
3354 granted = perm_granted(pcp); in rc_node_modify_permission_check()
3356 if ((granted == PERM_GRANTED) || in rc_node_modify_permission_check()
3357 (granted == PERM_DENIED)) { in rc_node_modify_permission_check()
3365 granted = PERM_FAIL; in rc_node_modify_permission_check()
3368 granted = PERM_FAIL; in rc_node_modify_permission_check()
3373 granted = PERM_FAIL; in rc_node_modify_permission_check()
3376 return (granted); in rc_node_modify_permission_check()
3997 perm_status_t granted; in rc_node_create_child_pg() local
4079 granted = perm_granted(pcp); in rc_node_create_child_pg()
4081 rc = map_granted_status(granted, pcp, in rc_node_create_child_pg()
4083 if (granted == PERM_GONE) { in rc_node_create_child_pg()
4699 int granted; in rc_node_delete() local
4887 granted = perm_granted(pcp); in rc_node_delete()
4889 rc = map_granted_status(granted, pcp, in rc_node_delete()
4891 if (granted == PERM_GONE) { in rc_node_delete()
4898 if (granted == PERM_DENIED) in rc_node_delete()
5138 perm_status_t granted; in rc_attach_snapshot() local
5209 granted = rc_node_modify_permission_check(&audit_data.ed_auth); in rc_attach_snapshot()
5210 switch (granted) { in rc_attach_snapshot()
5228 bad_error(rc_node_modify_permission_check, granted); in rc_attach_snapshot()
5393 perm_status_t granted; in rc_snapshot_take_new() local
5408 granted = rc_node_modify_permission_check(&audit_data.ed_auth); in rc_snapshot_take_new()
5409 switch (granted) { in rc_snapshot_take_new()
5426 bad_error("rc_node_modify_permission_check", granted); in rc_snapshot_take_new()
5785 perm_status_t granted = PERM_DENIED; in rc_node_property_may_read() local
5858 granted = perm_granted(pcp); in rc_node_property_may_read()
5859 if (granted == PERM_FAIL) in rc_node_property_may_read()
5861 if (granted == PERM_GONE) in rc_node_property_may_read()
5879 if (granted == PERM_DENIED) { in rc_node_property_may_read()
5894 if ((ret == REP_PROTOCOL_SUCCESS) && (granted == PERM_DENIED)) in rc_node_property_may_read()
6647 perm_status_t granted; in rc_node_setup_tx() local
6773 granted = perm_granted(pcp); in rc_node_setup_tx()
6774 ret = map_granted_status(granted, pcp, &auth_string); in rc_node_setup_tx()
6777 if ((granted == PERM_GONE) || (granted == PERM_FAIL) || in rc_node_setup_tx()
6784 if (granted == PERM_DENIED) { in rc_node_setup_tx()
6975 perm_status_t granted; in rc_tx_commit() local
7105 granted = perm_granted(pcp); in rc_tx_commit()
7106 rc = map_granted_status(granted, pcp, &auth_string); in rc_tx_commit()
7107 if ((granted == PERM_DENIED) && auth_string) { in rc_tx_commit()
7122 if (granted == PERM_DENIED) { in rc_tx_commit()