Home
last modified time | relevance | path

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

/Linux-v5.10/net/ceph/
Dosdmap.c2882 DEFINE_RB_FUNCS2(crush_loc, struct crush_loc_node, cl_loc, crush_loc_compare, in DEFINE_RB_FUNCS2() argument
2916 loc->cl_loc.cl_type_name = loc->cl_data; in DEFINE_RB_FUNCS2()
2917 memcpy(loc->cl_loc.cl_type_name, type_name, type_name_len); in DEFINE_RB_FUNCS2()
2918 loc->cl_loc.cl_type_name[type_name_len] = '\0'; in DEFINE_RB_FUNCS2()
2920 loc->cl_loc.cl_name = loc->cl_data + type_name_len + 1; in DEFINE_RB_FUNCS2()
2921 memcpy(loc->cl_loc.cl_name, name, name_len); in DEFINE_RB_FUNCS2()
2922 loc->cl_loc.cl_name[name_len] = '\0'; in DEFINE_RB_FUNCS2()
2930 loc->cl_loc.cl_type_name, loc->cl_loc.cl_name); in DEFINE_RB_FUNCS2()
2948 ret = crush_loc_compare(&loc1->cl_loc, &loc2->cl_loc); in ceph_compare_crush_locs()
Dceph_common.c604 seq_printf(m, "%s:%s", loc->cl_loc.cl_type_name, in ceph_print_client_options()
605 loc->cl_loc.cl_name); in ceph_print_client_options()
/Linux-v5.10/include/linux/ceph/
Dosdmap.h322 struct crush_loc cl_loc; /* pointers into cl_data */ member