Searched refs:geo (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | btree.c | 135 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key() argument 140 for (i = geo->keylen - 1; i >= 0; i--) { in dec_key() 148 static unsigned long *bkey(struct btree_geo *geo, unsigned long *node, int n) in bkey() argument 150 return &node[n * geo->keylen]; in bkey() 153 static void *bval(struct btree_geo *geo, unsigned long *node, int n) in bval() argument 155 return (void *)node[geo->no_longs + n]; in bval() 158 static void setkey(struct btree_geo *geo, unsigned long *node, int n, in setkey() argument 161 longcpy(bkey(geo, node, n), key, geo->keylen); in setkey() 164 static void setval(struct btree_geo *geo, unsigned long *node, int n, in setval() argument 167 node[geo->no_longs + n] = (unsigned long) val; in setval() [all …]
|