FreeBSD/sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c
/* read the per-process use-count */
read the per-process use-count
read the per - process use - count
static int proc_read_use_count(char *page, char **start,
			       off_t off, int count,
			       int *eof, void *data)
{
	VCHIQ_INSTANCE_T instance = data;
	int len, use_count;
	use_count = vchiq_instance_get_use_count(instance);
	len = snprintf(page+off, count, "%d\n", use_count);
	return len;
}
static int proc_read_use_count ( char * page , char * * start , off_t off , int count , int * eof , void * data ) { VCHIQ_INSTANCE_T instance = data ; int len , use_count ; use_count = vchiq_instance_get_use_count ( instance ) ; len = snprintf ( page + off , count , " \n " , use_count ) ; return len ; }
read the per-process use-count
read the per - process use - count