/kernel/linux/linux-5.10/lib/ |
D | oid_registry.c | 26 enum OID look_up_OID(const void *data, size_t datasize) in look_up_OID() argument 35 hash = datasize - 1; in look_up_OID() 37 for (i = 0; i < datasize; i++) in look_up_OID() 63 if (len > datasize) { in look_up_OID() 67 if (len < datasize) { in look_up_OID() 106 int parse_OID(const void *data, size_t datasize, enum OID *oid) in parse_OID() argument 111 if (datasize < 3 || v[0] != ASN1_OID || v[1] != datasize - 2) in parse_OID() 114 *oid = look_up_OID(data + 2, datasize - 2); in parse_OID() 130 int sprint_oid(const void *data, size_t datasize, char *buffer, size_t bufsize) in sprint_oid() argument 132 const unsigned char *v = data, *end = v + datasize; in sprint_oid()
|
/kernel/linux/linux-5.10/fs/efivarfs/ |
D | file.c | 22 unsigned long datasize = count - sizeof(attributes); in efivarfs_file_write() local 35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write() 39 bytes = efivar_entry_set_get_size(var, attributes, &datasize, in efivarfs_file_write() 53 i_size_write(inode, datasize + sizeof(attributes)); in efivarfs_file_write() 70 unsigned long datasize = 0; in efivarfs_file_read() local 79 err = efivar_entry_size(var, &datasize); in efivarfs_file_read() 90 data = kmalloc(datasize + sizeof(attributes), GFP_KERNEL); in efivarfs_file_read() 95 size = efivar_entry_get(var, &attributes, &datasize, in efivarfs_file_read() 102 data, datasize + sizeof(attributes)); in efivarfs_file_read()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | microcode_intel.h | 15 unsigned int datasize; member 46 (((struct microcode_intel *)mc)->hdr.datasize ? \ 51 (((struct microcode_intel *)mc)->hdr.datasize ? \ 52 ((struct microcode_intel *)mc)->hdr.datasize : DEFAULT_UCODE_DATASIZE)
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
D | dasd_erp.c | 27 dasd_alloc_erp_request(char *magic, int cplength, int datasize, in dasd_alloc_erp_request() argument 36 BUG_ON( magic == NULL || datasize > PAGE_SIZE || in dasd_alloc_erp_request() 42 if (datasize > 0) in dasd_alloc_erp_request() 43 size += datasize; in dasd_alloc_erp_request() 61 if (datasize > 0) { in dasd_alloc_erp_request() 63 memset(cqr->data, 0, datasize); in dasd_alloc_erp_request()
|
D | dasd_fba.c | 344 int datasize; in dasd_fba_build_cp_discard() local 357 datasize = sizeof(struct DE_fba_data) + in dasd_fba_build_cp_discard() 360 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_discard() 451 int count, cidaw, cplength, datasize; in dasd_fba_build_cp_regular() local 484 datasize = sizeof(struct DE_fba_data) + sizeof(struct LO_fba_data) + in dasd_fba_build_cp_regular() 492 datasize += (count - 1)*sizeof(struct LO_fba_data); in dasd_fba_build_cp_regular() 495 cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev, in dasd_fba_build_cp_regular()
|
/kernel/linux/linux-5.10/block/partitions/ |
D | mac.c | 36 unsigned secsize, datasize, partoffset; in mac_partition() local 54 datasize = round_down(secsize, 512); in mac_partition() 55 data = read_part_sector(state, datasize / 512, §); in mac_partition() 59 if (partoffset + sizeof(*part) > datasize) in mac_partition()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_nic.c | 90 ndata->buf, ndata->datasize, in octnet_send_nic_data_pkt() 101 u32 uddsize = 0, datasize = 0; in octnic_alloc_ctrl_pkt_sc() local 105 datasize = OCTNET_CMD_SIZE + uddsize; in octnic_alloc_ctrl_pkt_sc() 109 octeon_alloc_soft_command(oct, datasize, rdatasize, 0); in octnic_alloc_ctrl_pkt_sc()
|
D | octeon_nic.h | 79 u32 datasize; member 103 u32 datasize; member 151 ih2->dlengsz = setup->s.u.datasize; in octnet_prepare_pci_cmd_o2() 196 ih3->dlengsz = setup->s.u.datasize; in octnet_prepare_pci_cmd_o3()
|
D | request_manager.c | 542 u32 datasize, u32 reqtype) in octeon_send_command() argument 559 INCR_INSTRQUEUE_PKT_COUNT(oct, iq_no, bytes_sent, datasize); in octeon_send_command() 621 if (sc->datasize) in octeon_prepare_soft_command() 622 ih3->dlengsz = sc->datasize; in octeon_prepare_soft_command() 656 if (sc->datasize) { in octeon_prepare_soft_command() 657 ih2->dlengsz = sc->datasize; in octeon_prepare_soft_command() 856 u32 datasize, in octeon_alloc_soft_command() argument 869 WARN_ON((offset + datasize + rdatasize + ctxsize) > in octeon_alloc_soft_command() 906 if (datasize) { in octeon_alloc_soft_command() 909 sc->datasize = datasize; in octeon_alloc_soft_command() [all …]
|
D | octeon_iq.h | 283 u32 datasize; member 333 u32 datasize, u32 rdatasize, 379 u32 datasize, u32 reqtype);
|
/kernel/linux/linux-5.10/drivers/firmware/efi/test/ |
D | efi_test.c | 143 unsigned long datasize = 0, prev_datasize, *dz; in efi_runtime_get_variable() local 157 get_user(datasize, getvariable.data_size)) in efi_runtime_get_variable() 173 dz = getvariable.data_size ? &datasize : NULL; in efi_runtime_get_variable() 176 data = kmalloc(datasize, GFP_KERNEL); in efi_runtime_get_variable() 183 prev_datasize = datasize; in efi_runtime_get_variable() 194 if (dz && put_user(datasize, getvariable.data_size)) { in efi_runtime_get_variable() 203 if (prev_datasize < datasize) { in efi_runtime_get_variable() 209 if (copy_to_user(getvariable.data, data, datasize)) { in efi_runtime_get_variable() 220 if (dz && put_user(datasize, getvariable.data_size)) in efi_runtime_get_variable()
|
/kernel/linux/linux-5.10/Documentation/crypto/ |
D | api-samples.rst | 18 const size_t datasize = 512; /* data size in bytes */ 54 data = kmalloc(datasize, GFP_KERNEL); 59 get_random_bytes(data, datasize); 73 sg_init_one(&sg, data, datasize); 77 skcipher_request_set_crypt(req, &sg, &sg, datasize, iv);
|
/kernel/linux/linux-5.10/include/linux/ |
D | oid_registry.h | 126 extern enum OID look_up_OID(const void *data, size_t datasize); 127 extern int parse_OID(const void *data, size_t datasize, enum OID *oid);
|
/kernel/linux/linux-5.10/fs/jffs2/ |
D | summary.c | 675 uint32_t infosize, uint32_t datasize, int padsize) in jffs2_sum_write_data() argument 686 if (padsize + datasize > MAX_SUMMARY_SIZE) { in jffs2_sum_write_data() 691 datasize, padsize, jeb->offset); in jffs2_sum_write_data() 706 memset(c->summary->sum_buf, 0xff, datasize); in jffs2_sum_write_data() 809 isum.sum_crc = cpu_to_je32(crc32(0, c->summary->sum_buf, datasize)); in jffs2_sum_write_data() 815 vecs[1].iov_len = datasize; in jffs2_sum_write_data() 852 int datasize, infosize, padsize; in jffs2_sum_write_sumnode() local 868 datasize = c->summary->sum_size + sizeof(struct jffs2_sum_marker); in jffs2_sum_write_sumnode() 869 infosize = sizeof(struct jffs2_raw_summary) + datasize; in jffs2_sum_write_sumnode() 872 datasize += padsize; in jffs2_sum_write_sumnode() [all …]
|
/kernel/linux/linux-5.10/net/sctp/ |
D | output.c | 651 size_t datasize, rwnd, inflight, flight_size; in sctp_packet_can_append_data() local 673 datasize = sctp_data_size(chunk); in sctp_packet_can_append_data() 675 if (datasize > rwnd && inflight > 0) in sctp_packet_can_append_data() 736 size_t datasize = sctp_data_size(chunk); in sctp_packet_append_data() local 741 transport->flight_size += datasize; in sctp_packet_append_data() 744 asoc->outqueue.outstanding_bytes += datasize; in sctp_packet_append_data() 747 if (datasize < rwnd) in sctp_packet_append_data() 748 rwnd -= datasize; in sctp_packet_append_data()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | vub300.c | 318 u32 datasize; member 1112 (vub300->datasize >> 8) & 0xFF; in send_command() 1114 (vub300->datasize >> 0) & 0xFF; in send_command() 1119 (vub300->datasize >> 24) & 0xFF; in send_command() 1121 (vub300->datasize >> 16) & 0xFF; in send_command() 1123 (vub300->datasize >> 8) & 0xFF; in send_command() 1125 (vub300->datasize >> 0) & 0xFF; in send_command() 1126 if (vub300->datasize < vub300->fbs[fn]) { in send_command() 1138 (vub300->datasize >> 24) & 0xFF; in send_command() 1140 (vub300->datasize >> 16) & 0xFF; in send_command() [all …]
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
D | tpm.c | 34 unsigned long datasize = 0; in efi_enable_reset_attack_mitigation() local 37 NULL, &datasize, NULL); in efi_enable_reset_attack_mitigation()
|
/kernel/linux/linux-5.10/drivers/firmware/tegra/ |
D | bpmp-debugfs.c | 549 const size_t datasize = m->size; in debugfs_show() local 567 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_show() 577 err = mrq_debugfs_read(bpmp, namephys, len, dataphys, datasize, in debugfs_show() 583 dma_free_coherent(bpmp->dev, datasize, datavirt, dataphys); in debugfs_show() 600 const size_t datasize = count; in debugfs_store() local 618 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_store() 637 dma_free_coherent(bpmp->dev, datasize, datavirt, dataphys); in debugfs_store()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | fintek-cir.c | 237 int datasize = 0; in fintek_cmdsize() local 242 datasize = 1; in fintek_cmdsize() 246 datasize = 2; in fintek_cmdsize() 253 datasize = 2; in fintek_cmdsize() 258 datasize = 1; in fintek_cmdsize() 263 return datasize; in fintek_cmdsize()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gpu_state.c | 454 size_t datasize; in a6xx_get_dbgahb_cluster() local 479 datasize = regcount * A6XX_NUM_CONTEXTS * sizeof(u32); in a6xx_get_dbgahb_cluster() 481 if (WARN_ON(datasize > A6XX_CD_DATA_SIZE)) in a6xx_get_dbgahb_cluster() 489 datasize); in a6xx_get_dbgahb_cluster() 522 size_t datasize; in a6xx_get_cluster() local 550 datasize = regcount * A6XX_NUM_CONTEXTS * sizeof(u32); in a6xx_get_cluster() 552 if (WARN_ON(datasize > A6XX_CD_DATA_SIZE)) in a6xx_get_cluster() 560 datasize); in a6xx_get_cluster() 590 size_t datasize = block->size * A6XX_NUM_SHADER_BANKS * sizeof(u32); in a6xx_get_shader_block() local 593 if (WARN_ON(datasize > A6XX_CD_DATA_SIZE)) in a6xx_get_shader_block() [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/ |
D | i2c-dev.c | 317 int datasize, res; in i2cdev_ioctl_smbus() local 361 datasize = sizeof(data->byte); in i2cdev_ioctl_smbus() 364 datasize = sizeof(data->word); in i2cdev_ioctl_smbus() 366 datasize = sizeof(data->block); in i2cdev_ioctl_smbus() 372 if (copy_from_user(&temp, data, datasize)) in i2cdev_ioctl_smbus() 387 if (copy_to_user(data, &temp, datasize)) in i2cdev_ioctl_smbus()
|
/kernel/linux/linux-5.10/drivers/media/radio/ |
D | radio-miropcm20.c | 152 static int rds_cmd(struct snd_miro_aci *aci, u8 cmd, u8 databuffer[], u8 datasize) in rds_cmd() argument 163 if (datasize == 0) in rds_cmd() 171 memset(databuffer, 0, datasize); in rds_cmd() 173 for (i = 0; i < 8 * datasize; i++) { in rds_cmd()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | cycx_cfm.h | 34 unsigned long datasize; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | cycx_cfm.h | 74 unsigned long datasize; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | cycx_cfm.h | 47 unsigned long datasize; member
|