Home
last modified time | relevance | path

Searched refs:pevent (Results 1 – 2 of 2) sorted by relevance

/drivers/oprofile/
Doprofile_perf.c75 struct perf_event *pevent; in op_create_counter() local
80 pevent = perf_event_create_kernel_counter(&counter_config[event].attr, in op_create_counter()
84 if (IS_ERR(pevent)) in op_create_counter()
85 return PTR_ERR(pevent); in op_create_counter()
87 if (pevent->state != PERF_EVENT_STATE_ACTIVE) { in op_create_counter()
88 perf_event_release_kernel(pevent); in op_create_counter()
94 perf_events[cpu][event] = pevent; in op_create_counter()
101 struct perf_event *pevent = perf_events[cpu][event]; in op_destroy_counter() local
103 if (pevent) { in op_destroy_counter()
104 perf_event_release_kernel(pevent); in op_destroy_counter()
/drivers/scsi/bfa/
Dbfa_svc.c2199 struct bfi_fcport_event_s *pevent = fcport->event_arg.i2hmsg.event; in bfa_fcport_sm_linkdown() local
2215 pevent->link_state.vc_fcf.fcf.fipenabled); in bfa_fcport_sm_linkdown()
2217 pevent->link_state.vc_fcf.fcf.fipfailed); in bfa_fcport_sm_linkdown()
2219 if (pevent->link_state.vc_fcf.fcf.fipfailed) in bfa_fcport_sm_linkdown()
2964 struct bfi_fcport_event_s *pevent = fcport->event_arg.i2hmsg.event; in bfa_fcport_update_linkinfo() local
2967 fcport->speed = pevent->link_state.speed; in bfa_fcport_update_linkinfo()
2968 fcport->topology = pevent->link_state.topology; in bfa_fcport_update_linkinfo()
2974 fcport->qos_attr = pevent->link_state.qos_attr; in bfa_fcport_update_linkinfo()
2975 fcport->qos_vc_attr = pevent->link_state.vc_fcf.qos_vc_attr; in bfa_fcport_update_linkinfo()
2984 fcport->fcoe_vlan = be16_to_cpu(pevent->link_state.vc_fcf.fcf.vlan); in bfa_fcport_update_linkinfo()