Searched refs:GET_BLOCK_SIZE (Results 1 – 5 of 5) sorted by relevance
103 case GET_BLOCK_SIZE: in disk_ioctl()
1241 #define GET_BLOCK_SIZE(v) (((v) & 0x7)) macro1371 ret = 1 << (GET_BLOCK_SIZE(ret) + 4); in coap_get_block1_option()1386 ret = 1 << (GET_BLOCK_SIZE(ret) + 4); in coap_get_block2_option()1443 size_t new_current = GET_NUM(block) << (GET_BLOCK_SIZE(block) + 4); in update_descriptive_block()1453 if (ctx->current > 0 && GET_BLOCK_SIZE(block) > ctx->block_size) { in update_descriptive_block()1465 ctx->block_size = MIN(GET_BLOCK_SIZE(block), ctx->block_size); in update_descriptive_block()1473 size_t new_current = GET_NUM(block) << (GET_BLOCK_SIZE(block) + 4); in update_control_block1()1483 if (GET_BLOCK_SIZE(block) > ctx->block_size) { in update_control_block1()1487 ctx->block_size = GET_BLOCK_SIZE(block); in update_control_block1()1499 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
2099 block_size = GET_BLOCK_SIZE(block_opt); in parse_write_op()