tdata 421 drivers/crypto/ccp/ccp-dev.c struct ccp_tasklet_data *tdata = (struct ccp_tasklet_data *)data; tdata 422 drivers/crypto/ccp/ccp-dev.c struct ccp_cmd *cmd = tdata->cmd; tdata 426 drivers/crypto/ccp/ccp-dev.c complete(&tdata->completion); tdata 438 drivers/crypto/ccp/ccp-dev.c struct ccp_tasklet_data tdata; tdata 441 drivers/crypto/ccp/ccp-dev.c tasklet_init(&tasklet, ccp_do_cmd_complete, (unsigned long)&tdata); tdata 459 drivers/crypto/ccp/ccp-dev.c tdata.cmd = cmd; tdata 460 drivers/crypto/ccp/ccp-dev.c init_completion(&tdata.completion); tdata 462 drivers/crypto/ccp/ccp-dev.c wait_for_completion(&tdata.completion); tdata 192 drivers/hid/hid-magicmouse.c static void magicmouse_emit_touch(struct magicmouse_sc *msc, int raw_id, u8 *tdata) tdata 199 drivers/hid/hid-magicmouse.c id = (tdata[6] << 2 | tdata[5] >> 6) & 0xf; tdata 200 drivers/hid/hid-magicmouse.c x = (tdata[1] << 28 | tdata[0] << 20) >> 20; tdata 201 drivers/hid/hid-magicmouse.c y = -((tdata[2] << 24 | tdata[1] << 16) >> 20); tdata 202 drivers/hid/hid-magicmouse.c size = tdata[5] & 0x3f; tdata 203 drivers/hid/hid-magicmouse.c orientation = (tdata[6] >> 2) - 32; tdata 204 drivers/hid/hid-magicmouse.c touch_major = tdata[3]; tdata 205 drivers/hid/hid-magicmouse.c touch_minor = tdata[4]; tdata 206 drivers/hid/hid-magicmouse.c state = tdata[7] & TOUCH_STATE_MASK; tdata 209 drivers/hid/hid-magicmouse.c id = tdata[8] & 0xf; tdata 210 drivers/hid/hid-magicmouse.c x = (tdata[1] << 27 | tdata[0] << 19) >> 19; tdata 211 drivers/hid/hid-magicmouse.c y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19); tdata 212 drivers/hid/hid-magicmouse.c size = tdata[6]; tdata 213 drivers/hid/hid-magicmouse.c orientation = (tdata[8] >> 5) - 4; tdata 214 drivers/hid/hid-magicmouse.c touch_major = tdata[4]; tdata 215 drivers/hid/hid-magicmouse.c touch_minor = tdata[5]; tdata 216 drivers/hid/hid-magicmouse.c pressure = tdata[7]; tdata 217 drivers/hid/hid-magicmouse.c state = tdata[3] & 0xC0; tdata 220 drivers/hid/hid-magicmouse.c id = (tdata[7] << 2 | tdata[6] >> 6) & 0xf; tdata 221 drivers/hid/hid-magicmouse.c x = (tdata[1] << 27 | tdata[0] << 19) >> 19; tdata 222 drivers/hid/hid-magicmouse.c y = -((tdata[3] << 30 | tdata[2] << 22 | tdata[1] << 14) >> 19); tdata 223 drivers/hid/hid-magicmouse.c size = tdata[6] & 0x3f; tdata 224 drivers/hid/hid-magicmouse.c orientation = (tdata[7] >> 2) - 32; tdata 225 drivers/hid/hid-magicmouse.c touch_major = tdata[4]; tdata 226 drivers/hid/hid-magicmouse.c touch_minor = tdata[5]; tdata 227 drivers/hid/hid-magicmouse.c state = tdata[8] & TOUCH_STATE_MASK; tdata 300 drivers/hid/hid-magicmouse.c input_event(input, EV_MSC, MSC_RAW, tdata[7]); tdata 303 drivers/hid/hid-magicmouse.c input_event(input, EV_MSC, MSC_RAW, tdata[8]); tdata 95 drivers/hid/hid-picolcd_fb.c u8 *tdata; tdata 127 drivers/hid/hid-picolcd_fb.c tdata = vbitmap + (tile * 4 + chip) * 64; tdata 130 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 11 + i, tdata[i]); tdata 132 drivers/hid/hid-picolcd_fb.c hid_set_field(report2->field[0], 4 + i - 32, tdata[i]); tdata 145 drivers/hid/hid-picolcd_fb.c u8 tdata[64]; tdata 152 drivers/hid/hid-picolcd_fb.c tdata[i] <<= 1; tdata 153 drivers/hid/hid-picolcd_fb.c tdata[i] |= (bdata[i/8] >> (i % 8)) & 0x01; tdata 160 drivers/hid/hid-picolcd_fb.c tdata[i] <<= 1; tdata 161 drivers/hid/hid-picolcd_fb.c tdata[i] |= (bdata[i] & 0x80) ? 0x01 : 0x00; tdata 171 drivers/hid/hid-picolcd_fb.c if (tdata[i] != vdata[i]) { tdata 173 drivers/hid/hid-picolcd_fb.c vdata[i] = tdata[i]; tdata 109 drivers/hwmon/coretemp.c struct temp_data *tdata = pdata->core_data[attr->index]; tdata 111 drivers/hwmon/coretemp.c if (tdata->is_pkg_data) tdata 114 drivers/hwmon/coretemp.c return sprintf(buf, "Core %u\n", tdata->cpu_core_id); tdata 123 drivers/hwmon/coretemp.c struct temp_data *tdata = pdata->core_data[attr->index]; tdata 125 drivers/hwmon/coretemp.c mutex_lock(&tdata->update_lock); tdata 126 drivers/hwmon/coretemp.c rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); tdata 127 drivers/hwmon/coretemp.c mutex_unlock(&tdata->update_lock); tdata 156 drivers/hwmon/coretemp.c struct temp_data *tdata = pdata->core_data[attr->index]; tdata 158 drivers/hwmon/coretemp.c mutex_lock(&tdata->update_lock); tdata 161 drivers/hwmon/coretemp.c if (!tdata->valid || time_after(jiffies, tdata->last_updated + HZ)) { tdata 162 drivers/hwmon/coretemp.c rdmsr_on_cpu(tdata->cpu, tdata->status_reg, &eax, &edx); tdata 169 drivers/hwmon/coretemp.c tdata->temp = tdata->tjmax - ((eax >> 16) & 0x7f) * 1000; tdata 170 drivers/hwmon/coretemp.c tdata->valid = 1; tdata 171 drivers/hwmon/coretemp.c tdata->last_updated = jiffies; tdata 174 drivers/hwmon/coretemp.c mutex_unlock(&tdata->update_lock); tdata 175 drivers/hwmon/coretemp.c return sprintf(buf, "%d\n", tdata->temp); tdata 380 drivers/hwmon/coretemp.c static int create_core_attrs(struct temp_data *tdata, struct device *dev, tdata 392 drivers/hwmon/coretemp.c for (i = 0; i < tdata->attr_size; i++) { tdata 393 drivers/hwmon/coretemp.c snprintf(tdata->attr_name[i], CORETEMP_NAME_LENGTH, tdata 395 drivers/hwmon/coretemp.c sysfs_attr_init(&tdata->sd_attrs[i].dev_attr.attr); tdata 396 drivers/hwmon/coretemp.c tdata->sd_attrs[i].dev_attr.attr.name = tdata->attr_name[i]; tdata 397 drivers/hwmon/coretemp.c tdata->sd_attrs[i].dev_attr.attr.mode = 0444; tdata 398 drivers/hwmon/coretemp.c tdata->sd_attrs[i].dev_attr.show = rd_ptr[i]; tdata 399 drivers/hwmon/coretemp.c tdata->sd_attrs[i].index = attr_no; tdata 400 drivers/hwmon/coretemp.c tdata->attrs[i] = &tdata->sd_attrs[i].dev_attr.attr; tdata 402 drivers/hwmon/coretemp.c tdata->attr_group.attrs = tdata->attrs; tdata 403 drivers/hwmon/coretemp.c return sysfs_create_group(&dev->kobj, &tdata->attr_group); tdata 434 drivers/hwmon/coretemp.c struct temp_data *tdata; tdata 436 drivers/hwmon/coretemp.c tdata = kzalloc(sizeof(struct temp_data), GFP_KERNEL); tdata 437 drivers/hwmon/coretemp.c if (!tdata) tdata 440 drivers/hwmon/coretemp.c tdata->status_reg = pkg_flag ? MSR_IA32_PACKAGE_THERM_STATUS : tdata 442 drivers/hwmon/coretemp.c tdata->is_pkg_data = pkg_flag; tdata 443 drivers/hwmon/coretemp.c tdata->cpu = cpu; tdata 444 drivers/hwmon/coretemp.c tdata->cpu_core_id = TO_CORE_ID(cpu); tdata 445 drivers/hwmon/coretemp.c tdata->attr_size = MAX_CORE_ATTRS; tdata 446 drivers/hwmon/coretemp.c mutex_init(&tdata->update_lock); tdata 447 drivers/hwmon/coretemp.c return tdata; tdata 453 drivers/hwmon/coretemp.c struct temp_data *tdata; tdata 470 drivers/hwmon/coretemp.c tdata = init_temp_data(cpu, pkg_flag); tdata 471 drivers/hwmon/coretemp.c if (!tdata) tdata 475 drivers/hwmon/coretemp.c err = rdmsr_safe_on_cpu(cpu, tdata->status_reg, &eax, &edx); tdata 480 drivers/hwmon/coretemp.c tdata->tjmax = get_tjmax(c, cpu, &pdev->dev); tdata 491 drivers/hwmon/coretemp.c tdata->ttarget tdata 492 drivers/hwmon/coretemp.c = tdata->tjmax - ((eax >> 8) & 0xff) * 1000; tdata 493 drivers/hwmon/coretemp.c tdata->attr_size++; tdata 497 drivers/hwmon/coretemp.c pdata->core_data[attr_no] = tdata; tdata 500 drivers/hwmon/coretemp.c err = create_core_attrs(tdata, pdata->hwmon_dev, attr_no); tdata 507 drivers/hwmon/coretemp.c kfree(tdata); tdata 520 drivers/hwmon/coretemp.c struct temp_data *tdata = pdata->core_data[indx]; tdata 523 drivers/hwmon/coretemp.c sysfs_remove_group(&pdata->hwmon_dev->kobj, &tdata->attr_group); tdata 649 drivers/hwmon/coretemp.c struct temp_data *tdata; tdata 669 drivers/hwmon/coretemp.c tdata = pd->core_data[indx]; tdata 681 drivers/hwmon/coretemp.c } else if (tdata && tdata->cpu == cpu) { tdata 682 drivers/hwmon/coretemp.c mutex_lock(&tdata->update_lock); tdata 683 drivers/hwmon/coretemp.c tdata->cpu = target; tdata 684 drivers/hwmon/coretemp.c mutex_unlock(&tdata->update_lock); tdata 702 drivers/hwmon/coretemp.c tdata = pd->core_data[PKG_SYSFS_ATTR_NO]; tdata 703 drivers/hwmon/coretemp.c if (tdata && tdata->cpu == cpu) { tdata 705 drivers/hwmon/coretemp.c mutex_lock(&tdata->update_lock); tdata 706 drivers/hwmon/coretemp.c tdata->cpu = target; tdata 707 drivers/hwmon/coretemp.c mutex_unlock(&tdata->update_lock); tdata 140 drivers/hwmon/hwmon.c struct hwmon_thermal_data *tdata = data; tdata 141 drivers/hwmon/hwmon.c struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); tdata 145 drivers/hwmon/hwmon.c ret = hwdev->chip->ops->read(tdata->dev, hwmon_temp, hwmon_temp_input, tdata 146 drivers/hwmon/hwmon.c tdata->index, &t); tdata 161 drivers/hwmon/hwmon.c struct hwmon_thermal_data *tdata; tdata 164 drivers/hwmon/hwmon.c tdata = devm_kzalloc(dev, sizeof(*tdata), GFP_KERNEL); tdata 165 drivers/hwmon/hwmon.c if (!tdata) tdata 168 drivers/hwmon/hwmon.c tdata->dev = dev; tdata 169 drivers/hwmon/hwmon.c tdata->index = index; tdata 171 drivers/hwmon/hwmon.c tzd = devm_thermal_zone_of_sensor_register(dev, index, tdata, tdata 165 drivers/leds/trigger/ledtrig-transient.c struct transient_trig_data *tdata; tdata 167 drivers/leds/trigger/ledtrig-transient.c tdata = kzalloc(sizeof(struct transient_trig_data), GFP_KERNEL); tdata 168 drivers/leds/trigger/ledtrig-transient.c if (!tdata) tdata 171 drivers/leds/trigger/ledtrig-transient.c led_set_trigger_data(led_cdev, tdata); tdata 172 drivers/leds/trigger/ledtrig-transient.c tdata->led_cdev = led_cdev; tdata 174 drivers/leds/trigger/ledtrig-transient.c timer_setup(&tdata->timer, transient_timer_function, 0); tdata 2071 drivers/mmc/core/mmc_test.c struct mmc_test_multiple_rw *tdata, tdata 2097 drivers/mmc/core/mmc_test.c tdata->prepare & MMC_TEST_PREP_ERASE) { tdata 2109 drivers/mmc/core/mmc_test.c tdata->do_write, 0, 1, size / reqsize, tdata 2110 drivers/mmc/core/mmc_test.c tdata->do_nonblock_req, min_sg_len); tdata 446 drivers/scsi/aic7xxx/aic79xx.h struct target_data tdata; tdata 415 drivers/scsi/aic7xxx/aic7xxx.h struct target_data tdata; tdata 1337 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_data *tdata, u32 sw_tag, tdata 1343 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_tag_info *ttinfo = &tdata->ttinfo; tdata 1441 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_data *tdata = iscsi_task_cxgbi_data(task); tdata 1442 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_tag_info *ttinfo = &tdata->ttinfo; tdata 1472 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_data *tdata = iscsi_task_cxgbi_data(task); tdata 1473 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_tag_info *ttinfo = &tdata->ttinfo; tdata 1476 drivers/scsi/cxgbi/libcxgbi.c &tdata->dlen, 0); tdata 1477 drivers/scsi/cxgbi/libcxgbi.c err = cxgbi_ddp_reserve(cconn, tdata, sw_tag, tdata->dlen); tdata 1483 drivers/scsi/cxgbi/libcxgbi.c cconn->cep->csk, task, tdata->dlen, tdata 1893 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_data *tdata = iscsi_task_cxgbi_data(task); tdata 1899 drivers/scsi/cxgbi/libcxgbi.c tcp_task->dd_data = tdata; tdata 1911 drivers/scsi/cxgbi/libcxgbi.c tdata->skb = alloc_skb(cdev->skb_tx_rsvd + headroom, GFP_ATOMIC); tdata 1912 drivers/scsi/cxgbi/libcxgbi.c if (!tdata->skb) { tdata 1917 drivers/scsi/cxgbi/libcxgbi.c skb_reserve(tdata->skb, cdev->skb_tx_rsvd); tdata 1920 drivers/scsi/cxgbi/libcxgbi.c task->hdr = (struct iscsi_hdr *)tdata->skb->data; tdata 1924 drivers/scsi/cxgbi/libcxgbi.c __kfree_skb(tdata->skb); tdata 1925 drivers/scsi/cxgbi/libcxgbi.c tdata->skb = NULL; tdata 1938 drivers/scsi/cxgbi/libcxgbi.c task, opcode, tdata->skb, cdev->skb_tx_rsvd, headroom, tdata 1963 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_data *tdata = iscsi_task_cxgbi_data(task); tdata 1964 drivers/scsi/cxgbi/libcxgbi.c struct sk_buff *skb = tdata->skb; tdata 1984 drivers/scsi/cxgbi/libcxgbi.c tdata->offset = offset; tdata 1985 drivers/scsi/cxgbi/libcxgbi.c tdata->count = count; tdata 1988 drivers/scsi/cxgbi/libcxgbi.c tdata->offset, &tdata->sgoffset, &sg); tdata 1991 drivers/scsi/cxgbi/libcxgbi.c sdb->table.nents, tdata->offset, sdb->length); tdata 1994 drivers/scsi/cxgbi/libcxgbi.c err = sgl_read_to_frags(sg, tdata->sgoffset, tdata->count, tdata 1995 drivers/scsi/cxgbi/libcxgbi.c tdata->frags, MAX_PDU_FRAGS); tdata 1998 drivers/scsi/cxgbi/libcxgbi.c sdb->table.nents, tdata->offset, tdata->count); tdata 2001 drivers/scsi/cxgbi/libcxgbi.c tdata->nr_frags = err; tdata 2003 drivers/scsi/cxgbi/libcxgbi.c if (tdata->nr_frags > MAX_SKB_FRAGS || tdata 2004 drivers/scsi/cxgbi/libcxgbi.c (padlen && tdata->nr_frags == MAX_SKB_FRAGS)) { tdata 2006 drivers/scsi/cxgbi/libcxgbi.c struct page_frag *frag = tdata->frags; tdata 2009 drivers/scsi/cxgbi/libcxgbi.c for (i = 0; i < tdata->nr_frags; i++, frag++) { tdata 2023 drivers/scsi/cxgbi/libcxgbi.c for (i = 0; i < tdata->nr_frags; i++) { tdata 2025 drivers/scsi/cxgbi/libcxgbi.c tdata->frags[i].page, tdata 2026 drivers/scsi/cxgbi/libcxgbi.c tdata->frags[i].offset, tdata 2027 drivers/scsi/cxgbi/libcxgbi.c tdata->frags[i].size); tdata 2030 drivers/scsi/cxgbi/libcxgbi.c skb_shinfo(skb)->nr_frags = tdata->nr_frags; tdata 2066 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_data *tdata = iscsi_task_cxgbi_data(task); tdata 2067 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_tag_info *ttinfo = &tdata->ttinfo; tdata 2068 drivers/scsi/cxgbi/libcxgbi.c struct sk_buff *skb = tdata->skb; tdata 2087 drivers/scsi/cxgbi/libcxgbi.c tdata->skb = NULL; tdata 2127 drivers/scsi/cxgbi/libcxgbi.c tdata->skb = skb; tdata 2146 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_task_data *tdata = iscsi_task_cxgbi_data(task); tdata 2148 drivers/scsi/cxgbi/libcxgbi.c if (!tcp_task || !tdata || (tcp_task->dd_data != tdata)) { tdata 2151 drivers/scsi/cxgbi/libcxgbi.c tcp_task ? tcp_task->dd_data : NULL, tdata); tdata 2157 drivers/scsi/cxgbi/libcxgbi.c task, tdata->skb, task->hdr_itt); tdata 2166 drivers/scsi/cxgbi/libcxgbi.c if (tdata->skb) { tdata 2167 drivers/scsi/cxgbi/libcxgbi.c __kfree_skb(tdata->skb); tdata 2168 drivers/scsi/cxgbi/libcxgbi.c tdata->skb = NULL; tdata 2172 drivers/scsi/cxgbi/libcxgbi.c memset(tdata, 0, sizeof(*tdata)); tdata 480 drivers/scsi/fnic/fcpio.h struct fcpio_tdata tdata; tdata 733 drivers/scsi/fnic/fnic_trace.c struct fc_trace_hdr *tdata; tdata 752 drivers/scsi/fnic/fnic_trace.c tdata = (struct fc_trace_hdr *) tdata 754 drivers/scsi/fnic/fnic_trace.c if (!tdata) { tdata 760 drivers/scsi/fnic/fnic_trace.c copy_and_format_trace_data(tdata, tdata 763 drivers/scsi/fnic/fnic_trace.c fc_trace = (char *)tdata; tdata 794 drivers/scsi/fnic/fnic_trace.c void copy_and_format_trace_data(struct fc_trace_hdr *tdata, tdata 806 drivers/scsi/fnic/fnic_trace.c tdata->frame_type = tdata->frame_type & 0x7F; tdata 810 drivers/scsi/fnic/fnic_trace.c time64_to_tm(tdata->time_stamp.tv_sec, 0, &tm); tdata 818 drivers/scsi/fnic/fnic_trace.c tdata->time_stamp.tv_nsec, tdata->host_no, tdata 819 drivers/scsi/fnic/fnic_trace.c tdata->frame_type, tdata->frame_len); tdata 821 drivers/scsi/fnic/fnic_trace.c fc_trace = (char *)FC_TRACE_ADDRESS(tdata); tdata 823 drivers/scsi/fnic/fnic_trace.c for (j = 0; j < min_t(u8, tdata->frame_len, tdata 825 drivers/scsi/fnic/fnic_trace.c if (tdata->frame_type == FNIC_FC_LE) { tdata 123 drivers/scsi/fnic/fnic_trace.h void copy_and_format_trace_data(struct fc_trace_hdr *tdata, tdata 310 drivers/scsi/mvsas/mv_sas.h void *tdata; tdata 274 drivers/scsi/snic/snic_disc.c tgt->tdata.typ = le16_to_cpu(tgtid->tgt_type); tdata 279 drivers/scsi/snic/snic_disc.c tgt->tdata.disc_id = 0; tdata 286 drivers/scsi/snic/snic_disc.c switch (tgt->tdata.typ) { tdata 312 drivers/scsi/snic/snic_disc.c tgt->id, snic_tgt_type_to_str(tgt->tdata.typ)); tdata 80 drivers/scsi/snic/snic_disc.h struct snic_tgt_priv tdata; tdata 1521 drivers/scsi/snic/snic_scsi.c if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN)) tdata 1800 drivers/scsi/snic/snic_scsi.c if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN)) tdata 2109 drivers/scsi/snic/snic_scsi.c if (tgt->tdata.typ == SNIC_TGT_DAS) tdata 2631 drivers/scsi/snic/snic_scsi.c if (tgt->tdata.typ == SNIC_TGT_DAS) tdata 71 drivers/usb/typec/tcpm/tcpci_rt1711h.c static struct rt1711h_chip *tdata_to_rt1711h(struct tcpci_data *tdata) tdata 73 drivers/usb/typec/tcpm/tcpci_rt1711h.c return container_of(tdata, struct rt1711h_chip, data); tdata 76 drivers/usb/typec/tcpm/tcpci_rt1711h.c static int rt1711h_init(struct tcpci *tcpci, struct tcpci_data *tdata) tdata 79 drivers/usb/typec/tcpm/tcpci_rt1711h.c struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); tdata 107 drivers/usb/typec/tcpm/tcpci_rt1711h.c static int rt1711h_set_vconn(struct tcpci *tcpci, struct tcpci_data *tdata, tdata 110 drivers/usb/typec/tcpm/tcpci_rt1711h.c struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); tdata 117 drivers/usb/typec/tcpm/tcpci_rt1711h.c struct tcpci_data *tdata, tdata 120 drivers/usb/typec/tcpm/tcpci_rt1711h.c struct rt1711h_chip *chip = tdata_to_rt1711h(tdata); tdata 1958 drivers/video/fbdev/amifb.c unsigned long tdata = 0; tdata 1959 drivers/video/fbdev/amifb.c get_user(tdata, data); tdata 1966 drivers/video/fbdev/amifb.c : "0" (datawords), "d" (tdata)); tdata 1969 drivers/video/fbdev/amifb.c datawords |= tdata & 1; tdata 1970 drivers/video/fbdev/amifb.c datawords |= (tdata & 2) << (16 - 1); tdata 601 lib/test_rhashtable.c static int thread_lookup_test(struct thread_data *tdata) tdata 603 lib/test_rhashtable.c unsigned int entries = tdata->entries; tdata 610 lib/test_rhashtable.c .tid = tdata->id, tdata 614 lib/test_rhashtable.c if (obj && (tdata->objs[i].value.id == TEST_INSERT_FAIL)) { tdata 617 lib/test_rhashtable.c } else if (!obj && (tdata->objs[i].value.id != TEST_INSERT_FAIL)) { tdata 634 lib/test_rhashtable.c struct thread_data *tdata = data; tdata 639 lib/test_rhashtable.c pr_err(" thread[%d]: interrupted\n", tdata->id); tdata 643 lib/test_rhashtable.c for (i = 0; i < tdata->entries; i++) { tdata 644 lib/test_rhashtable.c tdata->objs[i].value.id = i; tdata 645 lib/test_rhashtable.c tdata->objs[i].value.tid = tdata->id; tdata 646 lib/test_rhashtable.c err = insert_retry(&ht, &tdata->objs[i], test_rht_params); tdata 651 lib/test_rhashtable.c tdata->id); tdata 657 lib/test_rhashtable.c tdata->id, insert_retries); tdata 659 lib/test_rhashtable.c err = thread_lookup_test(tdata); tdata 662 lib/test_rhashtable.c tdata->id); tdata 667 lib/test_rhashtable.c for (i = 0; i < tdata->entries; i += step) { tdata 668 lib/test_rhashtable.c if (tdata->objs[i].value.id == TEST_INSERT_FAIL) tdata 670 lib/test_rhashtable.c err = rhashtable_remove_fast(&ht, &tdata->objs[i].node, tdata 674 lib/test_rhashtable.c tdata->id); tdata 677 lib/test_rhashtable.c tdata->objs[i].value.id = TEST_INSERT_FAIL; tdata 681 lib/test_rhashtable.c err = thread_lookup_test(tdata); tdata 684 lib/test_rhashtable.c tdata->id); tdata 701 lib/test_rhashtable.c struct thread_data *tdata; tdata 761 lib/test_rhashtable.c tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); tdata 762 lib/test_rhashtable.c if (!tdata) tdata 766 lib/test_rhashtable.c vfree(tdata); tdata 776 lib/test_rhashtable.c vfree(tdata); tdata 781 lib/test_rhashtable.c tdata[i].id = i; tdata 782 lib/test_rhashtable.c tdata[i].entries = entries; tdata 783 lib/test_rhashtable.c tdata[i].objs = objs + i * entries; tdata 784 lib/test_rhashtable.c tdata[i].task = kthread_run(threadfunc, &tdata[i], tdata 786 lib/test_rhashtable.c if (IS_ERR(tdata[i].task)) { tdata 799 lib/test_rhashtable.c if (IS_ERR(tdata[i].task)) tdata 801 lib/test_rhashtable.c if ((err = kthread_stop(tdata[i].task))) { tdata 808 lib/test_rhashtable.c vfree(tdata); tdata 1712 tools/perf/util/synthetic-events.c struct tracing_data *tdata; tdata 1727 tools/perf/util/synthetic-events.c tdata = tracing_data_get(&evlist->core.entries, fd, true); tdata 1728 tools/perf/util/synthetic-events.c if (!tdata) tdata 1734 tools/perf/util/synthetic-events.c size = tdata->size; tdata 1746 tools/perf/util/synthetic-events.c tracing_data_put(tdata); tdata 495 tools/perf/util/trace-event-info.c struct tracing_data *tdata; tdata 504 tools/perf/util/trace-event-info.c tdata = malloc(sizeof(*tdata)); tdata 505 tools/perf/util/trace-event-info.c if (!tdata) tdata 508 tools/perf/util/trace-event-info.c tdata->temp = temp; tdata 509 tools/perf/util/trace-event-info.c tdata->size = 0; tdata 514 tools/perf/util/trace-event-info.c snprintf(tdata->temp_file, sizeof(tdata->temp_file), tdata 516 tools/perf/util/trace-event-info.c if (!mkstemp(tdata->temp_file)) { tdata 518 tools/perf/util/trace-event-info.c free(tdata); tdata 522 tools/perf/util/trace-event-info.c temp_fd = open(tdata->temp_file, O_RDWR); tdata 524 tools/perf/util/trace-event-info.c pr_debug("Can't read '%s'", tdata->temp_file); tdata 525 tools/perf/util/trace-event-info.c free(tdata); tdata 562 tools/perf/util/trace-event-info.c tdata->size = lseek(output_fd, 0, SEEK_CUR); tdata 568 tools/perf/util/trace-event-info.c zfree(&tdata); tdata 571 tools/perf/util/trace-event-info.c return tdata; tdata 574 tools/perf/util/trace-event-info.c int tracing_data_put(struct tracing_data *tdata) tdata 578 tools/perf/util/trace-event-info.c if (tdata->temp) { tdata 579 tools/perf/util/trace-event-info.c err = record_file(tdata->temp_file, 0); tdata 580 tools/perf/util/trace-event-info.c unlink(tdata->temp_file); tdata 583 tools/perf/util/trace-event-info.c free(tdata); tdata 590 tools/perf/util/trace-event-info.c struct tracing_data *tdata; tdata 596 tools/perf/util/trace-event-info.c tdata = tracing_data_get(pattrs, fd, false); tdata 597 tools/perf/util/trace-event-info.c if (!tdata) tdata 600 tools/perf/util/trace-event-info.c err = tracing_data_put(tdata); tdata 64 tools/perf/util/trace-event.h int tracing_data_put(struct tracing_data *tdata);