Lines Matching refs:b
224 bucket_t *b;
235 if ((b = find_in_hashmap(version)) == NULL) {
293 b->b_protected_table =
294 add_to_stringtable(b->b_protected_table, buffer);
295 b->b_has_protecteds = 1;
296 errlog(VERBOSE, "set has_protecteds on bucket 0x%p", b);
299 b->b_global_table = add_to_stringtable(b->b_global_table,
318 bucket_t *l, *b;
323 for (b = first_from_list(l); b != NULL; b = next_from_list()) {
324 errlog(VERBOSE, " b-bkt: %s", b->b_name);
325 sort_stringtable(b->b_global_table);
326 sort_stringtable(b->b_protected_table);
327 if (b->b_uncles) {
329 if (b->b_uncles->bl_bucket) {
330 sort_stringtable(b->b_uncles->bl_bucket->b_global_table);
331 sort_stringtable(b->b_uncles->bl_bucket->b_protected_table);
348 bucket_t *b, *list;
355 for (b = list; b != NULL; b = b->b_parent) {
356 if (b->b_weak != 1) {
358 b->b_has_locals = done = 1;
360 "set has_locals on bucket 0x%p", b);
364 if (b != NULL && b->b_has_locals == 1)
386 const bucket_t *b = start;
394 if (b->b_parent == NULL) {
399 b = b->b_parent;
400 *p++ = b->b_name;
418 print_bucket(const bucket_t *b)
421 errlog(TRACING, "bucket_t at 0x%p {", (void *)b);
422 errlog(TRACING, " char *b_name = \"%s\";", b->b_name);
424 (void *)b->b_parent);
426 (void *)b->b_uncles);
428 (void *)b->b_thread);
430 b->b_has_locals);
432 b->b_has_protecteds);
434 b->b_was_printed);
436 b->b_weak);
438 (void *)b->b_global_table);
440 (void *)b->b_protected_table);
447 bucket_t *l, *b;
453 for (j = 0, b = first_from_list(l);
454 b != NULL; b = next_from_list(), ++j) {
456 print_bucket(b);
458 print_stringtable(b->b_global_table);
461 print_stringtable(b->b_protected_table);
464 for (p = parents_of(b); p != NULL && *p != NULL; ++p) {
469 if (b->b_uncles) {
471 print_bucket(b->b_uncles->bl_bucket);
474 b->b_uncles->bl_bucket->b_global_table);
478 b->b_uncles->bl_bucket->b_protected_table);
496 bucket_t *b;
498 if ((b = (bucket_t *)calloc(1, sizeof (bucket_t))) == NULL) {
502 if ((b->b_name = strdup(name)) == NULL) {
506 b->b_uncles = NULL;
507 b->b_global_table = create_stringtable(TABLE_INITIAL);
508 b->b_protected_table = create_stringtable(TABLE_INITIAL);
509 b->b_weak = weak;
510 return (b);
518 start_new_list(const bucket_t *b)
529 Buckethead[i] = (bucket_t *)b;