/kernel/linux/linux-5.10/fs/btrfs/tests/ |
D | extent-map-tests.c | 28 em->block_len, refcount_read(&em->refs)); in free_extent_map_tree() 71 em->block_len = SZ_16K; in test_case_1() 92 em->block_len = SZ_4K; in test_case_1() 113 em->block_len = len; in test_case_1() 123 em->block_start != 0 || em->block_len != SZ_16K)) { in test_case_1() 127 em->block_start, em->block_len); in test_case_1() 159 em->block_len = (u64)-1; in test_case_2() 180 em->block_len = SZ_4K; in test_case_2() 201 em->block_len = (u64)-1; in test_case_2() 211 em->block_start != EXTENT_MAP_INLINE || em->block_len != (u64)-1)) { in test_case_2() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/cramfs/ |
D | inode.c | 833 u32 block_ptr, block_start, block_len; in cramfs_readpage() local 851 block_len = PAGE_SIZE; in cramfs_readpage() 854 block_len = in cramfs_readpage() 857 block_len = *(u16 *) in cramfs_readpage() 882 block_len = *(u16 *) in cramfs_readpage() 884 block_start += 2 + block_len; in cramfs_readpage() 888 block_len = block_ptr - block_start; in cramfs_readpage() 891 if (block_len == 0) in cramfs_readpage() 893 else if (unlikely(block_len > 2*PAGE_SIZE || in cramfs_readpage() 894 (uncompressed && block_len > PAGE_SIZE))) { in cramfs_readpage() [all …]
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | extent_map.h | 42 u64 block_len; member 72 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end() 74 return em->block_start + em->block_len; in extent_map_block_end()
|
D | extent_map.c | 259 em->block_len += merge->block_len; in try_merge_map() 276 em->block_len += merge->block_len; in try_merge_map() 571 em->block_len = em->len; in merge_extent_mapping()
|
D | file.c | 585 split->block_len = em->block_len; in btrfs_drop_extent_cache() 587 split->block_len = split->len; in btrfs_drop_extent_cache() 588 split->orig_block_len = max(split->block_len, in btrfs_drop_extent_cache() 593 split->block_len = 0; in btrfs_drop_extent_cache() 617 split->orig_block_len = max(em->block_len, in btrfs_drop_extent_cache() 622 split->block_len = em->block_len; in btrfs_drop_extent_cache() 626 split->block_len = split->len; in btrfs_drop_extent_cache() 634 split->block_len = 0; in btrfs_drop_extent_cache() 2426 hole_em->block_len = 0; in fill_holes()
|
D | file-item.c | 1080 em->block_len = em->orig_block_len; in btrfs_extent_item_to_extent_map() 1084 em->block_len = em->len; in btrfs_extent_item_to_extent_map() 1097 em->block_len = (u64)-1; in btrfs_extent_item_to_extent_map()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | wm8958-dsp2.c | 49 size_t block_len, len; in wm8958_dsp2_fw() local 105 block_len = get_unaligned_be32(data + 4); in wm8958_dsp2_fw() 106 if (block_len + 8 > len) { in wm8958_dsp2_fw() 108 block_len); in wm8958_dsp2_fw() 111 if (block_len == 0) { in wm8958_dsp2_fw() 124 str = kzalloc(block_len + 1, GFP_KERNEL); in wm8958_dsp2_fw() 126 memcpy(str, data + 8, block_len); in wm8958_dsp2_fw() 141 block_len, (data32 >> 24) & 0xff, in wm8958_dsp2_fw() 151 block_len / 2, in wm8958_dsp2_fw() 162 block_len += block_len % 4; in wm8958_dsp2_fw() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | tx.c | 140 int block_len = len & ~(sizeof(copy_buf->buf) - 1); in efx_memcpy_toio_aligned() local 142 __iowrite64_copy(*piobuf, data, block_len >> 3); in efx_memcpy_toio_aligned() 143 *piobuf += block_len; in efx_memcpy_toio_aligned() 144 len -= block_len; in efx_memcpy_toio_aligned() 147 data += block_len; in efx_memcpy_toio_aligned()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/ |
D | p54usb.c | 744 unsigned int block_len = min(remains, (unsigned int)512); in p54u_upload_firmware_net2280() local 745 memcpy(buf, data, block_len); in p54u_upload_firmware_net2280() 747 err = p54u_bulk_msg(priv, P54U_PIPE_DATA, buf, block_len); in p54u_upload_firmware_net2280() 765 cpu_to_le32(block_len)); in p54u_upload_firmware_net2280() 773 cpu_to_le32(block_len >> 2)); in p54u_upload_firmware_net2280() 791 remains -= block_len; in p54u_upload_firmware_net2280() 792 data += block_len; in p54u_upload_firmware_net2280() 793 offset += block_len; in p54u_upload_firmware_net2280()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | thunderbolt.h | 143 size_t block_len); 145 size_t block_len);
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | f_ncm.c | 1188 unsigned block_len; in ncm_unwrap_ntb() local 1214 block_len = get_ncm(&tmp, opts->block_length); in ncm_unwrap_ntb() 1216 if (block_len > ntb_max) { in ncm_unwrap_ntb() 1231 (ndp_index > (block_len - in ncm_unwrap_ntb() 1279 (index > block_len - opts->dpe_size)) { in ncm_unwrap_ntb() 1316 if (index2 > block_len - opts->dpe_size) { in ncm_unwrap_ntb()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | random.c | 588 size_t block_len = min_t(size_t, left, sizeof(unsigned long)); in get_random_bytes_arch() local 593 memcpy(p, &v, block_len); in get_random_bytes_arch() 594 p += block_len; in get_random_bytes_arch() 595 left -= block_len; in get_random_bytes_arch()
|
/kernel/linux/linux-5.10/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()
|
D | ctcm_main.c | 470 __u16 block_len; in ctcm_transmit_skb() local 510 block_len = skb->len + 2; in ctcm_transmit_skb() 511 *((__u16 *)skb_push(skb, 2)) = block_len; in ctcm_transmit_skb() 534 ch->ccw[4].count = block_len; in ctcm_transmit_skb()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | xhci-ring.c | 3408 unsigned int enqd_len, block_len, trb_buff_len, full_len; in xhci_queue_bulk_tx() local 3423 block_len = sg_dma_len(sg); in xhci_queue_bulk_tx() 3428 block_len = full_len; in xhci_queue_bulk_tx() 3460 trb_buff_len = min_t(unsigned int, trb_buff_len, block_len); in xhci_queue_bulk_tx() 3523 while (sg && sent_len >= block_len) { in xhci_queue_bulk_tx() 3526 sent_len -= block_len; in xhci_queue_bulk_tx() 3529 block_len = sg_dma_len(sg); in xhci_queue_bulk_tx() 3534 block_len -= sent_len; in xhci_queue_bulk_tx()
|