Searched refs:result (Results 1 – 6 of 6) sorted by relevance
/samples/bpf/ |
D | test_map_in_map_kern.c | 78 int *result; in do_reg_lookup() local 80 result = bpf_map_lookup_elem(inner_map, &port); in do_reg_lookup() 81 return result ? *result : -ENOENT; in do_reg_lookup() 86 int *result; in do_inline_array_lookup() local 91 result = bpf_map_lookup_elem(&port_a, &port); in do_inline_array_lookup() 92 return result ? *result : -ENOENT; in do_inline_array_lookup() 97 int *result; in do_inline_hash_lookup() local 102 result = bpf_map_lookup_elem(&port_h, &port); in do_inline_hash_lookup() 103 return result ? *result : -ENOENT; in do_inline_hash_lookup()
|
D | test_map_in_map_user.c | 76 int result, inline_result; in test_map_in_map() local 95 ret = bpf_map_lookup_elem(REG_RESULT_H, &result_key, &result); in test_map_in_map() 102 if (result != magic_result || inline_result != magic_result) { in test_map_in_map() 104 result, inline_result); in test_map_in_map()
|
D | xdpsock_user.c | 599 unsigned int result = 0; in do_csum() local 607 result += (*buff << 8); in do_csum() 609 result = *buff; in do_csum() 616 result += *(unsigned short *)buff; in do_csum() 629 result += carry; in do_csum() 630 result += w; in do_csum() 631 carry = (w > result); in do_csum() 633 result += carry; in do_csum() 634 result = (result & 0xffff) + (result >> 16); in do_csum() 637 result += *(unsigned short *)buff; in do_csum() [all …]
|
/samples/pktgen/ |
D | functions.sh | 61 local result 82 result=$(grep "Result: OK:" $proc_ctrl) || true 83 if [[ "$result" == "" ]]; then 94 local result 102 result=`cat $PGDEV | fgrep "Result: OK:"` 103 if [[ "$result" == "" ]]; then
|
/samples/mei/ |
D | mei-amt-version.c | 114 int result; in mei_init() local 130 result = ioctl(me->fd, IOCTL_MEI_CONNECT_CLIENT, &data); in mei_init() 131 if (result) { in mei_init() 132 mei_err(me, "IOCTL_MEI_CONNECT_CLIENT receive message. err=%d\n", result); in mei_init()
|
/samples/qmi/ |
D | qmi_sample_client.c | 346 if (resp->resp.result == QMI_RESULT_FAILURE_V01) in ping_pong_cb() 347 txn->result = -ENXIO; in ping_pong_cb() 349 txn->result = -EINVAL; in ping_pong_cb()
|