Home
last modified time | relevance | path

Searched refs:hb (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/include/linux/
Dhdlcdrv.h158 static inline int hdlcdrv_hbuf_full(struct hdlcdrv_hdlcbuffer *hb) in hdlcdrv_hbuf_full() argument
163 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_full()
164 ret = !((HDLCDRV_HDLCBUFFER - 1 + hb->rd - hb->wr) % HDLCDRV_HDLCBUFFER); in hdlcdrv_hbuf_full()
165 spin_unlock_irqrestore(&hb->lock, flags); in hdlcdrv_hbuf_full()
171 static inline int hdlcdrv_hbuf_empty(struct hdlcdrv_hdlcbuffer *hb) in hdlcdrv_hbuf_empty() argument
176 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_empty()
177 ret = (hb->rd == hb->wr); in hdlcdrv_hbuf_empty()
178 spin_unlock_irqrestore(&hb->lock, flags); in hdlcdrv_hbuf_empty()
184 static inline unsigned short hdlcdrv_hbuf_get(struct hdlcdrv_hdlcbuffer *hb) in hdlcdrv_hbuf_get() argument
190 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_get()
[all …]
/linux-4.19.296/lib/zstd/
Dhuf.h83 U32 name##hb[maxSymbolValue + 1]; \
84 void *name##hv = &(name##hb); \
/linux-4.19.296/include/net/
Drose.h139 unsigned long t1, t2, t3, hb, idle; member