Searched refs:GET_BLOCK_SIZE (Results 1 – 5 of 5) sorted by relevance
106 case GET_BLOCK_SIZE: in disk_ioctl()
1242 #define GET_BLOCK_SIZE(v) (((v) & 0x7)) macro1372 ret = 1 << (GET_BLOCK_SIZE(ret) + 4); in coap_get_block1_option()1387 ret = 1 << (GET_BLOCK_SIZE(ret) + 4); in coap_get_block2_option()1444 size_t new_current = GET_NUM(block) << (GET_BLOCK_SIZE(block) + 4); in update_descriptive_block()1454 if (ctx->current > 0 && GET_BLOCK_SIZE(block) > ctx->block_size) { in update_descriptive_block()1466 ctx->block_size = MIN(GET_BLOCK_SIZE(block), ctx->block_size); in update_descriptive_block()1474 size_t new_current = GET_NUM(block) << (GET_BLOCK_SIZE(block) + 4); in update_control_block1()1484 if (GET_BLOCK_SIZE(block) > ctx->block_size) { in update_control_block1()1488 ctx->block_size = GET_BLOCK_SIZE(block); in update_control_block1()1500 size_t new_current = GET_NUM(block) << (GET_BLOCK_SIZE(block) + 4); in update_control_block2()[all …]
1336 #define GET_BLOCK_SIZE(i, total_size, local_blocks, remote_blocks) ROUND_DOWN( \ macro1344 ((total_size) - GET_BLOCK_SIZE(i, (total_size), (local_blocks), \1399 GET_BLOCK_SIZE( \
246 #define GET_BLOCK_SIZE(v) (((v) & 0x7)) macro
2107 block_size = GET_BLOCK_SIZE(block_opt); in parse_write_op()