Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dosdmap.c2894 static struct crush_loc_node *alloc_crush_loc(size_t type_name_len, in alloc_crush_loc() argument
2899 loc = kmalloc(sizeof(*loc) + type_name_len + name_len + 2, GFP_NOIO); in alloc_crush_loc()
2934 size_t type_name_len, name_len; in DEFINE_RB_FUNCS2() local
2942 type_name_len = colon - type_name; in DEFINE_RB_FUNCS2()
2943 if (type_name_len == 0) in DEFINE_RB_FUNCS2()
2951 loc = alloc_crush_loc(type_name_len, name_len); in DEFINE_RB_FUNCS2()
2956 memcpy(loc->cl_loc.cl_type_name, type_name, type_name_len); in DEFINE_RB_FUNCS2()
2957 loc->cl_loc.cl_type_name[type_name_len] = '\0'; in DEFINE_RB_FUNCS2()
2959 loc->cl_loc.cl_name = loc->cl_data + type_name_len + 1; in DEFINE_RB_FUNCS2()