Searched refs:lc (Results 1 – 4 of 4) sorted by relevance
| /tools/testing/selftests/drivers/net/mlxsw/ |
| A D | devlink_linecard.sh | 39 local lc=$1 41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state" 46 local lc=$1 55 local lc=$1 91 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].nested_devlink" 111 devlink lc set $DEVLINK_DEV lc $lc notype 130 devlink lc set $DEVLINK_DEV lc $lc type $type 140 provisioned_type=$(devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].type") 153 local lc 170 supported_types_count=$(devlink lc show $DEVLINK_DEV lc $lc -j | \ [all …]
|
| /tools/testing/selftests/powerpc/papr_vpd/ |
| A D | papr_vpd.c | 32 struct papr_location_code lc = { .str = "", }; in dev_papr_vpd_get_handle_all() local 42 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc); in dev_papr_vpd_get_handle_all() 71 struct papr_location_code lc = { .str = "", }; in dev_papr_vpd_get_handle_byte_at_a_time() local 80 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc); in dev_papr_vpd_get_handle_byte_at_a_time() 112 struct papr_location_code lc = {}; in dev_papr_vpd_unterm_loc_code() local 124 memset(lc.str, 'x', ARRAY_SIZE(lc.str)); in dev_papr_vpd_unterm_loc_code() 157 struct papr_location_code lc = { .str = "", }; in papr_vpd_close_handle_without_reading() local 180 struct papr_location_code lc = { .str = "", }; in papr_vpd_reread() local 245 snprintf(lc->str, sizeof(lc->str), in get_system_loc_code() 261 struct papr_location_code lc; in papr_vpd_system_loc_code() local [all …]
|
| /tools/testing/selftests/bpf/progs/ |
| A D | setget_sockopt.c | 167 return bpf_test_sockopt_flip(lc->ctx, lc->sk, t, SOL_SOCKET); in bpf_test_socket_sockopt() 169 return bpf_test_sockopt_int(lc->ctx, lc->sk, t, SOL_SOCKET); in bpf_test_socket_sockopt() 172 static int bpf_test_ip_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_ip_sockopt() argument 184 return bpf_test_sockopt_flip(lc->ctx, lc->sk, t, IPPROTO_IP); in bpf_test_ip_sockopt() 186 return bpf_test_sockopt_int(lc->ctx, lc->sk, t, IPPROTO_IP); in bpf_test_ip_sockopt() 201 return bpf_test_sockopt_flip(lc->ctx, lc->sk, t, IPPROTO_IPV6); in bpf_test_ipv6_sockopt() 203 return bpf_test_sockopt_int(lc->ctx, lc->sk, t, IPPROTO_IPV6); in bpf_test_ipv6_sockopt() 206 static int bpf_test_tcp_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_tcp_sockopt() argument 219 ctx = lc->ctx; in bpf_test_tcp_sockopt() 220 sk = lc->sk; in bpf_test_tcp_sockopt() [all …]
|
| /tools/perf/util/ |
| A D | pmu.c | 269 char *lc; in parse_double() local 275 lc = setlocale(LC_NUMERIC, NULL); in parse_double() 282 lc = strdup(lc); in parse_double() 283 if (!lc) { in parse_double() 299 setlocale(LC_NUMERIC, lc); in parse_double() 300 free(lc); in parse_double()
|
Completed in 16 milliseconds