Searched refs:type_name_len (Results 1 – 1 of 1) sorted by relevance
2874 static struct crush_loc_node *alloc_crush_loc(size_t type_name_len, in alloc_crush_loc() argument2879 loc = kmalloc(sizeof(*loc) + type_name_len + name_len + 2, GFP_NOIO); in alloc_crush_loc()2914 size_t type_name_len, name_len; in DEFINE_RB_FUNCS2() local2922 type_name_len = colon - type_name; in DEFINE_RB_FUNCS2()2923 if (type_name_len == 0) in DEFINE_RB_FUNCS2()2931 loc = alloc_crush_loc(type_name_len, name_len); in DEFINE_RB_FUNCS2()2936 memcpy(loc->cl_loc.cl_type_name, type_name, type_name_len); in DEFINE_RB_FUNCS2()2937 loc->cl_loc.cl_type_name[type_name_len] = '\0'; in DEFINE_RB_FUNCS2()2939 loc->cl_loc.cl_name = loc->cl_data + type_name_len + 1; in DEFINE_RB_FUNCS2()
Completed in 8 milliseconds