• Home
  • Raw
  • Download

Lines Matching refs:svalue

111     struct itimerval svalue;  in SysSetiTimer()  local
119 if (LOS_ArchCopyFromUser(&svalue, value, sizeof(struct itimerval))) { in SysSetiTimer()
124 ret = setitimer(which, &svalue, &sovalue); in SysSetiTimer()
140 struct itimerval svalue = { 0 }; in SysGetiTimer() local
147 ret = getitimer(which, &svalue); in SysGetiTimer()
152 if (LOS_ArchCopyToUser(value, &svalue, sizeof(struct itimerval))) { in SysGetiTimer()
192 struct itimerspec svalue = { 0 }; in SysTimerGettime() local
199 ret = timer_gettime(timerID, &svalue); in SysTimerGettime()
204 if (LOS_ArchCopyToUser(value, &svalue, sizeof(struct itimerspec))) { in SysTimerGettime()
215 struct itimerspec svalue; in SysTimerSettime() local
223 if (LOS_ArchCopyFromUser(&svalue, value, sizeof(struct itimerspec))) { in SysTimerSettime()
228 ret = timer_settime(timerID, flags, &svalue, &soldValue); in SysTimerSettime()
528 struct itimerspec64 svalue = { 0 }; in SysTimerGettime64() local
540 svalue.it_interval.tv_sec = val.it_interval.tv_sec; in SysTimerGettime64()
541 svalue.it_interval.tv_nsec = val.it_interval.tv_nsec; in SysTimerGettime64()
542 svalue.it_value.tv_sec = val.it_value.tv_sec; in SysTimerGettime64()
543 svalue.it_value.tv_nsec = val.it_value.tv_nsec; in SysTimerGettime64()
545 if (LOS_ArchCopyToUser(value, &svalue, sizeof(struct itimerspec64))) { in SysTimerGettime64()
558 struct itimerspec64 svalue; in SysTimerSettime64() local
566 if (LOS_ArchCopyFromUser(&svalue, value, sizeof(struct itimerspec64))) { in SysTimerSettime64()
571 if (svalue.it_interval.tv_sec > UINT32_MAX || svalue.it_value.tv_sec > UINT32_MAX) { in SysTimerSettime64()
576 val.it_interval.tv_sec = svalue.it_interval.tv_sec; in SysTimerSettime64()
577 val.it_interval.tv_nsec = svalue.it_interval.tv_nsec; in SysTimerSettime64()
578 val.it_value.tv_sec = svalue.it_value.tv_sec; in SysTimerSettime64()
579 val.it_value.tv_nsec = svalue.it_value.tv_nsec; in SysTimerSettime64()