Searched refs:type_name_len (Results 1 – 1 of 1) sorted by relevance
2890 static struct crush_loc_node *alloc_crush_loc(size_t type_name_len, in alloc_crush_loc() argument2895 loc = kmalloc(sizeof(*loc) + type_name_len + name_len + 2, GFP_NOIO); in alloc_crush_loc()2930 size_t type_name_len, name_len; in DEFINE_RB_FUNCS2() local2938 type_name_len = colon - type_name; in DEFINE_RB_FUNCS2()2939 if (type_name_len == 0) in DEFINE_RB_FUNCS2()2947 loc = alloc_crush_loc(type_name_len, name_len); in DEFINE_RB_FUNCS2()2952 memcpy(loc->cl_loc.cl_type_name, type_name, type_name_len); in DEFINE_RB_FUNCS2()2953 loc->cl_loc.cl_type_name[type_name_len] = '\0'; in DEFINE_RB_FUNCS2()2955 loc->cl_loc.cl_name = loc->cl_data + type_name_len + 1; in DEFINE_RB_FUNCS2()