Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-28 10:46:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:release_posix_timer

Proto:static void release_posix_timer(struct k_itimer *tmr, int it_id_set)

Type:void

Parameter:

TypeParameterName
struct k_itimer *tmr
intit_id_set
454  If it_id_set Then
456  spin_lock_irqsave( & hash_lock, flags)
457  hlist_del_rcu - deletes entry from hash list without re-initialization*@n: the element to delete from the hash list.* Note: list_unhashed() on entry does not return true after this,* the entry is in an undefined state. It is useful for RCU based
458  spin_unlock_irqrestore( & hash_lock, flags)
460  put_pid(it_pid)
461  sigqueue_free(sigq)
462  all_rcu() - Queue an RCU callback for invocation after a grace period
Caller
NameDescribe
do_timer_createCreate a POSIX.1b interval timer.
SYSCALL_DEFINE1Delete a POSIX.1b interval timer.
itimer_deletern timer owned by the process, used by exit_itimers