Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/kernel/futex/
Dfutex.h144 struct futex_q *q, struct futex_hash_bucket **hb);
145 extern void futex_wait_queue(struct futex_hash_bucket *hb, struct futex_q *q,
152 extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key);
155 extern void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb);
170 static inline void futex_queue(struct futex_q *q, struct futex_hash_bucket *hb) in futex_queue() argument
171 __releases(&hb->lock) in futex_queue()
173 __futex_queue(q, hb); in futex_queue()
174 spin_unlock(&hb->lock); in futex_queue()
184 static inline void futex_hb_waiters_inc(struct futex_hash_bucket *hb) in futex_hb_waiters_inc() argument
187 atomic_inc(&hb->waiters); in futex_hb_waiters_inc()
[all …]
Dwaitwake.c145 struct futex_hash_bucket *hb; in futex_wake() local
158 hb = futex_hash(&key); in futex_wake()
161 if (!futex_hb_waiters_pending(hb)) in futex_wake()
164 spin_lock(&hb->lock); in futex_wake()
166 plist_for_each_entry_safe(this, next, &hb->chain, list) { in futex_wake()
183 spin_unlock(&hb->lock); in futex_wake()
328 void futex_wait_queue(struct futex_hash_bucket *hb, struct futex_q *q, in futex_wait_queue() argument
338 futex_queue(q, hb); in futex_wait_queue()
401 struct futex_hash_bucket *hb; in futex_wait_multiple_setup() local
440 hb = futex_q_lock(q); in futex_wait_multiple_setup()
[all …]
Dcore.c429 struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) in futex_top_waiter() argument
433 plist_for_each_entry(this, &hb->chain, list) { in futex_top_waiter()
501 struct futex_hash_bucket *hb; in __futex_unqueue() local
507 hb = container_of(q->lock_ptr, struct futex_hash_bucket, lock); in __futex_unqueue()
508 plist_del(&q->list, &hb->chain); in __futex_unqueue()
509 futex_hb_waiters_dec(hb); in __futex_unqueue()
514 __acquires(&hb->lock) in futex_q_lock()
516 struct futex_hash_bucket *hb; in futex_q_lock() local
518 hb = futex_hash(&q->key); in futex_q_lock()
528 futex_hb_waiters_inc(hb); /* implies smp_mb(); (A) */ in futex_q_lock()
[all …]
Drequeue.c224 struct futex_hash_bucket *hb) in requeue_pi_wake_futex() argument
233 q->lock_ptr = &hb->lock; in requeue_pi_wake_futex()
691 int handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb, in handle_early_requeue_pi_wakeup() argument
704 WARN_ON_ONCE(&hb->lock != q->lock_ptr); in handle_early_requeue_pi_wakeup()
710 plist_del(&q->list, &hb->chain); in handle_early_requeue_pi_wakeup()
711 futex_hb_waiters_dec(hb); in handle_early_requeue_pi_wakeup()
768 struct futex_hash_bucket *hb; in futex_wait_requeue_pi() local
804 ret = futex_wait_setup(uaddr, val, flags, &q, &hb); in futex_wait_requeue_pi()
813 futex_q_unlock(hb); in futex_wait_requeue_pi()
819 futex_wait_queue(hb, &q, to); in futex_wait_requeue_pi()
[all …]
Dpi.c514 int futex_lock_pi_atomic(u32 __user *uaddr, struct futex_hash_bucket *hb, in futex_lock_pi_atomic() argument
548 top_waiter = futex_top_waiter(hb, key); in futex_lock_pi_atomic()
935 struct futex_hash_bucket *hb; in futex_lock_pi() local
953 hb = futex_q_lock(&q); in futex_lock_pi()
955 ret = futex_lock_pi_atomic(uaddr, hb, &q.key, &q.pi_state, current, in futex_lock_pi()
977 futex_q_unlock(hb); in futex_lock_pi()
996 __futex_queue(&q, hb); in futex_lock_pi()
1073 futex_q_unlock(hb); in futex_lock_pi()
1083 futex_q_unlock(hb); in futex_lock_pi()
1104 struct futex_hash_bucket *hb; in futex_unlock_pi() local
[all …]
/linux-5.19.10/kernel/power/
Dswap.c234 static void hib_init_batch(struct hib_bio_batch *hb) in hib_init_batch() argument
236 atomic_set(&hb->count, 0); in hib_init_batch()
237 init_waitqueue_head(&hb->wait); in hib_init_batch()
238 hb->error = BLK_STS_OK; in hib_init_batch()
239 blk_start_plug(&hb->plug); in hib_init_batch()
242 static void hib_finish_batch(struct hib_bio_batch *hb) in hib_finish_batch() argument
244 blk_finish_plug(&hb->plug); in hib_finish_batch()
249 struct hib_bio_batch *hb = bio->bi_private; in hib_end_io() local
264 if (bio->bi_status && !hb->error) in hib_end_io()
265 hb->error = bio->bi_status; in hib_end_io()
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/clock/
Dcalxeda.yaml13 "hb-sregs" node.
24 - calxeda,hb-pll-clock
25 - calxeda,hb-a9periph-clock
26 - calxeda,hb-a9bus-clock
27 - calxeda,hb-emmc-clock
46 compatible = "calxeda,hb-sregs";
61 compatible = "calxeda,hb-pll-clock";
68 compatible = "calxeda,hb-pll-clock";
75 compatible = "calxeda,hb-a9periph-clock";
/linux-5.19.10/arch/arm/boot/dts/
Decx-common.dtsi26 compatible = "calxeda,hb-ahci";
39 compatible = "calxeda,hb-sdhci";
132 compatible = "calxeda,hb-sregs";
147 compatible = "calxeda,hb-pll-clock";
154 compatible = "calxeda,hb-pll-clock";
161 compatible = "calxeda,hb-a9periph-clock";
168 compatible = "calxeda,hb-a9bus-clock";
175 compatible = "calxeda,hb-pll-clock";
182 compatible = "calxeda,hb-emmc-clock";
204 compatible = "calxeda,hb-xgmac";
[all …]
Dhighbank.dts108 compatible = "calxeda,hb-ddr-ctrl";
150 compatible = "calxeda,hb-sregs-l2-ecc";
/linux-5.19.10/tools/perf/ui/browsers/
Dhists.c51 static void hist_browser__update_nr_entries(struct hist_browser *hb);
56 static bool hist_browser__has_filter(struct hist_browser *hb) in hist_browser__has_filter() argument
58 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
79 static void hist_browser__set_title_space(struct hist_browser *hb) in hist_browser__set_title_space() argument
81 struct ui_browser *browser = &hb->b; in hist_browser__set_title_space()
82 struct hists *hists = hb->hists; in hist_browser__set_title_space()
85 browser->extra_title_lines = hb->show_headers ? hpp_list->nr_header_lines : 0; in hist_browser__set_title_space()
88 static u32 hist_browser__nr_entries(struct hist_browser *hb) in hist_browser__nr_entries() argument
93 nr_entries = hb->nr_hierarchy_entries; in hist_browser__nr_entries()
94 else if (hist_browser__has_filter(hb)) in hist_browser__nr_entries()
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/arm/calxeda/
Dhb-sregs.yaml4 $id: http://devicetree.org/schemas/arm/calxeda/hb-sregs.yaml#
19 const: calxeda,hb-sregs
36 compatible = "calxeda,hb-sregs";
Dl2ecc.yaml19 const: "calxeda,hb-sregs-l2-ecc"
39 compatible = "calxeda,hb-sregs-l2-ecc";
/linux-5.19.10/drivers/misc/bcm-vk/
Dbcm_vk_msg.c143 struct bcm_vk_hb_ctrl *hb = container_of(t, struct bcm_vk_hb_ctrl, in bcm_vk_hb_poll() local
145 struct bcm_vk *vk = container_of(hb, struct bcm_vk, hb_ctrl); in bcm_vk_hb_poll()
151 if (uptime_s == hb->last_uptime) in bcm_vk_hb_poll()
152 hb->lost_cnt++; in bcm_vk_hb_poll()
154 hb->lost_cnt = 0; in bcm_vk_hb_poll()
157 hb->last_uptime, uptime_s, hb->lost_cnt); in bcm_vk_hb_poll()
164 hb->last_uptime = uptime_s; in bcm_vk_hb_poll()
167 hb->lost_cnt = 0; in bcm_vk_hb_poll()
171 if (hb->lost_cnt > BCM_VK_HB_LOST_MAX) { in bcm_vk_hb_poll()
180 mod_timer(&hb->timer, jiffies + BCM_VK_HB_TIMER_VALUE); in bcm_vk_hb_poll()
[all …]
/linux-5.19.10/drivers/atm/
Dnicstar.c202 struct sk_buff *hb; in nicstar_remove_one() local
227 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) { in nicstar_remove_one()
228 dev_kfree_skb_any(hb); in nicstar_remove_one()
657 struct sk_buff *hb; in ns_init_card() local
658 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_init_card()
659 if (hb == NULL) { in ns_init_card()
667 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_init_card()
668 skb_queue_tail(&card->hbpool.queue, hb); in ns_init_card()
837 struct sk_buff *hb; in ns_init_card_error() local
838 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) in ns_init_card_error()
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/memory-controllers/
Dcalxeda-ddr-ctrlr.yaml20 - calxeda,hb-ddr-ctrl
39 compatible = "calxeda,hb-ddr-ctrl";
/linux-5.19.10/tools/memory-model/
Dlinux-kernel.cat86 let hb = [Marked] ; (ppo | rfe | ((prop \ id) & int)) ; [Marked]
87 acyclic hb as happens-before
94 let pb = prop ; strong-fence ; hb* ; [Marked]
121 let rcu-link = po? ; hb* ; pb* ; prop ; po
146 let rb = prop ; rcu-fence ; hb* ; pb* ; [Marked]
155 * let xb = hb | pb | rb
169 let xbstar = (hb | pb | rb)*
Dlinux-kernel.cfg17 edgeattr hb,color,indigo
/linux-5.19.10/Documentation/devicetree/bindings/phy/
Dcalxeda-combophy.yaml22 const: calxeda,hb-combophy
46 compatible = "calxeda,hb-combophy";
/linux-5.19.10/Documentation/devicetree/bindings/net/
Dcalxeda-xgmac.yaml21 const: calxeda,hb-xgmac
46 compatible = "calxeda,hb-xgmac";
/linux-5.19.10/drivers/scsi/
Dconstants.c411 enum scsi_host_status hb = host_byte(result); in scsi_hostbyte_string() local
414 if (hb < ARRAY_SIZE(hostbyte_table)) in scsi_hostbyte_string()
415 hb_string = hostbyte_table[hb]; in scsi_hostbyte_string()
/linux-5.19.10/Documentation/devicetree/bindings/media/i2c/
Dov7670.txt21 - ov7670,pclk-hb-disable: a boolean property to suppress pixel clock output
44 ov7670,pclk-hb-disable;
/linux-5.19.10/net/ipv4/
Dtcp_metrics.c755 struct tcpm_hash_bucket *hb = tcp_metrics_hash + row; in tcp_metrics_nl_dump() local
758 for (col = 0, tm = rcu_dereference(hb->chain); tm; in tcp_metrics_nl_dump()
879 struct tcpm_hash_bucket *hb = tcp_metrics_hash; in tcp_metrics_flush_all() local
883 for (row = 0; row < max_rows; row++, hb++) { in tcp_metrics_flush_all()
888 pp = &hb->chain; in tcp_metrics_flush_all()
905 struct tcpm_hash_bucket *hb; in tcp_metrics_nl_cmd_del() local
927 hb = tcp_metrics_hash + hash; in tcp_metrics_nl_cmd_del()
928 pp = &hb->chain; in tcp_metrics_nl_cmd_del()
/linux-5.19.10/Documentation/devicetree/bindings/ata/
Dsata_highbank.yaml19 const: calxeda,hb-ahci
83 compatible = "calxeda,hb-ahci";
/linux-5.19.10/drivers/media/i2c/
Dmt9v111.c461 unsigned int hb; in mt9v111_calc_frame_rate() local
492 best_fps = vb = hb = 0; in mt9v111_calc_frame_rate()
500 for (hb = MT9V111_CORE_R05_MIN_HBLANK; in mt9v111_calc_frame_rate()
501 hb < MT9V111_CORE_R05_MAX_HBLANK; hb += 10) { in mt9v111_calc_frame_rate()
502 unsigned int t_frame = (row_pclk + hb) * in mt9v111_calc_frame_rate()
520 ret = v4l2_ctrl_s_ctrl_int64(mt9v111->hblank, hb); in mt9v111_calc_frame_rate()

12