/linux-4.19.296/fs/efivarfs/ |
D | file.c | 25 unsigned long datasize = count - sizeof(attributes); in efivarfs_file_write() local 38 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write() 42 bytes = efivar_entry_set_get_size(var, attributes, &datasize, in efivarfs_file_write() 56 i_size_write(inode, datasize + sizeof(attributes)); in efivarfs_file_write() 72 unsigned long datasize = 0; in efivarfs_file_read() local 83 err = efivar_entry_size(var, &datasize); in efivarfs_file_read() 94 data = kmalloc(datasize + sizeof(attributes), GFP_KERNEL); in efivarfs_file_read() 99 size = efivar_entry_get(var, &attributes, &datasize, in efivarfs_file_read() 106 data, datasize + sizeof(attributes)); in efivarfs_file_read()
|
/linux-4.19.296/lib/ |
D | oid_registry.c | 29 enum OID look_up_OID(const void *data, size_t datasize) in look_up_OID() argument 38 hash = datasize - 1; in look_up_OID() 40 for (i = 0; i < datasize; i++) in look_up_OID() 66 if (len > datasize) { in look_up_OID() 70 if (len < datasize) { in look_up_OID() 110 int sprint_oid(const void *data, size_t datasize, char *buffer, size_t bufsize) in sprint_oid() argument 112 const unsigned char *v = data, *end = v + datasize; in sprint_oid()
|
/linux-4.19.296/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()
|
D | dasd_eckd.c | 1802 int cplength, datasize; in dasd_eckd_analysis_ccw() local 1806 datasize = sizeof(struct DE_eckd_data) + 2*sizeof(struct LO_eckd_data); in dasd_eckd_analysis_ccw() 1807 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, device, in dasd_eckd_analysis_ccw() 2154 int cplength, datasize; in dasd_eckd_build_check() local 2174 datasize = sizeof(struct PFX_eckd_data); in dasd_eckd_build_check() 2177 datasize = sizeof(struct DE_eckd_data) + in dasd_eckd_build_check() 2182 cqr = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, datasize, in dasd_eckd_build_check() 2243 int cplength, datasize; in dasd_eckd_build_format() local 2287 datasize = sizeof(struct PFX_eckd_data) + in dasd_eckd_build_format() 2291 datasize = sizeof(struct DE_eckd_data) + in dasd_eckd_build_format() [all …]
|
D | dasd_diag.c | 509 unsigned int count, datasize; in dasd_diag_build_cp() local 537 datasize = sizeof(struct dasd_diag_req) + in dasd_diag_build_cp() 539 cqr = dasd_smalloc_request(DASD_DIAG_MAGIC, 0, datasize, memdev, in dasd_diag_build_cp()
|
D | dasd_3990_erp.c | 2377 int cplength, datasize; in dasd_3990_erp_add_erp() local 2384 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp() 2387 datasize = 0; in dasd_3990_erp_add_erp() 2392 cplength, datasize, device); in dasd_3990_erp_add_erp()
|
D | dasd.c | 1232 struct dasd_ccw_req *dasd_smalloc_request(int magic, int cplength, int datasize, in dasd_smalloc_request() argument 1242 if (datasize > 0) in dasd_smalloc_request() 1243 size += datasize; in dasd_smalloc_request() 1263 if (datasize > 0) { in dasd_smalloc_request() 1265 memset(cqr->data, 0, datasize); in dasd_smalloc_request()
|
/linux-4.19.296/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()
|
/linux-4.19.296/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 …]
|
/linux-4.19.296/drivers/media/rc/ |
D | fintek-cir.c | 253 int datasize = 0; in fintek_cmdsize() local 258 datasize = 1; in fintek_cmdsize() 262 datasize = 2; in fintek_cmdsize() 269 datasize = 2; in fintek_cmdsize() 274 datasize = 1; in fintek_cmdsize() 279 return datasize; in fintek_cmdsize()
|
D | mceusb.c | 551 int datasize = 0; in mceusb_cmd_datasize() local 556 datasize = 1; in mceusb_cmd_datasize() 561 datasize = 5; in mceusb_cmd_datasize() 564 datasize = 4; in mceusb_cmd_datasize() 567 datasize = 2; in mceusb_cmd_datasize() 573 datasize = 1; in mceusb_cmd_datasize() 584 datasize = 2; in mceusb_cmd_datasize() 589 datasize = 1; in mceusb_cmd_datasize() 593 return datasize; in mceusb_cmd_datasize()
|
/linux-4.19.296/drivers/i2c/ |
D | i2c-dev.c | 325 int datasize, res; in i2cdev_ioctl_smbus() local 369 datasize = sizeof(data->byte); in i2cdev_ioctl_smbus() 372 datasize = sizeof(data->word); in i2cdev_ioctl_smbus() 374 datasize = sizeof(data->block); in i2cdev_ioctl_smbus() 380 if (copy_from_user(&temp, data, datasize)) in i2cdev_ioctl_smbus() 395 if (copy_to_user(data, &temp, datasize)) in i2cdev_ioctl_smbus()
|
/linux-4.19.296/include/uapi/linux/ |
D | cycx_cfm.h | 74 unsigned long datasize; member
|
/linux-4.19.296/drivers/media/radio/ |
D | radio-miropcm20.c | 151 static int rds_cmd(struct snd_miro_aci *aci, u8 cmd, u8 databuffer[], u8 datasize) in rds_cmd() argument 162 if (datasize == 0) in rds_cmd() 170 memset(databuffer, 0, datasize); in rds_cmd() 172 for (i = 0; i < 8 * datasize; i++) { in rds_cmd()
|
/linux-4.19.296/include/linux/ |
D | oid_registry.h | 99 extern enum OID look_up_OID(const void *data, size_t datasize);
|
/linux-4.19.296/drivers/s390/char/ |
D | tape_core.c | 722 tape_alloc_request(int cplength, int datasize) in tape_alloc_request() argument 726 BUG_ON(datasize > PAGE_SIZE || (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in tape_alloc_request() 728 DBF_LH(6, "tape_alloc_request(%d, %d)\n", cplength, datasize); in tape_alloc_request() 746 if (datasize > 0) { in tape_alloc_request() 747 request->cpdata = kzalloc(datasize, GFP_KERNEL | GFP_DMA); in tape_alloc_request()
|
D | tape.h | 235 extern struct tape_request *tape_alloc_request(int cplength, int datasize);
|
/linux-4.19.296/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 535 u16 datasize, 554 u16 datasize, 1416 u16 datasize, in drxdap_fasi_read_block() argument 1435 ((datasize != 0) && (data == NULL)) || ((datasize & 1) == 1)) { in drxdap_fasi_read_block() 1447 u16 todo = (datasize < DRXDAP_MAX_RCHUNKSIZE ? in drxdap_fasi_read_block() 1448 datasize : DRXDAP_MAX_RCHUNKSIZE); in drxdap_fasi_read_block() 1494 datasize -= todo; in drxdap_fasi_read_block() 1495 } while (datasize && rc == 0); in drxdap_fasi_read_block() 1593 u16 datasize, in drxdap_fasi_write_block() argument 1613 ((datasize != 0) && (data == NULL)) || ((datasize & 1) == 1)) in drxdap_fasi_write_block() [all …]
|
D | drx_driver.h | 1717 u16 datasize, /* size of data in bytes */ 1724 u16 datasize, /* size of data in bytes */
|
/linux-4.19.296/include/net/sctp/ |
D | sctp.h | 623 static inline __u32 sctp_min_frag_point(struct sctp_sock *sp, __u16 datasize) in sctp_min_frag_point() argument 625 return sctp_mtu_payload(sp, SCTP_DEFAULT_MINSEGMENT, datasize); in sctp_min_frag_point()
|
/linux-4.19.296/fs/btrfs/ |
D | inode.c | 198 size_t datasize; in insert_inline_extent() local 204 datasize = btrfs_file_extent_calc_inline_size(cur_size); in insert_inline_extent() 207 datasize); in insert_inline_extent() 10299 int datasize; in btrfs_symlink() local 10355 datasize = btrfs_file_extent_calc_inline_size(name_len); in btrfs_symlink() 10357 datasize); in btrfs_symlink()
|
D | ctree.h | 2413 static inline u32 btrfs_file_extent_calc_inline_size(u32 datasize) in btrfs_file_extent_calc_inline_size() argument 2415 return BTRFS_FILE_EXTENT_INLINE_DATA_START + datasize; in btrfs_file_extent_calc_inline_size()
|