Home
last modified time | relevance | path

Searched refs:to_str (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/rust/kernel/
H A Dstr.rs175 /// assert_eq!(cstr.to_str(), Ok("foo"));
178 pub fn to_str(&self) -> Result<&str, core::str::Utf8Error> { in to_str() functions
365 let checked_str = checked_cstr.to_str().unwrap(); in test_cstr_to_str()
374 checked_cstr.to_str().unwrap(); in test_cstr_to_str_panic()
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd_devmap.c282 char **to_str, char **features_str) in dasd_evaluate_range_param()
289 *to_str = strsep(&range, "("); in dasd_evaluate_range_param()
318 char *to_str = NULL; in dasd_parse_range() local
326 if (dasd_evaluate_range_param(tmp, &from_str, &to_str, &features_str)) { in dasd_parse_range()
339 if (to_str) { in dasd_parse_range()
340 if (dasd_busid(to_str, &to_id0, &to_id1, &to)) { in dasd_parse_range()
281 dasd_evaluate_range_param(char *range, char **from_str, char **to_str, char **features_str) dasd_evaluate_range_param() argument
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddasd_devmap.c283 char **to_str, char **features_str) in dasd_evaluate_range_param()
290 *to_str = strsep(&range, "("); in dasd_evaluate_range_param()
319 char *to_str = NULL; in dasd_parse_range() local
327 if (dasd_evaluate_range_param(tmp, &from_str, &to_str, &features_str)) { in dasd_parse_range()
340 if (to_str) { in dasd_parse_range()
341 if (dasd_busid(to_str, &to_id0, &to_id1, &to)) { in dasd_parse_range()
282 dasd_evaluate_range_param(char *range, char **from_str, char **to_str, char **features_str) dasd_evaluate_range_param() argument
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dipsec.c711 char to_str[IPV4_STR_SZ] = {}, from_str[IPV4_STR_SZ] = {}; in do_ping() local
746 strncpy(to_str, inet_ntoa(*(struct in_addr *)&to), IPV4_STR_SZ - 1); in do_ping()
751 init_side ? "send" : "reply", from_str, to_str, in do_ping()
758 init_side ? "send" : "reply", from_str, to_str, in do_ping()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dipsec.c752 char to_str[IPV4_STR_SZ] = {}, from_str[IPV4_STR_SZ] = {}; in do_ping() local
787 strncpy(to_str, inet_ntoa(*(struct in_addr *)&to), IPV4_STR_SZ - 1); in do_ping()
792 init_side ? "send" : "reply", from_str, to_str, in do_ping()
799 init_side ? "send" : "reply", from_str, to_str, in do_ping()

Completed in 13 milliseconds