Lines Matching refs:str
41 int get_u32_handle(__u32 *handle, char *str)
44 char *tmp = strchr(str, ':');
47 if (memcmp("0x", str, 2) == 0)
48 return get_u32(handle, str, 16);
51 htid = strtoul(str, &tmp, 16);
52 if (tmp == str && *str != ':' && *str != 0)
57 str = tmp+1;
58 hash = strtoul(str, &tmp, 16);
59 if (tmp == str && *str != ':' && *str != 0)
64 str = tmp+1;
65 nodeid = strtoul(str, &tmp, 16);
66 if (tmp == str && *str != 0)