Searched refs:argsize (Results 1 – 2 of 2) sorted by relevance
/drivers/net/wimax/i2400m/ |
D | control.c | 1201 unsigned argc, argsize, tlv_size; in i2400m_set_init_config() local 1211 argsize = 0; in i2400m_set_init_config() 1214 argsize += sizeof(*tlv_hdr) + le16_to_cpu(tlv_hdr->length); in i2400m_set_init_config() 1220 buf = kzalloc(sizeof(*cmd) + argsize, GFP_KERNEL); in i2400m_set_init_config() 1225 cmd->length = cpu_to_le16(argsize); in i2400m_set_init_config() 1238 ack_skb = i2400m_msg_to_dev(i2400m, buf, sizeof(*cmd) + argsize); in i2400m_set_init_config()
|
/drivers/ata/ |
D | libata-scsi.c | 362 int argsize = 0; in ata_cmd_ioctl() local 377 argsize = ATA_SECT_SIZE * args[3]; in ata_cmd_ioctl() 378 argbuf = kmalloc(argsize, GFP_KERNEL); in ata_cmd_ioctl() 409 cmd_result = scsi_execute(scsidev, scsi_cmd, data_dir, argbuf, argsize, in ata_cmd_ioctl() 442 && copy_to_user(arg + sizeof(args), argbuf, argsize)) in ata_cmd_ioctl()
|