HelenOS sources
block 48 common/stdc/calloc.c void *block = malloc(nmemb * size);
block 49 common/stdc/calloc.c if (block == NULL)
block 52 common/stdc/calloc.c memset(block, 0, nmemb * size);
block 53 common/stdc/calloc.c return block;
block 48 kernel/generic/common/stdc/calloc.c void *block = malloc(nmemb * size);
block 49 kernel/generic/common/stdc/calloc.c if (block == NULL)
block 52 kernel/generic/common/stdc/calloc.c memset(block, 0, nmemb * size);
block 53 kernel/generic/common/stdc/calloc.c return block;
block 917 uspace/app/sbi/src/parse.c stree_block_t *block;
block 936 uspace/app/sbi/src/parse.c block = NULL;
block 949 uspace/app/sbi/src/parse.c block = parse_block(parse);
block 961 uspace/app/sbi/src/parse.c block = NULL;
block 967 uspace/app/sbi/src/parse.c getter->body = block;
block 982 uspace/app/sbi/src/parse.c stree_block_t *block;
block 1006 uspace/app/sbi/src/parse.c block = NULL;
block 1019 uspace/app/sbi/src/parse.c block = parse_block(parse);
block 1034 uspace/app/sbi/src/parse.c setter->body = block;
block 1048 uspace/app/sbi/src/parse.c stree_block_t *block;
block 1051 uspace/app/sbi/src/parse.c block = stree_block_new();
block 1052 uspace/app/sbi/src/parse.c list_init(&block->stats);
block 1056 uspace/app/sbi/src/parse.c return block;
block 1062 uspace/app/sbi/src/parse.c list_append(&block->stats, stat);
block 1065 uspace/app/sbi/src/parse.c return block;
block 1204 uspace/app/sbi/src/parse.c if_c->block = parse_block(parse);
block 1214 uspace/app/sbi/src/parse.c if_c->block = parse_block(parse);
block 1267 uspace/app/sbi/src/parse.c when_c->block = parse_block(parse);
block 1485 uspace/app/sbi/src/parse.c except_c->block = parse_block(parse);
block 51 uspace/app/sbi/src/run.c static void run_block(run_t *run, stree_block_t *block);
block 240 uspace/app/sbi/src/run.c static void run_block(run_t *run, stree_block_t *block)
block 259 uspace/app/sbi/src/run.c node = list_first(&block->stats);
block 267 uspace/app/sbi/src/run.c node = list_next(&block->stats, node);
block 430 uspace/app/sbi/src/run.c run_block(run, ifc->block);
block 523 uspace/app/sbi/src/run.c run_block(run, whenc->block);
block 718 uspace/app/sbi/src/run.c run_block(run, except_c->block);
block 592 uspace/app/sbi/src/stree.c stree_block_t *block;
block 594 uspace/app/sbi/src/stree.c block = calloc(1, sizeof(stree_block_t));
block 595 uspace/app/sbi/src/stree.c if (block == NULL) {
block 600 uspace/app/sbi/src/stree.c return block;
block 405 uspace/app/sbi/src/stree_t.h stree_block_t *block;
block 414 uspace/app/sbi/src/stree_t.h stree_block_t *block;
block 430 uspace/app/sbi/src/stree_t.h stree_block_t *block;
block 64 uspace/app/sbi/src/stype.c static void stype_block(stype_t *stype, stree_block_t *block);
block 574 uspace/app/sbi/src/stype.c static void stype_block(stype_t *stype, stree_block_t *block)
block 592 uspace/app/sbi/src/stype.c stat_n = list_first(&block->stats);
block 597 uspace/app/sbi/src/stype.c stat_n = list_next(&block->stats, stat_n);
block 1009 uspace/app/sbi/src/stype.c stype_block(stype, ifc->block);
block 1076 uspace/app/sbi/src/stype.c stype_block(stype, whenc->block);
block 1281 uspace/app/sbi/src/stype.c stype_block(stype, ec->block);
block 77 uspace/app/tester/mm/common.c mem_block_t *block = list_get_instance(link, mem_block_t, link);
block 78 uspace/app/tester/mm/common.c free_block(block);
block 87 uspace/app/tester/mm/common.c static bool overlap_match(mem_block_t *block, void *addr, size_t size)
block 90 uspace/app/tester/mm/common.c uint8_t *mbeg = (uint8_t *) block;
block 91 uspace/app/tester/mm/common.c uint8_t *mend = (uint8_t *) block + sizeof(mem_block_t);
block 94 uspace/app/tester/mm/common.c uint8_t *bbeg = (uint8_t *) block->addr;
block 95 uspace/app/tester/mm/common.c uint8_t *bend = (uint8_t *) block->addr + block->size;
block 126 uspace/app/tester/mm/common.c list_foreach(mem_blocks, link, mem_block_t, block) {
block 127 uspace/app/tester/mm/common.c if (overlap_match(block, addr, size)) {
block 201 uspace/app/tester/mm/common.c mem_block_t *block =
block 203 uspace/app/tester/mm/common.c if (block == NULL)
block 206 uspace/app/tester/mm/common.c link_initialize(&block->link);
block 209 uspace/app/tester/mm/common.c block->addr = checked_malloc(size);
block 210 uspace/app/tester/mm/common.c if (block->addr == NULL) {
block 211 uspace/app/tester/mm/common.c free(block);
block 216 uspace/app/tester/mm/common.c block->size = size;
block 219 uspace/app/tester/mm/common.c list_append(&block->link, &mem_blocks);
block 223 uspace/app/tester/mm/common.c return block;
block 234 uspace/app/tester/mm/common.c void free_block(mem_block_t *block)
block 237 uspace/app/tester/mm/common.c list_remove(&block->link);
block 238 uspace/app/tester/mm/common.c mem_allocated -= block->size + sizeof(mem_block_t);
block 242 uspace/app/tester/mm/common.c free(block->addr);
block 244 uspace/app/tester/mm/common.c free(block);
block 257 uspace/app/tester/mm/common.c static inline uint8_t block_expected_value(mem_block_t *block, uint8_t *pos)
block 259 uspace/app/tester/mm/common.c return ((uintptr_t) block ^ (uintptr_t) pos) & 0xff;
block 269 uspace/app/tester/mm/common.c void fill_block(mem_block_t *block)
block 271 uspace/app/tester/mm/common.c for (uint8_t *pos = block->addr, *end = pos + block->size;
block 273 uspace/app/tester/mm/common.c *pos = block_expected_value(block, pos);
block 286 uspace/app/tester/mm/common.c void check_block(mem_block_t *block)
block 288 uspace/app/tester/mm/common.c for (uint8_t *pos = block->addr, *end = pos + block->size;
block 290 uspace/app/tester/mm/common.c if (*pos != block_expected_value(block, pos)) {
block 88 uspace/drv/block/ddisk/ddisk.c ioport32_t block;
block 225 uspace/drv/block/ddisk/ddisk.c pio_write_32(&ddisk->ddisk_regs->block, (uint32_t) ba);
block 384 uspace/lib/block/block.c errno_t block_get(block_t **block, service_id_t service_id, aoff64_t ba, int flags)
block 569 uspace/lib/block/block.c *block = b;
block 581 uspace/lib/block/block.c errno_t block_put(block_t *block)
block 583 uspace/lib/block/block.c devcon_t *devcon = devcon_search(block->service_id);
block 591 uspace/lib/block/block.c assert(block->refcnt >= 1);
block 608 uspace/lib/block/block.c fibril_mutex_lock(&block->lock);
block 609 uspace/lib/block/block.c if (block->toxic)
block 610 uspace/lib/block/block.c block->dirty = false; /* will not write back toxic block */
block 611 uspace/lib/block/block.c if (block->dirty && (block->refcnt == 1) &&
block 613 uspace/lib/block/block.c rc = write_blocks(devcon, block->pba, cache->blocks_cluster,
block 614 uspace/lib/block/block.c block->data, block->size);
block 616 uspace/lib/block/block.c block->write_failures = 0;
block 617 uspace/lib/block/block.c block->dirty = false;
block 619 uspace/lib/block/block.c fibril_mutex_unlock(&block->lock);
block 622 uspace/lib/block/block.c fibril_mutex_lock(&block->lock);
block 623 uspace/lib/block/block.c if (!--block->refcnt) {
block 636 uspace/lib/block/block.c if (block->dirty) {
block 641 uspace/lib/block/block.c block->refcnt++;
block 643 uspace/lib/block/block.c if (block->write_failures < MAX_WRITE_RETRIES) {
block 644 uspace/lib/block/block.c block->write_failures++;
block 645 uspace/lib/block/block.c fibril_mutex_unlock(&block->lock);
block 652 uspace/lib/block/block.c block->lba, devcon->service_id);
block 658 uspace/lib/block/block.c hash_table_remove_item(&cache->block_hash, &block->hash_link);
block 659 uspace/lib/block/block.c fibril_mutex_unlock(&block->lock);
block 660 uspace/lib/block/block.c free(block->data);
block 661 uspace/lib/block/block.c free(block);
block 669 uspace/lib/block/block.c if (cache->mode != CACHE_MODE_WB && block->dirty) {
block 674 uspace/lib/block/block.c block->refcnt++;
block 675 uspace/lib/block/block.c fibril_mutex_unlock(&block->lock);
block 679 uspace/lib/block/block.c list_append(&block->free_link, &cache->free_list);
block 681 uspace/lib/block/block.c fibril_mutex_unlock(&block->lock);
block 48 uspace/lib/c/common/stdc/calloc.c void *block = malloc(nmemb * size);
block 49 uspace/lib/c/common/stdc/calloc.c if (block == NULL)
block 52 uspace/lib/c/common/stdc/calloc.c memset(block, 0, nmemb * size);
block 53 uspace/lib/c/common/stdc/calloc.c return block;
block 314 uspace/lib/c/generic/malloc.c void *block = (void *) AREA_FIRST_BLOCK_HEAD(area);
block 315 uspace/lib/c/generic/malloc.c size_t bsize = (size_t) (area->end - block);
block 317 uspace/lib/c/generic/malloc.c block_init(block, bsize, true, area);
block 790 uspace/lib/c/generic/malloc.c void *block = malloc_internal(size, BASE_ALIGN);
block 793 uspace/lib/c/generic/malloc.c return block;
block 813 uspace/lib/c/generic/malloc.c void *block = malloc_internal(size, palign);
block 816 uspace/lib/c/generic/malloc.c return block;
block 39 uspace/lib/c/test/capa.c size_t block[] = {
block 95 uspace/lib/c/test/capa.c capa_from_blocks(input[i], block[x], &capa);
block 104 uspace/lib/c/test/capa.c capa_from_blocks(block[x], input[i], &capa);
block 231 uspace/lib/c/test/capa.c int block[] = {
block 273 uspace/lib/c/test/capa.c rc = capa_to_blocks(&capa, cv_nom, block[i], &ret);
block 277 uspace/lib/c/test/capa.c rc = capa_to_blocks(&capa, cv_min, block[i], &ret);
block 281 uspace/lib/c/test/capa.c rc = capa_to_blocks(&capa, cv_max, block[i], &ret);
block 276 uspace/lib/ext4/include/ext4/types.h block_t *block; /* Reference to a block containing this block group descr */
block 391 uspace/lib/ext4/include/ext4/types.h block_t *block; /* Reference to a block containing this inode */
block 433 uspace/lib/ext4/include/ext4/types.h block_t *block;
block 462 uspace/lib/ext4/include/ext4/types.h uint32_t block;
block 484 uspace/lib/ext4/include/ext4/types.h block_t *block;
block 531 uspace/lib/ext4/include/ext4/types.h block_t *block;
block 429 uspace/lib/ext4/src/directory.c block_t *block;
block 430 uspace/lib/ext4/src/directory.c rc = block_get(&block, fs->device, fblock, BLOCK_FLAGS_NONE);
block 435 uspace/lib/ext4/src/directory.c rc = ext4_directory_try_insert_entry(fs->superblock, block,
block 440 uspace/lib/ext4/src/directory.c rc = block_put(block);
block 528 uspace/lib/ext4/src/directory.c block_t *block;
block 529 uspace/lib/ext4/src/directory.c rc = block_get(&block, parent->fs->device, fblock, BLOCK_FLAGS_NONE);
block 535 uspace/lib/ext4/src/directory.c rc = ext4_directory_find_in_block(block, sb, name_len, name,
block 538 uspace/lib/ext4/src/directory.c result->block = block;
block 545 uspace/lib/ext4/src/directory.c rc = block_put(block);
block 552 uspace/lib/ext4/src/directory.c result->block = NULL;
block 583 uspace/lib/ext4/src/directory.c uint32_t pos = (void *) result.dentry - result.block->data;
block 593 uspace/lib/ext4/src/directory.c ext4_directory_entry_ll_t *tmp_dentry = result.block->data;
block 601 uspace/lib/ext4/src/directory.c tmp_dentry = result.block->data + offset;
block 615 uspace/lib/ext4/src/directory.c result.block->dirty = true;
block 710 uspace/lib/ext4/src/directory.c errno_t ext4_directory_find_in_block(block_t *block, ext4_superblock_t *sb,
block 715 uspace/lib/ext4/src/directory.c (ext4_directory_entry_ll_t *) block->data;
block 718 uspace/lib/ext4/src/directory.c uint8_t *addr_limit = block->data + ext4_superblock_get_block_size(sb);
block 763 uspace/lib/ext4/src/directory.c if (result->block)
block 764 uspace/lib/ext4/src/directory.c return block_put(result->block);
block 216 uspace/lib/ext4/src/directory_index.c return uint32_t_le2host(entry->block);
block 226 uspace/lib/ext4/src/directory_index.c uint32_t block)
block 228 uspace/lib/ext4/src/directory_index.c entry->block = host2uint32_t_le(block);
block 247 uspace/lib/ext4/src/directory_index.c block_t *block;
block 248 uspace/lib/ext4/src/directory_index.c rc = block_get(&block, dir->fs->device, fblock, BLOCK_FLAGS_NONE);
block 253 uspace/lib/ext4/src/directory_index.c ext4_directory_dx_root_t *root = block->data;
block 281 uspace/lib/ext4/src/directory_index.c block_put(block);
block 288 uspace/lib/ext4/src/directory_index.c block_put(block);
block 300 uspace/lib/ext4/src/directory_index.c block_put(block);
block 308 uspace/lib/ext4/src/directory_index.c block->dirty = true;
block 310 uspace/lib/ext4/src/directory_index.c return block_put(block);
block 429 uspace/lib/ext4/src/directory_index.c tmp_dx_block->block = tmp_block;
block 527 uspace/lib/ext4/src/directory_index.c block_t *block;
block 528 uspace/lib/ext4/src/directory_index.c rc = block_get(&block, inode_ref->fs->device, block_addr, BLOCK_FLAGS_NONE);
block 535 uspace/lib/ext4/src/directory_index.c rc = block_put(p->block);
block 539 uspace/lib/ext4/src/directory_index.c p->block = block;
block 540 uspace/lib/ext4/src/directory_index.c p->entries = ((ext4_directory_dx_node_t *) block->data)->entries;
block 625 uspace/lib/ext4/src/directory_index.c result->block = leaf_block;
block 654 uspace/lib/ext4/src/directory_index.c rc2 = block_put(tmp->block);
block 718 uspace/lib/ext4/src/directory_index.c index_block->block->dirty = true;
block 905 uspace/lib/ext4/src/directory_index.c ((ext4_directory_dx_root_t *) dx_block->block->data)->entries;
block 908 uspace/lib/ext4/src/directory_index.c ((ext4_directory_dx_node_t *) dx_block->block->data)->entries;
block 923 uspace/lib/ext4/src/directory_index.c ((ext4_directory_dx_root_t *) dx_blocks[0].block->data)->entries;
block 986 uspace/lib/ext4/src/directory_index.c dx_block->block->dirty = true;
block 988 uspace/lib/ext4/src/directory_index.c block_t *block_tmp = dx_block->block;
block 989 uspace/lib/ext4/src/directory_index.c dx_block->block = new_block;
block 1025 uspace/lib/ext4/src/directory_index.c dx_blocks[0].block->data)->info.indirect_levels = 1;
block 1031 uspace/lib/ext4/src/directory_index.c dx_block->block = new_block;
block 1161 uspace/lib/ext4/src/directory_index.c rc = block_put(dx_it->block);
block 393 uspace/lib/ext4/src/extent.c block_t *block = NULL;
block 407 uspace/lib/ext4/src/extent.c if (block != NULL) {
block 408 uspace/lib/ext4/src/extent.c rc = block_put(block);
block 413 uspace/lib/ext4/src/extent.c rc = block_get(&block, inode_ref->fs->device, child,
block 418 uspace/lib/ext4/src/extent.c header = (ext4_extent_header_t *)block->data;
block 438 uspace/lib/ext4/src/extent.c if (block != NULL)
block 439 uspace/lib/ext4/src/extent.c rc = block_put(block);
block 472 uspace/lib/ext4/src/extent.c tmp_path[0].block = inode_ref->block;
block 492 uspace/lib/ext4/src/extent.c block_t *block;
block 493 uspace/lib/ext4/src/extent.c rc = block_get(&block, inode_ref->fs->device, fblock,
block 500 uspace/lib/ext4/src/extent.c eh = (ext4_extent_header_t *)block->data;
block 501 uspace/lib/ext4/src/extent.c tmp_path[pos].block = block;
block 523 uspace/lib/ext4/src/extent.c if (tmp_path[i].block) {
block 524 uspace/lib/ext4/src/extent.c rc2 = block_put(tmp_path[i].block);
block 571 uspace/lib/ext4/src/extent.c block_t *block;
block 572 uspace/lib/ext4/src/extent.c errno_t rc = block_get(&block, inode_ref->fs->device, fblock, BLOCK_FLAGS_NONE);
block 576 uspace/lib/ext4/src/extent.c ext4_extent_header_t *header = block->data;
block 606 uspace/lib/ext4/src/extent.c rc = block_put(block);
block 680 uspace/lib/ext4/src/extent.c path_ptr->block->dirty = true;
block 687 uspace/lib/ext4/src/extent.c rc = ext4_balloc_free_block(inode_ref, path_ptr->block->lba);
block 719 uspace/lib/ext4/src/extent.c path_ptr->block->dirty = true;
block 723 uspace/lib/ext4/src/extent.c rc = ext4_balloc_free_block(inode_ref, path_ptr->block->lba);
block 743 uspace/lib/ext4/src/extent.c if (path[i].block) {
block 744 uspace/lib/ext4/src/extent.c rc2 = block_put(path[i].block);
block 789 uspace/lib/ext4/src/extent.c block_t *block;
block 790 uspace/lib/ext4/src/extent.c rc = block_get(&block, inode_ref->fs->device, fblock,
block 798 uspace/lib/ext4/src/extent.c rc = block_put(path_ptr->block);
block 801 uspace/lib/ext4/src/extent.c block_put(block);
block 806 uspace/lib/ext4/src/extent.c memset(block->data, 0, block_size);
block 807 uspace/lib/ext4/src/extent.c path_ptr->block = block;
block 810 uspace/lib/ext4/src/extent.c path_ptr->header = block->data;
block 814 uspace/lib/ext4/src/extent.c ext4_extent_index_set_leaf(path_ptr->index, (path_ptr + 1)->block->lba);
block 831 uspace/lib/ext4/src/extent.c path_ptr->block->dirty = true;
block 840 uspace/lib/ext4/src/extent.c ext4_extent_index_set_leaf(path_ptr->index, (path_ptr + 1)->block->lba);
block 847 uspace/lib/ext4/src/extent.c path_ptr->block->dirty = true;
block 867 uspace/lib/ext4/src/extent.c block_t *block;
block 868 uspace/lib/ext4/src/extent.c rc = block_get(&block, inode_ref->fs->device, new_fblock,
block 874 uspace/lib/ext4/src/extent.c memset(block->data, 0, block_size);
block 877 uspace/lib/ext4/src/extent.c memcpy(block->data, inode_ref->inode->blocks,
block 882 uspace/lib/ext4/src/extent.c block_t *root_block = path->block;
block 895 uspace/lib/ext4/src/extent.c old_root->block = block;
block 896 uspace/lib/ext4/src/extent.c old_root->header = (ext4_extent_header_t *)block->data;
block 904 uspace/lib/ext4/src/extent.c ext4_extent_index_set_leaf(old_root->index, (old_root + 1)->block->lba);
block 917 uspace/lib/ext4/src/extent.c old_root->block->dirty = true;
block 921 uspace/lib/ext4/src/extent.c new_root->block = root_block;
block 933 uspace/lib/ext4/src/extent.c new_root->block->dirty = true;
block 938 uspace/lib/ext4/src/extent.c ext4_extent_index_set_leaf(path->index, (path + 1)->block->lba);
block 945 uspace/lib/ext4/src/extent.c path->block->dirty = true;
block 1019 uspace/lib/ext4/src/extent.c path_ptr->block->dirty = true;
block 1047 uspace/lib/ext4/src/extent.c path_ptr->block->dirty = true;
block 1083 uspace/lib/ext4/src/extent.c path_ptr->block->dirty = true;
block 1097 uspace/lib/ext4/src/extent.c if (path[i].block) {
block 1098 uspace/lib/ext4/src/extent.c rc2 = block_put(path[i].block);
block 602 uspace/lib/ext4/src/filesystem.c block_t *block;
block 644 uspace/lib/ext4/src/filesystem.c rc = block_get(&block, fs->device, b, BLOCK_FLAGS_NOREAD);
block 653 uspace/lib/ext4/src/filesystem.c memset(block->data, 0, block_size);
block 656 uspace/lib/ext4/src/filesystem.c bg = (ext4_block_group_t *) (block->data + i *
block 692 uspace/lib/ext4/src/filesystem.c block->dirty = true;
block 694 uspace/lib/ext4/src/filesystem.c rc = block_put(block);
block 769 uspace/lib/ext4/src/filesystem.c for (uint32_t block = 0; block < reserved_cnt; ++block)
block 770 uspace/lib/ext4/src/filesystem.c ext4_bitmap_set_bit(bitmap, block);
block 799 uspace/lib/ext4/src/filesystem.c for (uint32_t block = bg_blocks; block < blocks_group; block++) {
block 800 uspace/lib/ext4/src/filesystem.c ext4_bitmap_set_bit(bitmap, block);
block 882 uspace/lib/ext4/src/filesystem.c block_t *block;
block 883 uspace/lib/ext4/src/filesystem.c errno_t rc = block_get(&block, bg_ref->fs->device, fblock,
block 888 uspace/lib/ext4/src/filesystem.c memset(block->data, 0, block_size);
block 889 uspace/lib/ext4/src/filesystem.c block->dirty = true;
block 891 uspace/lib/ext4/src/filesystem.c rc = block_put(block);
block 932 uspace/lib/ext4/src/filesystem.c errno_t rc = block_get(&newref->block, fs->device, block_id, 0);
block 939 uspace/lib/ext4/src/filesystem.c newref->block_group = newref->block->data + offset;
block 950 uspace/lib/ext4/src/filesystem.c block_put(newref->block);
block 965 uspace/lib/ext4/src/filesystem.c block_put(newref->block);
block 977 uspace/lib/ext4/src/filesystem.c block_put(newref->block);
block 1100 uspace/lib/ext4/src/filesystem.c ref->block->dirty = true;
block 1104 uspace/lib/ext4/src/filesystem.c errno_t rc = block_put(ref->block);
block 1167 uspace/lib/ext4/src/filesystem.c rc = block_get(&newref->block, fs->device, block_id, 0);
block 1175 uspace/lib/ext4/src/filesystem.c newref->inode = newref->block->data + offset_in_block;
block 1199 uspace/lib/ext4/src/filesystem.c ref->block->dirty = true;
block 1203 uspace/lib/ext4/src/filesystem.c errno_t rc = block_put(ref->block);
block 1393 uspace/lib/ext4/src/filesystem.c block_t *block;
block 1400 uspace/lib/ext4/src/filesystem.c errno_t rc = block_get(&block, fs->device, fblock, BLOCK_FLAGS_NONE);
block 1406 uspace/lib/ext4/src/filesystem.c ind_block = uint32_t_le2host(((uint32_t *) block->data)[offset]);
block 1411 uspace/lib/ext4/src/filesystem.c block_put(block);
block 1417 uspace/lib/ext4/src/filesystem.c rc = block_put(block);
block 1432 uspace/lib/ext4/src/filesystem.c errno_t rc = block_get(&block, fs->device, fblock, BLOCK_FLAGS_NONE);
block 1438 uspace/lib/ext4/src/filesystem.c ind_block = uint32_t_le2host(((uint32_t *) block->data)[offset]);
block 1444 uspace/lib/ext4/src/filesystem.c block_put(block);
block 1458 uspace/lib/ext4/src/filesystem.c block_put(block);
block 1466 uspace/lib/ext4/src/filesystem.c block_put(block);
block 1473 uspace/lib/ext4/src/filesystem.c block_put(block);
block 1478 uspace/lib/ext4/src/filesystem.c rc = block_put(block);
block 1647 uspace/lib/ext4/src/filesystem.c block_t *block;
block 1655 uspace/lib/ext4/src/filesystem.c errno_t rc = block_get(&block, fs->device, current_block, 0);
block 1661 uspace/lib/ext4/src/filesystem.c uint32_t_le2host(((uint32_t *) block->data)[offset_in_block]);
block 1664 uspace/lib/ext4/src/filesystem.c rc = block_put(block);
block 1745 uspace/lib/ext4/src/filesystem.c block_t *block;
block 1785 uspace/lib/ext4/src/filesystem.c errno_t rc = block_get(&block, fs->device, current_block, 0);
block 1790 uspace/lib/ext4/src/filesystem.c uint32_t_le2host(((uint32_t *) block->data)[offset_in_block]);
block 1796 uspace/lib/ext4/src/filesystem.c block_put(block);
block 1804 uspace/lib/ext4/src/filesystem.c block_put(block);
block 1814 uspace/lib/ext4/src/filesystem.c block_put(block);
block 1819 uspace/lib/ext4/src/filesystem.c ((uint32_t *) block->data)[offset_in_block] =
block 1821 uspace/lib/ext4/src/filesystem.c block->dirty = true;
block 1827 uspace/lib/ext4/src/filesystem.c ((uint32_t *) block->data)[offset_in_block] =
block 1829 uspace/lib/ext4/src/filesystem.c block->dirty = true;
block 1832 uspace/lib/ext4/src/filesystem.c rc = block_put(block);
block 1912 uspace/lib/ext4/src/filesystem.c block_t *block;
block 1919 uspace/lib/ext4/src/filesystem.c errno_t rc = block_get(&block, fs->device, current_block, 0);
block 1924 uspace/lib/ext4/src/filesystem.c uint32_t_le2host(((uint32_t *) block->data)[offset_in_block]);
block 1928 uspace/lib/ext4/src/filesystem.c ((uint32_t *) block->data)[offset_in_block] =
block 1930 uspace/lib/ext4/src/filesystem.c block->dirty = true;
block 1933 uspace/lib/ext4/src/filesystem.c rc = block_put(block);
block 1250 uspace/lib/ext4/src/ops.c block_t *block;
block 1251 uspace/lib/ext4/src/ops.c rc = block_get(&block, inst->service_id, fs_block, BLOCK_FLAGS_NONE);
block 1258 uspace/lib/ext4/src/ops.c rc = async_data_read_finalize(call, block->data + offset_in_block, bytes);
block 1260 uspace/lib/ext4/src/ops.c block_put(block);
block 1264 uspace/lib/ext4/src/ops.c rc = block_put(block);
block 78 uspace/lib/untar/untar.c uint8_t block[TAR_BLOCK_SIZE];
block 79 uspace/lib/untar/untar.c size_t actually_read = tar_read(tar, block, TAR_BLOCK_SIZE);
block 106 uspace/lib/untar/untar.c uint8_t block[TAR_BLOCK_SIZE];
block 107 uspace/lib/untar/untar.c size_t actually_read = tar_read(tar, block, TAR_BLOCK_SIZE);
block 119 uspace/lib/untar/untar.c size_t actually_written = fwrite(block, 1, to_write, file);
block 582 uspace/srv/fs/cdfs/cdfs_ops.c block_t *block;
block 583 uspace/srv/fs/cdfs/cdfs_ops.c errno_t rc = block_get(&block, fs->service_id, node->lba + i, BLOCK_FLAGS_NONE);
block 591 uspace/srv/fs/cdfs/cdfs_ops.c dir = (cdfs_dir_t *) (block->data + offset);
block 642 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 654 uspace/srv/fs/cdfs/cdfs_ops.c block_t *block;
block 655 uspace/srv/fs/cdfs/cdfs_ops.c errno_t rc = block_get(&block, fs->service_id, lba, BLOCK_FLAGS_NONE);
block 659 uspace/srv/fs/cdfs/cdfs_ops.c cdfs_dir_t *dir = (cdfs_dir_t *) (block->data + offset);
block 680 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 905 uspace/srv/fs/cdfs/cdfs_ops.c block_t *block;
block 906 uspace/srv/fs/cdfs/cdfs_ops.c errno_t rc = block_get(&block, sid, bi, BLOCK_FLAGS_NONE);
block 910 uspace/srv/fs/cdfs/cdfs_ops.c cdfs_vol_desc_t *vol_desc = (cdfs_vol_desc_t *) block->data;
block 913 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 920 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 940 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 946 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 959 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 971 uspace/srv/fs/cdfs/cdfs_ops.c block_t *block;
block 972 uspace/srv/fs/cdfs/cdfs_ops.c errno_t rc = block_get(&block, sid, altroot + 16, BLOCK_FLAGS_NONE);
block 976 uspace/srv/fs/cdfs/cdfs_ops.c cdfs_vol_desc_t *vol_desc = (cdfs_vol_desc_t *) block->data;
block 985 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 1005 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 1011 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 1036 uspace/srv/fs/cdfs/cdfs_ops.c block_put(block);
block 1294 uspace/srv/fs/cdfs/cdfs_ops.c block_t *block;
block 1295 uspace/srv/fs/cdfs/cdfs_ops.c errno_t rc = block_get(&block, service_id, node->lba + lba,
block 1302 uspace/srv/fs/cdfs/cdfs_ops.c async_data_read_finalize(&call, block->data + offset,
block 1304 uspace/srv/fs/cdfs/cdfs_ops.c rc = block_put(block);
block 124 uspace/srv/fs/exfat/exfat_fat.c exfat_block_get(block_t **block, exfat_bs_t *bs, exfat_node_t *nodep,
block 142 uspace/srv/fs/exfat/exfat_fat.c return block_get(block, nodep->idx->service_id, DATA_FS(bs) +
block 157 uspace/srv/fs/exfat/exfat_fat.c rc = exfat_block_get_by_clst(block, bs, nodep->idx->service_id,
block 188 uspace/srv/fs/exfat/exfat_fat.c exfat_block_get_by_clst(block_t **block, exfat_bs_t *bs,
block 201 uspace/srv/fs/exfat/exfat_fat.c rc = block_get(block, service_id, DATA_FS(bs) +
block 210 uspace/srv/fs/exfat/exfat_fat.c rc = block_get(block, service_id, DATA_FS(bs) +
block 54 uspace/srv/fs/exfat/exfat_fat.h struct block;
block 959 uspace/srv/fs/exfat/exfat_ops.c block_t *block;
block 963 uspace/srv/fs/exfat/exfat_ops.c rc = exfat_block_get(&block, bs, bmap_node, sector,
block 970 uspace/srv/fs/exfat/exfat_ops.c bitmap = (uint8_t *) block->data;
block 978 uspace/srv/fs/exfat/exfat_ops.c block_put(block);
block 126 uspace/srv/fs/fat/fat_fat.c fat_block_get(block_t **block, struct fat_bs *bs, fat_node_t *nodep,
block 146 uspace/srv/fs/fat/fat_fat.c return block_get(block, nodep->idx->service_id,
block 160 uspace/srv/fs/fat/fat_fat.c rc = _fat_block_get(block, bs, nodep->idx->service_id, firstc,
block 191 uspace/srv/fs/fat/fat_fat.c _fat_block_get(block_t **block, fat_bs_t *bs, service_id_t service_id,
block 208 uspace/srv/fs/fat/fat_fat.c rc = block_get(block, service_id,
block 219 uspace/srv/fs/fat/fat_fat.c rc = block_get(block, service_id, CLBN2PBN(bs, c, bn), flags);
block 102 uspace/srv/fs/fat/fat_fat.h struct block;
block 172 uspace/srv/fs/mfs/mfs_balloc.c unsigned long block;
block 183 uspace/srv/fs/mfs/mfs_balloc.c for (block = 0; block < nblocks; ++block) {
block 184 uspace/srv/fs/mfs/mfs_balloc.c r = block_get(&b, inst->service_id, block + start_block,
block 261 uspace/srv/fs/mfs/mfs_balloc.c uint32_t block = idx / (sbi->block_size * 8) + start_block;
block 263 uspace/srv/fs/mfs/mfs_balloc.c r = block_get(&b, inst->service_id, block, BLOCK_FLAGS_NONE);
block 52 uspace/srv/fs/mfs/mfs_dentry.c uint32_t block;
block 55 uspace/srv/fs/mfs/mfs_dentry.c errno_t r = mfs_read_map(&block, mnode, index * sbi->dirsize);
block 59 uspace/srv/fs/mfs/mfs_dentry.c if (block == 0) {
block 65 uspace/srv/fs/mfs/mfs_dentry.c r = block_get(&b, inst->service_id, block, BLOCK_FLAGS_NONE);
block 116 uspace/srv/fs/mfs/mfs_dentry.c uint32_t block;
block 119 uspace/srv/fs/mfs/mfs_dentry.c r = mfs_read_map(&block, mnode, d_off_bytes);
block 123 uspace/srv/fs/mfs/mfs_dentry.c r = block_get(&b, mnode->instance->service_id, block, BLOCK_FLAGS_NONE);
block 961 uspace/srv/fs/mfs/mfs_ops.c uint32_t block;
block 966 uspace/srv/fs/mfs/mfs_ops.c r = mfs_read_map(&block, mnode, pos);
block 970 uspace/srv/fs/mfs/mfs_ops.c if (block == 0) {
block 973 uspace/srv/fs/mfs/mfs_ops.c r = mfs_alloc_zone(mnode->instance, &block);
block 977 uspace/srv/fs/mfs/mfs_ops.c r = mfs_write_map(mnode, pos, block, &dummy);
block 979 uspace/srv/fs/mfs/mfs_ops.c mfs_free_zone(mnode->instance, block);
block 987 uspace/srv/fs/mfs/mfs_ops.c r = block_get(&b, service_id, block, flags);
block 62 uspace/srv/fs/udf/udf_file.c block_t *block = NULL;
block 63 uspace/srv/fs/udf/udf_file.c errno_t rc = block_get(&block, node->instance->service_id, pos,
block 68 uspace/srv/fs/udf/udf_file.c udf_ext_ad_t *exd = (udf_ext_ad_t *) block->data;
block 78 uspace/srv/fs/udf/udf_file.c block_put(block);
block 240 uspace/srv/fs/udf/udf_file.c block_t *block = NULL;
block 241 uspace/srv/fs/udf/udf_file.c errno_t rc = block_get(&block, node->instance->service_id, pos,
block 246 uspace/srv/fs/udf/udf_file.c udf_descriptor_tag_t *data = (udf_descriptor_tag_t *) block->data;
block 248 uspace/srv/fs/udf/udf_file.c block_put(block);
block 258 uspace/srv/fs/udf/udf_file.c (udf_file_entry_descriptor_t *) block->data;
block 265 uspace/srv/fs/udf/udf_file.c block_put(block);
block 272 uspace/srv/fs/udf/udf_file.c (udf_extended_file_entry_descriptor_t *) block->data;
block 279 uspace/srv/fs/udf/udf_file.c block_put(block);
block 284 uspace/srv/fs/udf/udf_file.c block_put(block);
block 290 uspace/srv/fs/udf/udf_file.c rc = block_put(block);
block 371 uspace/srv/fs/udf/udf_file.c errno_t udf_get_fid(udf_file_identifier_descriptor_t **fid, block_t **block,
block 375 uspace/srv/fs/udf/udf_file.c return udf_get_fid_in_allocator(fid, block, node, pos);
block 391 uspace/srv/fs/udf/udf_file.c block_t **block, udf_node_t *node, aoff64_t pos)
block 404 uspace/srv/fs/udf/udf_file.c errno_t rc = block_get(block, node->instance->service_id,
block 419 uspace/srv/fs/udf/udf_file.c memcpy(buf, (*block)->data, len);
block 420 uspace/srv/fs/udf/udf_file.c block_put(*block);
block 421 uspace/srv/fs/udf/udf_file.c *block = NULL;
block 425 uspace/srv/fs/udf/udf_file.c rc = udf_get_fid_in_sector(fid, block, node, pos, &n, &buf, &len);
block 437 uspace/srv/fs/udf/udf_file.c if (block) {
block 438 uspace/srv/fs/udf/udf_file.c rc = block_put(*block);
block 439 uspace/srv/fs/udf/udf_file.c *block = NULL;
block 472 uspace/srv/fs/udf/udf_file.c block_t **block, udf_node_t *node, aoff64_t pos, size_t *n, void **buf,
block 493 uspace/srv/fs/udf/udf_file.c memcpy((fidbuf + *len), (*block)->data,
block 497 uspace/srv/fs/udf/udf_file.c fid_data = (*block)->data + fid_sum;
block 558 uspace/srv/fs/udf/udf_file.c memcpy(*buf, ((*block)->data + fid_sum), *len);
block 595 uspace/srv/fs/udf/udf_file.c block_t *block = NULL;
block 596 uspace/srv/fs/udf/udf_file.c errno_t rc = block_get(&block, node->instance->service_id,
block 621 uspace/srv/fs/udf/udf_file.c async_data_read_finalize(call, block->data + sector_pos, *read_len);
block 622 uspace/srv/fs/udf/udf_file.c return block_put(block);
block 116 uspace/srv/fs/udf/udf_ops.c block_t *block = NULL;
block 120 uspace/srv/fs/udf/udf_ops.c while (udf_get_fid(&fid, &block, UDF_NODE(pfn), pos) == EOK) {
block 131 uspace/srv/fs/udf/udf_ops.c if (block != NULL)
block 132 uspace/srv/fs/udf/udf_ops.c block_put(block);
block 138 uspace/srv/fs/udf/udf_ops.c if (block != NULL) {
block 139 uspace/srv/fs/udf/udf_ops.c errno_t rc = block_put(block);
block 492 uspace/srv/fs/udf/udf_ops.c block_t *block = NULL;
block 494 uspace/srv/fs/udf/udf_ops.c if (udf_get_fid(&fid, &block, node, pos) == EOK) {
block 508 uspace/srv/fs/udf/udf_ops.c if (block != NULL)
block 509 uspace/srv/fs/udf/udf_ops.c return block_put(block);
block 365 uspace/srv/fs/udf/udf_volume.c block_t *block = NULL;
block 366 uspace/srv/fs/udf/udf_volume.c errno_t rc = block_get(&block, instance->service_id, pos,
block 371 uspace/srv/fs/udf/udf_volume.c udf_descriptor_tag_t *desc = (udf_descriptor_tag_t *) (block->data);
block 373 uspace/srv/fs/udf/udf_volume.c block_put(block);
block 387 uspace/srv/fs/udf/udf_volume.c (udf_file_entry_descriptor_t *) block->data;
block 399 uspace/srv/fs/udf/udf_volume.c (udf_extended_file_entry_descriptor_t *) block->data;
block 407 uspace/srv/fs/udf/udf_volume.c return block_put(block);
block 644 uspace/srv/fs/udf/udf_volume.c block_t *block = NULL;
block 645 uspace/srv/fs/udf/udf_volume.c rc = block_get(&block, service_id, pos, BLOCK_FLAGS_NONE);
block 654 uspace/srv/fs/udf/udf_volume.c (udf_volume_descriptor_t *) block->data;
block 783 uspace/srv/fs/udf/udf_volume.c memcpy(instance->uasd, block->data, instance->sector_size);
block 805 uspace/srv/fs/udf/udf_volume.c rc = block_put(block);
block 821 uspace/srv/fs/udf/udf_volume.c block_t *block = NULL;
block 822 uspace/srv/fs/udf/udf_volume.c rc = block_get(&block, instance->service_id, pos,
block 829 uspace/srv/fs/udf/udf_volume.c udf_descriptor_tag_t *desc = block->data;
block 840 uspace/srv/fs/udf/udf_volume.c udf_fileset_descriptor_t *fd = block->data;
HelenOS homepage, sources at GitHub