Searched refs:locs (Results 1 – 3 of 3) sorted by relevance
157 int16_t *locs; in cmpc_get_accel_v4() local174 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() local517 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()
326 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);
2926 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() argument2997 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() argument3103 if (lookup_crush_loc(locs, &loc)) in ceph_get_crush_locality()