picotm  0.7.0
Data Fields
chrdev Struct Reference

#include <chrdev.h>

Collaboration diagram for chrdev:
Collaboration graph
[legend]

Data Fields

struct picotm_shared_ref16_obj ref_obj
 
struct file_id id
 
struct picotm_rwlock rwlock [NUMBER_OF_CHRDEV_FIELDS]
 

Detailed Description

Represents a character device's open file description.

Field Documentation

◆ id

struct file_id chrdev::id

The character device's unique id.

◆ ref_obj

struct picotm_shared_ref16_obj chrdev::ref_obj

Reference-counting base object.

◆ rwlock

struct picotm_rwlock chrdev::rwlock[NUMBER_OF_CHRDEV_FIELDS]

Reader/writer state locks.


The documentation for this struct was generated from the following file: