Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/
H A Dclassmate-laptop.c156 int16_t *locs; in cmpc_get_accel_v4() local
173 locs = (int16_t *) obj->buffer.pointer; in cmpc_get_accel_v4()
174 *x = locs[0]; in cmpc_get_accel_v4()
175 *y = locs[1]; in cmpc_get_accel_v4()
176 *z = locs[2]; in cmpc_get_accel_v4()
525 unsigned char *locs; in cmpc_get_accel() local
537 locs = obj->buffer.pointer; in cmpc_get_accel()
538 *x = locs[0]; in cmpc_get_accel()
539 *y = locs[1]; in cmpc_get_accel()
540 *z = locs[2]; in cmpc_get_accel()
/linux/include/linux/ceph/
H A 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/net/ceph/
H A Dosdmap.c2923 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs) in DEFINE_RB_FUNCS2()
2956 if (!__insert_crush_loc(locs, loc)) { in DEFINE_RB_FUNCS2()
2992 void ceph_clear_crush_locs(struct rb_root *locs) in ceph_clear_crush_locs() argument
2994 while (!RB_EMPTY_ROOT(locs)) { in ceph_clear_crush_locs()
2996 rb_entry(rb_first(locs), struct crush_loc_node, cl_node); in ceph_clear_crush_locs()
2998 erase_crush_loc(locs, loc); in ceph_clear_crush_locs()
3085 struct rb_root *locs) in ceph_get_crush_locality() argument
3100 if (lookup_crush_loc(locs, &loc)) in ceph_get_crush_locality()