Searched refs:result_idx (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/tools/testing/selftests/bpf/progs/ |
D | test_sock_fields_kern.c | 143 __u32 srv_idx = ADDR_SRV_IDX, cli_idx = ADDR_CLI_IDX, result_idx; in egress_read_sock_fields() local 171 result_idx = EGRESS_SRV_IDX; in egress_read_sock_fields() 173 result_idx = EGRESS_CLI_IDX; in egress_read_sock_fields() 177 sk_ret = bpf_map_lookup_elem(&sock_result_map, &result_idx); in egress_read_sock_fields() 178 tp_ret = bpf_map_lookup_elem(&tcp_sock_result_map, &result_idx); in egress_read_sock_fields() 185 if (result_idx == EGRESS_SRV_IDX) { in egress_read_sock_fields() 217 __u32 srv_idx = ADDR_SRV_IDX, result_idx = INGRESS_LISTEN_IDX; in ingress_read_sock_fields() local 244 sk_ret = bpf_map_lookup_elem(&sock_result_map, &result_idx); in ingress_read_sock_fields() 245 tp_ret = bpf_map_lookup_elem(&tcp_sock_result_map, &result_idx); in ingress_read_sock_fields()
|
/Linux-v5.4/include/uapi/linux/can/ |
D | gw.h | 126 __s8 result_idx; member 133 __s8 result_idx; member
|
/Linux-v5.4/net/can/ |
D | gw.c | 263 int res = calc_idx(xor->result_idx, cf->len); in cgw_csum_xor_rel() 289 cf->data[xor->result_idx] = val; in cgw_csum_xor_pos() 300 cf->data[xor->result_idx] = val; in cgw_csum_xor_neg() 308 int res = calc_idx(crc8->result_idx, cf->len); in cgw_csum_crc8_rel() 338 cf->data[crc8->result_idx] = crc ^ crc8->final_xor_val; in cgw_csum_crc8_rel() 365 cf->data[crc8->result_idx] = crc ^ crc8->final_xor_val; in cgw_csum_crc8_pos() 392 cf->data[crc8->result_idx] = crc ^ crc8->final_xor_val; in cgw_csum_crc8_neg() 908 c->result_idx, r); in cgw_parse_attr() 919 c->result_idx < 0) in cgw_parse_attr() 931 c->result_idx, r); in cgw_parse_attr() [all …]
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 22298 u8 result_idx; in wlc_phy_rssi_cal_nphy_rev3() local 22479 for (result_idx = 0; result_idx < 4; result_idx++) { in wlc_phy_rssi_cal_nphy_rev3() 22480 if ((core == result_idx / 2) && in wlc_phy_rssi_cal_nphy_rev3() 22481 (result_idx % 2 == 0)) { in wlc_phy_rssi_cal_nphy_rev3() 22490 poll_results[vcm][result_idx] * in wlc_phy_rssi_cal_nphy_rev3() 22491 poll_results[vcm][result_idx] + in wlc_phy_rssi_cal_nphy_rev3() 22492 poll_results[vcm][result_idx + in wlc_phy_rssi_cal_nphy_rev3() 22494 poll_results[vcm][result_idx + in wlc_phy_rssi_cal_nphy_rev3() 22500 if (poll_results[vcm][result_idx] < in wlc_phy_rssi_cal_nphy_rev3() 22504 [result_idx]; in wlc_phy_rssi_cal_nphy_rev3() [all …]
|