Searched refs:locs (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | classmate-laptop.c | 157 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[ in cmpc_get_accel() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | classmate-laptop.c | 157 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[ in cmpc_get_accel() [all...] |
/kernel/linux/linux-5.10/include/linux/ceph/ |
H A D | osdmap.h | 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);
|
/kernel/linux/linux-6.6/include/linux/ceph/ |
H A D | osdmap.h | 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);
|
/kernel/linux/linux-5.10/net/ceph/ |
H A D | osdmap.c | 2891 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs) in ceph_parse_crush_location() argument 2924 if (!__insert_crush_loc(locs, loc)) { in ceph_parse_crush_location() 2960 void ceph_clear_crush_locs(struct rb_root *locs) in ceph_clear_crush_locs() argument 2962 while (!RB_EMPTY_ROOT(locs)) { in ceph_clear_crush_locs() 2964 rb_entry(rb_first(locs), struct crush_loc_node, cl_node); in ceph_clear_crush_locs() 2966 erase_crush_loc(locs, loc); in ceph_clear_crush_locs() 3035 * @id matches one of the locations in @locs, so for standard 3041 * as "rack=foo1 rack=foo2 datacenter=bar" is allowed -- @locs 3053 struct rb_root *locs) in ceph_get_crush_locality() 3068 if (lookup_crush_loc(locs, in ceph_get_crush_locality() 3052 ceph_get_crush_locality(struct ceph_osdmap *osdmap, int id, struct rb_root *locs) ceph_get_crush_locality() argument [all...] |
/kernel/linux/linux-6.6/net/ceph/ |
H A D | osdmap.c | 2926 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs) in ceph_parse_crush_location() argument 2959 if (!__insert_crush_loc(locs, loc)) { in ceph_parse_crush_location() 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() 3070 * @id matches one of the locations in @locs, so for standard 3076 * as "rack=foo1 rack=foo2 datacenter=bar" is allowed -- @locs 3088 struct rb_root *locs) in ceph_get_crush_locality() 3103 if (lookup_crush_loc(locs, in ceph_get_crush_locality() 3087 ceph_get_crush_locality(struct ceph_osdmap *osdmap, int id, struct rb_root *locs) ceph_get_crush_locality() argument [all...] |
Completed in 11 milliseconds