/Linux-v5.4/fs/btrfs/tests/ |
D | extent-map-tests.c | 25 em->block_len, refcount_read(&em->refs)); in free_extent_map_tree() 68 em->block_len = SZ_16K; in test_case_1() 89 em->block_len = SZ_4K; in test_case_1() 110 em->block_len = len; in test_case_1() 120 em->block_start != 0 || em->block_len != SZ_16K)) { in test_case_1() 124 em->block_start, em->block_len); in test_case_1() 156 em->block_len = (u64)-1; in test_case_2() 177 em->block_len = SZ_4K; in test_case_2() 198 em->block_len = (u64)-1; in test_case_2() 208 em->block_start != EXTENT_MAP_INLINE || em->block_len != (u64)-1)) { in test_case_2() [all …]
|
/Linux-v5.4/drivers/thunderbolt/ |
D | property.c | 39 size_t block_len, unsigned int dir_offset, size_t dir_len, 53 size_t block_len) in tb_property_entry_valid() argument 59 if (entry->length > block_len) in tb_property_entry_valid() 61 if (entry->value + entry->length > block_len) in tb_property_entry_valid() 95 static struct tb_property *tb_property_parse(const u32 *block, size_t block_len, in tb_property_parse() argument 102 if (!tb_property_entry_valid(entry, block_len)) in tb_property_parse() 116 dir = __tb_property_parse_dir(block, block_len, entry->value, in tb_property_parse() 162 size_t block_len, unsigned int dir_offset, size_t dir_len, bool is_root) in __tb_property_parse_dir() argument 195 property = tb_property_parse(block, block_len, &entries[i]); in __tb_property_parse_dir() 221 size_t block_len) in tb_property_parse_dir() argument [all …]
|
/Linux-v5.4/arch/sparc/crypto/ |
D | des_glue.c | 107 unsigned int block_len = nbytes & DES_BLOCK_MASK; in __ecb_crypt() local 109 if (likely(block_len)) { in __ecb_crypt() 112 block_len); in __ecb_crypt() 152 unsigned int block_len = nbytes & DES_BLOCK_MASK; in cbc_encrypt() local 154 if (likely(block_len)) { in cbc_encrypt() 157 block_len, (u64 *) walk.iv); in cbc_encrypt() 183 unsigned int block_len = nbytes & DES_BLOCK_MASK; in cbc_decrypt() local 185 if (likely(block_len)) { in cbc_decrypt() 188 block_len, (u64 *) walk.iv); in cbc_decrypt() 273 unsigned int block_len = nbytes & DES_BLOCK_MASK; in __ecb3_crypt() local [all …]
|
D | aes_glue.c | 230 unsigned int block_len = nbytes & AES_BLOCK_MASK; in ecb_encrypt() local 232 if (likely(block_len)) { in ecb_encrypt() 236 block_len); in ecb_encrypt() 261 unsigned int block_len = nbytes & AES_BLOCK_MASK; in ecb_decrypt() local 263 if (likely(block_len)) { in ecb_decrypt() 266 (u64 *) walk.dst.virt.addr, block_len); in ecb_decrypt() 290 unsigned int block_len = nbytes & AES_BLOCK_MASK; in cbc_encrypt() local 292 if (likely(block_len)) { in cbc_encrypt() 296 block_len, (u64 *) walk.iv); in cbc_encrypt() 321 unsigned int block_len = nbytes & AES_BLOCK_MASK; in cbc_decrypt() local [all …]
|
D | camellia_glue.c | 110 unsigned int block_len = nbytes & CAMELLIA_BLOCK_MASK; in __ecb_crypt() local 112 if (likely(block_len)) { in __ecb_crypt() 118 op(src64, dst64, block_len, key); in __ecb_crypt() 170 unsigned int block_len = nbytes & CAMELLIA_BLOCK_MASK; in cbc_encrypt() local 172 if (likely(block_len)) { in cbc_encrypt() 178 op(src64, dst64, block_len, key, in cbc_encrypt() 209 unsigned int block_len = nbytes & CAMELLIA_BLOCK_MASK; in cbc_decrypt() local 211 if (likely(block_len)) { in cbc_decrypt() 217 op(src64, dst64, block_len, key, in cbc_decrypt()
|
/Linux-v5.4/drivers/media/i2c/ |
D | saa7185.c | 78 int block_len; in saa7185_write_block() local 81 block_len = 0; in saa7185_write_block() 82 block_data[block_len++] = reg = data[0]; in saa7185_write_block() 84 block_data[block_len++] = in saa7185_write_block() 88 } while (len >= 2 && data[0] == reg && block_len < 32); in saa7185_write_block() 89 ret = i2c_master_send(client, block_data, block_len); in saa7185_write_block()
|
D | adv7170.c | 89 int block_len; in adv7170_write_block() local 92 block_len = 0; in adv7170_write_block() 93 block_data[block_len++] = reg = data[0]; in adv7170_write_block() 95 block_data[block_len++] = in adv7170_write_block() 99 } while (len >= 2 && data[0] == reg && block_len < 32); in adv7170_write_block() 100 ret = i2c_master_send(client, block_data, block_len); in adv7170_write_block()
|
D | adv7175.c | 83 int block_len; in adv7175_write_block() local 86 block_len = 0; in adv7175_write_block() 87 block_data[block_len++] = reg = data[0]; in adv7175_write_block() 89 block_data[block_len++] = data[1]; in adv7175_write_block() 93 } while (len >= 2 && data[0] == reg && block_len < 32); in adv7175_write_block() 94 ret = i2c_master_send(client, block_data, block_len); in adv7175_write_block()
|
D | bt819.c | 102 int block_len; in bt819_write_block() local 105 block_len = 0; in bt819_write_block() 106 block_data[block_len++] = reg = data[0]; in bt819_write_block() 108 block_data[block_len++] = in bt819_write_block() 112 } while (len >= 2 && data[0] == reg && block_len < 32); in bt819_write_block() 113 ret = i2c_master_send(client, block_data, block_len); in bt819_write_block()
|
/Linux-v5.4/fs/cramfs/ |
D | inode.c | 834 u32 block_ptr, block_start, block_len; in cramfs_readpage() local 852 block_len = PAGE_SIZE; in cramfs_readpage() 855 block_len = in cramfs_readpage() 858 block_len = *(u16 *) in cramfs_readpage() 883 block_len = *(u16 *) in cramfs_readpage() 885 block_start += 2 + block_len; in cramfs_readpage() 889 block_len = block_ptr - block_start; in cramfs_readpage() 892 if (block_len == 0) in cramfs_readpage() 894 else if (unlikely(block_len > 2*PAGE_SIZE || in cramfs_readpage() 895 (uncompressed && block_len > PAGE_SIZE))) { in cramfs_readpage() [all …]
|
/Linux-v5.4/fs/btrfs/ |
D | extent_map.h | 42 u64 block_len; member 79 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end() 81 return em->block_start + em->block_len; in extent_map_block_end()
|
D | extent_map.c | 244 em->block_len += merge->block_len; in try_merge_map() 261 em->block_len += merge->block_len; in try_merge_map() 556 em->block_len = em->len; in merge_extent_mapping()
|
D | file.c | 655 split->block_len = em->block_len; in btrfs_drop_extent_cache() 657 split->block_len = split->len; in btrfs_drop_extent_cache() 658 split->orig_block_len = max(split->block_len, in btrfs_drop_extent_cache() 663 split->block_len = 0; in btrfs_drop_extent_cache() 689 split->orig_block_len = max(em->block_len, in btrfs_drop_extent_cache() 694 split->block_len = em->block_len; in btrfs_drop_extent_cache() 698 split->block_len = split->len; in btrfs_drop_extent_cache() 706 split->block_len = 0; in btrfs_drop_extent_cache() 2360 hole_em->block_len = 0; in fill_holes()
|
D | file-item.c | 980 em->block_len = em->orig_block_len; in btrfs_extent_item_to_extent_map() 984 em->block_len = em->len; in btrfs_extent_item_to_extent_map() 997 em->block_len = (u64)-1; in btrfs_extent_item_to_extent_map()
|
/Linux-v5.4/drivers/net/wireless/intersil/hostap/ |
D | hostap_download.c | 552 int block_len; in prism2_download_block() local 554 block_len = rest_len < 4096 ? rest_len : 4096; in prism2_download_block() 559 HFA384X_OUTW(block_len, HFA384X_PARAM2_OFF); in prism2_download_block() 570 if (hfa384x_to_aux(dev, bufaddr, block_len, data)) { in prism2_download_block() 572 "(len=%d) failed\n", dev->name, addr, block_len); in prism2_download_block() 586 return block_len; in prism2_download_block() 652 int block_len; in prism2_download_nonvolatile() local 654 block_len = prism2_download_block( in prism2_download_nonvolatile() 659 if (block_len < 0) { in prism2_download_nonvolatile() 664 rest_len -= block_len; in prism2_download_nonvolatile() [all …]
|
/Linux-v5.4/drivers/input/rmi4/ |
D | rmi_smbus.c | 151 int block_len = min_t(int, len, SMB_MAX_COUNT); in rmi_smb_write_block() local 153 retval = rmi_smb_get_command_code(xport, rmiaddr, block_len, in rmi_smb_write_block() 159 databuff, block_len); in rmi_smb_write_block() 203 int block_len = min_t(int, cur_len, SMB_MAX_COUNT); in rmi_smb_read_block() local 205 retval = rmi_smb_get_command_code(xport, rmiaddr, block_len, in rmi_smb_read_block() 211 databuff, block_len); in rmi_smb_read_block()
|
/Linux-v5.4/sound/soc/codecs/ |
D | wm8958-dsp2.c | 47 size_t block_len, len; in wm8958_dsp2_fw() local 108 block_len = be32_to_cpu(data32); in wm8958_dsp2_fw() 109 if (block_len + 8 > len) { in wm8958_dsp2_fw() 111 block_len); in wm8958_dsp2_fw() 114 if (block_len == 0) { in wm8958_dsp2_fw() 128 str = kzalloc(block_len + 1, GFP_KERNEL); in wm8958_dsp2_fw() 130 memcpy(str, data + 8, block_len); in wm8958_dsp2_fw() 145 block_len, (data32 >> 24) & 0xff, in wm8958_dsp2_fw() 155 block_len / 2, in wm8958_dsp2_fw() 166 block_len += block_len % 4; in wm8958_dsp2_fw() [all …]
|
/Linux-v5.4/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf-i2c.c | 434 u16 block_len; in mxl111sf_i2c_hw_xfer_msg() local 508 block_len = (msg->len / 8); in mxl111sf_i2c_hw_xfer_msg() 512 block_len, left_over_len); in mxl111sf_i2c_hw_xfer_msg() 514 for (index = 0; index < block_len; index++) { in mxl111sf_i2c_hw_xfer_msg() 615 block_len = ((msg->len) / 8); in mxl111sf_i2c_hw_xfer_msg() 620 block_len, left_over_len); in mxl111sf_i2c_hw_xfer_msg() 626 for (index = 0; index < block_len; index++) { in mxl111sf_i2c_hw_xfer_msg() 726 msg->buf[(block_len*8)+i] = in mxl111sf_i2c_hw_xfer_msg()
|
/Linux-v5.4/drivers/net/wireless/intersil/p54/ |
D | p54usb.c | 743 unsigned int block_len = min(remains, (unsigned int)512); in p54u_upload_firmware_net2280() local 744 memcpy(buf, data, block_len); in p54u_upload_firmware_net2280() 746 err = p54u_bulk_msg(priv, P54U_PIPE_DATA, buf, block_len); in p54u_upload_firmware_net2280() 764 cpu_to_le32(block_len)); in p54u_upload_firmware_net2280() 772 cpu_to_le32(block_len >> 2)); in p54u_upload_firmware_net2280() 790 remains -= block_len; in p54u_upload_firmware_net2280() 791 data += block_len; in p54u_upload_firmware_net2280() 792 offset += block_len; in p54u_upload_firmware_net2280()
|
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
D | falcon.c | 619 size_t block_len, pos = 0; in falcon_spi_read() local 624 block_len = min(len - pos, FALCON_SPI_MAX_LEN); in falcon_spi_read() 628 buffer + pos, block_len); in falcon_spi_read() 631 pos += block_len; in falcon_spi_read() 695 size_t block_len, pos = 0; in falcon_spi_write() local 704 block_len = min(len - pos, in falcon_spi_write() 708 buffer + pos, NULL, block_len); in falcon_spi_write() 718 NULL, verify_buffer, block_len); in falcon_spi_write() 719 if (memcmp(verify_buffer, buffer + pos, block_len)) { in falcon_spi_write() 724 pos += block_len; in falcon_spi_write() [all …]
|
/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | tx.c | 205 int block_len = len & ~(sizeof(copy_buf->buf) - 1); in efx_memcpy_toio_aligned() local 207 __iowrite64_copy(*piobuf, data, block_len >> 3); in efx_memcpy_toio_aligned() 208 *piobuf += block_len; in efx_memcpy_toio_aligned() 209 len -= block_len; in efx_memcpy_toio_aligned() 212 data += block_len; in efx_memcpy_toio_aligned()
|
/Linux-v5.4/lib/ |
D | ts_fsm.c | 139 unsigned block_len = 0, strict, consumed = state->offset; in fsm_find() local 145 block_len = conf->get_next_block(consumed, &data, conf, state); }) in fsm_find() 155 #define end_of_data() unlikely(block_idx >= block_len && !GET_NEXT_BLOCK()) in fsm_find()
|
/Linux-v5.4/drivers/media/usb/usbvision/ |
D | usbvision-core.c | 585 int rest_pixel, idx, pos, extra_pos, block_len, block_type_pos, block_type_len; in usbvision_decompress() local 592 block_len = 0; in usbvision_decompress() 601 if (block_len == 0) { in usbvision_decompress() 626 block_len = 24; in usbvision_decompress() 628 block_len = rest_pixel; in usbvision_decompress() 629 rest_pixel -= block_len; in usbvision_decompress() 630 extra_pos = pos + (block_len / 4); in usbvision_decompress() 635 if (block_len > 0) { in usbvision_decompress() 636 if ((block_len % 4) == 0) { in usbvision_decompress() 656 block_len -= 1; in usbvision_decompress()
|
/Linux-v5.4/include/linux/ |
D | thunderbolt.h | 143 size_t block_len); 145 size_t block_len);
|
/Linux-v5.4/drivers/s390/net/ |
D | ctcm_fsms.c | 362 __u16 block_len = *((__u16 *)skb->data); in chx_rx() local 390 check_len = block_len + 2; in chx_rx() 393 check_len = block_len; in chx_rx() 396 if ((len < block_len) || (len > check_len)) { in chx_rx() 399 CTCM_FUNTAIL, dev->name, block_len, len); in chx_rx() 408 if (block_len > 2) { in chx_rx() 409 *((__u16 *)skb->data) = block_len - 2; in chx_rx() 1410 __u32 block_len = len; in ctcmpc_chx_rx() local 1428 skb_put_data(new_skb, skb->data, block_len); in ctcmpc_chx_rx()
|