+static int com_lsatt_callback(const struct osl_object *query,
+ struct osl_object *result)
+{
+ struct private_lsatt_data pld = {.flags = *(uint32_t *) query->data};
+ int ret;
+
+ if (pld.flags & LSATT_FLAG_ALPHA)
+ ret = osl_rbtree_loop(attribute_table, ATTCOL_NAME,
+ &pld, print_attribute);
+ else
+ ret = osl_rbtree_loop(attribute_table, ATTCOL_BITNUM,
+ &pld, print_attribute);
+ result->data = pld.b.buf;
+ result->size = pld.b.size;
+ return ret;
+}
+
+