Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/platform/x86/
Dclassmate-laptop.c157 int16_t *locs; in cmpc_get_accel_v4() local
174 locs = (int16_t *) obj->buffer.pointer; in cmpc_get_accel_v4()
175 *x = locs[0]; in cmpc_get_accel_v4()
176 *y = locs[1]; in cmpc_get_accel_v4()
177 *z = locs[2]; in cmpc_get_accel_v4()
505 unsigned char *locs; in cmpc_get_accel() local
517 locs = obj->buffer.pointer; in cmpc_get_accel()
518 *x = locs[0]; in cmpc_get_accel()
519 *y = locs[1]; in cmpc_get_accel()
520 *z = locs[2]; in cmpc_get_accel()
/linux-6.1.9/include/linux/ceph/
Dosdmap.h326 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs);
328 void ceph_clear_crush_locs(struct rb_root *locs);
331 struct rb_root *locs);
/linux-6.1.9/net/ceph/
Dosdmap.c2926 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs) in DEFINE_RB_FUNCS2()
2959 if (!__insert_crush_loc(locs, loc)) { in DEFINE_RB_FUNCS2()
2995 void ceph_clear_crush_locs(struct rb_root *locs) in ceph_clear_crush_locs() argument
2997 while (!RB_EMPTY_ROOT(locs)) { in ceph_clear_crush_locs()
2999 rb_entry(rb_first(locs), struct crush_loc_node, cl_node); in ceph_clear_crush_locs()
3001 erase_crush_loc(locs, loc); in ceph_clear_crush_locs()
3088 struct rb_root *locs) in ceph_get_crush_locality() argument
3103 if (lookup_crush_loc(locs, &loc)) in ceph_get_crush_locality()