Home
last modified time | relevance | path

Searched refs:type_name_len (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/net/ceph/
Dosdmap.c2890 static struct crush_loc_node *alloc_crush_loc(size_t type_name_len, in alloc_crush_loc() argument
2895 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() local
2938 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()