ginfo 1609 sound/core/timer.c struct snd_timer_ginfo *ginfo; ginfo 1615 sound/core/timer.c ginfo = memdup_user(_ginfo, sizeof(*ginfo)); ginfo 1616 sound/core/timer.c if (IS_ERR(ginfo)) ginfo 1617 sound/core/timer.c return PTR_ERR(ginfo); ginfo 1619 sound/core/timer.c tid = ginfo->tid; ginfo 1620 sound/core/timer.c memset(ginfo, 0, sizeof(*ginfo)); ginfo 1621 sound/core/timer.c ginfo->tid = tid; ginfo 1625 sound/core/timer.c ginfo->card = t->card ? t->card->number : -1; ginfo 1627 sound/core/timer.c ginfo->flags |= SNDRV_TIMER_FLG_SLAVE; ginfo 1628 sound/core/timer.c strlcpy(ginfo->id, t->id, sizeof(ginfo->id)); ginfo 1629 sound/core/timer.c strlcpy(ginfo->name, t->name, sizeof(ginfo->name)); ginfo 1630 sound/core/timer.c ginfo->resolution = t->hw.resolution; ginfo 1632 sound/core/timer.c ginfo->resolution_min = t->hw.resolution_min; ginfo 1633 sound/core/timer.c ginfo->resolution_max = t->hw.resolution_max; ginfo 1636 sound/core/timer.c ginfo->clients++; ginfo 1642 sound/core/timer.c if (err >= 0 && copy_to_user(_ginfo, ginfo, sizeof(*ginfo))) ginfo 1644 sound/core/timer.c kfree(ginfo);