Home
last modified time | relevance | path

Searched refs:p_info (Results 1 – 15 of 15) sorted by relevance

/external/blktrace/btt/
Dproc.c27 struct p_info *pip;
36 static void __foreach(struct rb_node *n, void (*f)(struct p_info *, void *), in __foreach() argument
65 struct p_info * __find_process_pid(__u32 pid) in __find_process_pid()
83 struct p_info *__find_process_name(char *name) in __find_process_name()
103 static void insert_pid(struct p_info *that, __u32 pid) in insert_pid()
129 static void insert_name(struct p_info *that) in insert_name()
157 static void insert(struct p_info *pip) in insert()
163 static inline struct p_info *pip_alloc(void) in pip_alloc()
165 return memset(malloc(sizeof(struct p_info)), 0, sizeof(struct p_info)); in pip_alloc()
168 struct p_info *find_process(__u32 pid, char *name) in find_process()
[all …]
Doutput.c40 ai_pip_t pip_q2q_dm_avg(struct p_info *pip) { return &pip->avgs.q2q_dm; } in pip_q2q_dm_avg()
41 ai_pip_t pip_q2a_dm_avg(struct p_info *pip) { return &pip->avgs.q2a_dm; } in pip_q2a_dm_avg()
42 ai_pip_t pip_q2c_dm_avg(struct p_info *pip) { return &pip->avgs.q2c_dm; } in pip_q2c_dm_avg()
44 ai_pip_t pip_q2q_avg(struct p_info *pip) { return &pip->avgs.q2q; } in pip_q2q_avg()
45 ai_pip_t pip_q2c_avg(struct p_info *pip) { return &pip->avgs.q2c; } in pip_q2c_avg()
46 ai_pip_t pip_q2a_avg(struct p_info *pip) { return &pip->avgs.q2a; } in pip_q2a_avg()
47 ai_pip_t pip_q2g_avg(struct p_info *pip) { return &pip->avgs.q2g; } in pip_q2g_avg()
48 ai_pip_t pip_s2g_avg(struct p_info *pip) { return &pip->avgs.s2g; } in pip_s2g_avg()
49 ai_pip_t pip_g2i_avg(struct p_info *pip) { return &pip->avgs.g2i; } in pip_g2i_avg()
50 ai_pip_t pip_q2m_avg(struct p_info *pip) { return &pip->avgs.q2m; } in pip_q2m_avg()
[all …]
Dglobals.h110 struct p_info { struct
155 struct p_info *pip;
266 struct p_info *find_process(__u32 pid, char *name);
268 void pip_foreach_out(void (*f)(struct p_info *, void *), void *arg);
/external/libnfc-nci/src/nfa/ce/
Dnfa_ce_main.c107 tNFA_CE_LISTEN_INFO *p_info; in nfa_ce_sys_disable() local
116 for (xx = 0, p_info = nfa_ce_cb.listen_info; xx < NFA_CE_LISTEN_INFO_MAX; xx++, p_info++) in nfa_ce_sys_disable()
118 … if ((p_info->flags & NFA_CE_LISTEN_INFO_IN_USE) && (p_info->rf_disc_handle != NFA_HANDLE_INVALID)) in nfa_ce_sys_disable()
120 nfa_dm_delete_rf_discover (p_info->rf_disc_handle); in nfa_ce_sys_disable()
121 p_info->rf_disc_handle = NFA_HANDLE_INVALID; in nfa_ce_sys_disable()
/external/libnfc-nci/src/nfc/tags/
Dtags_int.c234 UINT8 t1t_info_to_evt (const tT1T_CMD_RSP_INFO * p_info) in t1t_info_to_evt() argument
236 return ((UINT8) (p_info - t1t_cmd_rsp_infos) + RW_T1T_FIRST_EVT); in t1t_info_to_evt()
248 UINT8 t2t_info_to_evt (const tT2T_CMD_RSP_INFO * p_info) in t2t_info_to_evt() argument
250 return ((UINT8) (p_info - t2t_cmd_rsp_infos) + RW_T2T_FIRST_EVT); in t2t_info_to_evt()
263 const char * t1t_info_to_str (const tT1T_CMD_RSP_INFO * p_info) in t1t_info_to_str() argument
265 int ind = (int) (p_info - t1t_cmd_rsp_infos); in t1t_info_to_str()
281 const char * t2t_info_to_str (const tT2T_CMD_RSP_INFO * p_info) in t2t_info_to_str() argument
283 int ind = (int) (p_info - t2t_cmd_rsp_infos); in t2t_info_to_str()
Drw_t1t_ndef.c76 tRW_EVENT rw_t1t_handle_rsp (const tT1T_CMD_RSP_INFO * p_info, BOOLEAN *p_notify, UINT8 *p_data, tN… in rw_t1t_handle_rsp() argument
85 return t1t_info_to_evt (p_info); in rw_t1t_handle_rsp()
88 rw_event = rw_t1t_info_to_event (p_info); in rw_t1t_handle_rsp()
90 if (p_info->opcode == T1T_CMD_RALL) in rw_t1t_handle_rsp()
94 else if (p_info->opcode == T1T_CMD_RSEG) in rw_t1t_handle_rsp()
107 else if (p_info->opcode == T1T_CMD_READ8) in rw_t1t_handle_rsp()
127 tRW_EVENT rw_t1t_info_to_event (const tT1T_CMD_RSP_INFO * p_info) in rw_t1t_info_to_event() argument
162 rw_event = t1t_info_to_evt (p_info); in rw_t1t_info_to_event()
Drw_t2t_ndef.c174 tRW_EVENT rw_t2t_info_to_event (const tT2T_CMD_RSP_INFO *p_info) in rw_t2t_info_to_event() argument
210 rw_event = t2t_info_to_evt (p_info); in rw_t2t_info_to_event()
/external/libnfc-nci/src/nfc/int/
Dtags_int.h79 extern UINT8 t1t_info_to_evt (const tT1T_CMD_RSP_INFO * p_info);
84 extern UINT8 t2t_info_to_evt (const tT2T_CMD_RSP_INFO * p_info);
88 extern const char * t1t_info_to_str (const tT1T_CMD_RSP_INFO * p_info);
89 extern const char * t2t_info_to_str (const tT2T_CMD_RSP_INFO * p_info);
Drw_int.h599 extern tRW_EVENT rw_t1t_handle_rsp (const tT1T_CMD_RSP_INFO * p_info, BOOLEAN *p_notify, UINT8 *p_d…
600 extern tRW_EVENT rw_t1t_info_to_event (const tT1T_CMD_RSP_INFO * p_info);
614 extern tRW_EVENT rw_t2t_info_to_event (const tT2T_CMD_RSP_INFO *p_info);
/external/libnfc-nci/src/nfa/ee/
Dnfa_ee_api.c93 tNFA_EE_INFO *p_info) in NFA_EeGetInfo() argument
102 if (p_info == NULL || p_num_nfcee == NULL) in NFA_EeGetInfo()
123 p_info->ee_handle = NFA_HANDLE_GROUP_EE | (tNFA_HANDLE)p_cb->nfcee_id; in NFA_EeGetInfo()
124 p_info->ee_status = p_cb->ee_status; in NFA_EeGetInfo()
125 p_info->num_interface = p_cb->num_interface; in NFA_EeGetInfo()
126 p_info->num_tlvs = p_cb->num_tlvs; in NFA_EeGetInfo()
127 memcpy(p_info->ee_interface, p_cb->ee_interface, p_cb->num_interface); in NFA_EeGetInfo()
128 memcpy(p_info->ee_tlv, p_cb->ee_tlv, p_cb->num_tlvs * sizeof(tNFA_EE_TLV)); in NFA_EeGetInfo()
129 p_info++; in NFA_EeGetInfo()
Dnfa_ee_act.c1171 tNFA_EE_INFO *p_info; in nfa_ee_nci_disc_ntf() local
1281 p_info = &evt_data.new_ee; in nfa_ee_nci_disc_ntf()
1282 p_info->ee_handle = NFA_HANDLE_GROUP_EE | (tNFA_HANDLE)p_cb->nfcee_id; in nfa_ee_nci_disc_ntf()
1283 p_info->ee_status = p_cb->ee_status; in nfa_ee_nci_disc_ntf()
1284 p_info->num_interface = p_cb->num_interface; in nfa_ee_nci_disc_ntf()
1285 p_info->num_tlvs = p_cb->num_tlvs; in nfa_ee_nci_disc_ntf()
1286 memcpy(p_info->ee_interface, p_cb->ee_interface, p_cb->num_interface); in nfa_ee_nci_disc_ntf()
1287 memcpy(p_info->ee_tlv, p_cb->ee_tlv, p_cb->num_tlvs * sizeof(tNFA_EE_TLV)); in nfa_ee_nci_disc_ntf()
1376 tNFA_EE_DISCOVER_INFO *p_info; in nfa_ee_build_discover_req_evt() local
1384 p_info = p_evt_data->ee_disc_info; in nfa_ee_build_discover_req_evt()
[all …]
/external/libnfc-nci/src/nfc/nfc/
Dnfc_ncif.c1106 tNFC_EE_DISCOVER_INFO *p_info; in nfc_ncif_proc_ee_discover_req() local
1115 p_info = ee_disc_req.info; in nfc_ncif_proc_ee_discover_req()
1120 p_info->op = *p++; /* T */ in nfc_ncif_proc_ee_discover_req()
1128 p_info->nfcee_id = *p++; in nfc_ncif_proc_ee_discover_req()
1129 p_info->tech_n_mode = *p++; in nfc_ncif_proc_ee_discover_req()
1130 p_info->protocol = *p++; in nfc_ncif_proc_ee_discover_req()
1133 p_info++; in nfc_ncif_proc_ee_discover_req()
/external/libnfc-nci/src/nfc/llcp/
Dllcp_link.c1134 UINT8 *p, *p_info, *p_pdu_length; in llcp_link_proc_agf_pdu() local
1191 p_info = p; in llcp_link_proc_agf_pdu()
1192 BE_STREAM_TO_UINT16 (pdu_hdr, p_info ); in llcp_link_proc_agf_pdu()
1221 llcp_sdp_proc_snl ((UINT16) (pdu_length - LLCP_PDU_HEADER_SIZE), p_info); in llcp_link_proc_agf_pdu()
1233 … llcp_dlc_proc_rx_pdu (dsap, ptype, ssap, (UINT16) (pdu_length - LLCP_PDU_HEADER_SIZE), p_info); in llcp_link_proc_agf_pdu()
/external/pdfium/third_party/libopenjpeg20/
Dopenjpeg.c730 OPJ_BOOL OPJ_CALLCONV opj_encode(opj_codec_t *p_info, opj_stream_t *p_stream) in opj_encode() argument
732 if (p_info && p_stream) { in opj_encode()
733 opj_codec_private_t * l_codec = (opj_codec_private_t *) p_info; in opj_encode()
/external/libnfc-nci/src/nfa/include/
Dnfa_ee_api.h251 tNFA_EE_INFO *p_info);