host-drivers/base-driver/vca/vop/vop_kvec_buff.c
void vop_send_heads_up(struct vop_dev_common *cdev, struct vop_heads_up_irq* irq)
{
	u64 irq_ts;
	bool send;

	irq_ts = irq->sent_ts;
	send = jiffies_to_msecs(jiffies - irq_ts) >=  HEADS_UP_NOTIFICATION_TIMEOUT_MS;

	if (send) {
		irq->sent_ts = jiffies;
		cdev->send_heads_up(cdev, irq->op);
	}
}
/* Check whether heads up irq had been send within HEADS_UP_NOTIFICATION_TIMEOUT_MS
 * and send one if not */
Check whether heads up irq had been send within HEADS_UP_NOTIFICATION_TIMEOUT_MS
and send one if not
Check whether heads up irq had been send within HEADS_UP_NOTIFICATION_TIMEOUT_MS and send one if not
void vop_send_heads_up(struct vop_dev_common *cdev, struct vop_heads_up_irq* irq)
{
	u64 irq_ts;
	bool send;
	irq_ts = irq->sent_ts;
	send = jiffies_to_msecs(jiffies - irq_ts) >=  HEADS_UP_NOTIFICATION_TIMEOUT_MS;
	if (send) {
		irq->sent_ts = jiffies;
		cdev->send_heads_up(cdev, irq->op);
	}
}
void vop_send_heads_up ( struct vop_dev_common * cdev , struct vop_heads_up_irq * irq ) { u64 irq_ts ; bool send ; irq_ts = irq -> sent_ts ; send = jiffies_to_msecs ( jiffies - irq_ts ) >= HEADS_UP_NOTIFICATION_TIMEOUT_MS ; if ( send ) { irq -> sent_ts = jiffies ; cdev -> send_heads_up ( cdev , irq -> op ) ; } }
Check whether heads up irq had been send within HEADS_UP_NOTIFICATION_TIMEOUT_MS
 and send one if not
Check whether heads up irq had been send within HEADS_UP_NOTIFICATION_TIMEOUT_MS and send one if not