Home
last modified time | relevance | path

Searched refs:last_blk (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Daes_ccm.c104 uint16_t blk_cnt, last_blk; in ccm_auth() local
107 last_blk = msg_len % 16; in ccm_auth()
109 if (!last_blk) { in ccm_auth()
110 last_blk = 16U; in ccm_auth()
129 for (i = 0; i < last_blk; i++) { in ccm_auth()
156 uint16_t last_blk, blk_cnt; in ccm_crypt() local
160 last_blk = msg_len % 16; in ccm_crypt()
162 if (!last_blk) { in ccm_crypt()
163 last_blk = 16U; in ccm_crypt()
182 for (i = 0; i < last_blk; i++) { in ccm_crypt()
/Zephyr-Core-3.5.0/subsys/fs/ext2/
Dext2_impl.c947 int last_blk = (dir->i_size / block_size) - 1; in ext2_add_direntry() local
949 rc = ext2_fetch_inode_block(dir, last_blk); in ext2_add_direntry()
986 rc = ext2_fetch_inode_block(dir, last_blk + 1); in ext2_add_direntry()
1159 uint32_t last_blk = parent->i_size / block_size - 1; in ext2_del_direntry() local
1165 parent->i_block[blk] = parent->i_block[last_blk]; in ext2_del_direntry()
1166 parent->i_block[last_blk] = 0; in ext2_del_direntry()