Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/include/linux/
A Dhdlcdrv.h163 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()
176 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_empty()
177 ret = (hb->rd == hb->wr); in hdlcdrv_hbuf_empty()
190 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_get()
191 if (hb->rd == hb->wr) in hdlcdrv_hbuf_get()
195 val = hb->buf[hb->rd]; in hdlcdrv_hbuf_get()
196 hb->rd = newr; in hdlcdrv_hbuf_get()
212 if (newp != hb->rd) { in hdlcdrv_hbuf_put()
213 hb->buf[hb->wr] = val & 0xffff; in hdlcdrv_hbuf_put()
[all …]
/linux-6.3-rc2/kernel/futex/
A Dfutex.h144 struct futex_q *q, struct futex_hash_bucket **hb);
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()
199 static inline void futex_hb_waiters_dec(struct futex_hash_bucket *hb) in futex_hb_waiters_dec() argument
202 atomic_dec(&hb->waiters); in futex_hb_waiters_dec()
206 static inline int futex_hb_waiters_pending(struct futex_hash_bucket *hb) in futex_hb_waiters_pending() argument
213 return atomic_read(&hb->waiters); in futex_hb_waiters_pending()
[all …]
A Dwaitwake.c145 struct futex_hash_bucket *hb; in futex_wake() local
158 hb = futex_hash(&key); in futex_wake()
164 spin_lock(&hb->lock); in futex_wake()
183 spin_unlock(&hb->lock); in futex_wake()
338 futex_queue(q, hb); in futex_wait_queue()
440 hb = futex_q_lock(q); in futex_wait_multiple_setup()
449 futex_queue(q, hb); in futex_wait_multiple_setup()
453 futex_q_unlock(hb); in futex_wait_multiple_setup()
607 *hb = futex_q_lock(q); in futex_wait_setup()
612 futex_q_unlock(*hb); in futex_wait_setup()
[all …]
A Dcore.c509 futex_hb_waiters_dec(hb); in __futex_unqueue()
514 __acquires(&hb->lock) in futex_q_lock()
518 hb = futex_hash(&q->key); in futex_q_lock()
530 q->lock_ptr = &hb->lock; in futex_q_lock()
532 spin_lock(&hb->lock); in futex_q_lock()
533 return hb; in futex_q_lock()
537 __releases(&hb->lock) in futex_q_unlock()
539 spin_unlock(&hb->lock); in futex_q_unlock()
960 hb = futex_hash(&key); in exit_pi_state_list()
980 spin_lock(&hb->lock); in exit_pi_state_list()
[all …]
A Drequeue.c224 struct futex_hash_bucket *hb) in requeue_pi_wake_futex() argument
233 q->lock_ptr = &hb->lock; in requeue_pi_wake_futex()
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
813 futex_q_unlock(hb); in futex_wait_requeue_pi()
819 futex_wait_queue(hb, &q, to); in futex_wait_requeue_pi()
824 spin_lock(&hb->lock); in futex_wait_requeue_pi()
825 ret = handle_early_requeue_pi_wakeup(hb, &q, to); in futex_wait_requeue_pi()
[all …]
A Dpi.c935 struct futex_hash_bucket *hb; in futex_lock_pi() local
953 hb = futex_q_lock(&q); 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()
1124 hb = futex_hash(&key); in futex_unlock_pi()
1125 spin_lock(&hb->lock); in futex_unlock_pi()
1159 spin_unlock(&hb->lock); in futex_unlock_pi()
1198 spin_unlock(&hb->lock); in futex_unlock_pi()
[all …]
/linux-6.3-rc2/kernel/power/
A Dswap.c238 hb->error = BLK_STS_OK; in hib_init_batch()
267 wake_up(&hb->wait); in hib_end_io()
289 if (hb) { in hib_submit_io()
291 bio->bi_private = hb; in hib_submit_io()
308 wait_event(hb->wait, atomic_read(&hb->count) == 0); in hib_wait_io()
386 if (hb) { in write_page()
552 hib_init_batch(&hb); in save_image()
574 hib_finish_batch(&hb); in save_image()
694 hib_init_batch(&hb); in save_image_lzo()
1070 hib_init_batch(&hb); in load_image()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/clock/
A 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-6.3-rc2/arch/arm/boot/dts/
A 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";
175 compatible = "calxeda,hb-pll-clock";
182 compatible = "calxeda,hb-emmc-clock";
204 compatible = "calxeda,hb-xgmac";
211 compatible = "calxeda,hb-xgmac";
218 compatible = "calxeda,hb-combophy";
[all …]
A Dhighbank.dts108 compatible = "calxeda,hb-ddr-ctrl";
150 compatible = "calxeda,hb-sregs-l2-ecc";
/linux-6.3-rc2/tools/perf/ui/browsers/
A Dhists.c58 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
99 hb->nr_callchain_rows = hist_browser__get_folding(hb); in hist_browser__nr_entries()
110 if (!hb->show_headers) { in hist_browser__update_rows()
1830 if (hb->show_headers) in hist_browser__refresh()
1834 hb->he_selection = NULL; in hist_browser__refresh()
1835 hb->selection = NULL; in hist_browser__refresh()
1921 struct hist_browser *hb; in ui_browser__hists_seek() local
1933 hb->min_pcnt); in ui_browser__hists_seek()
1987 hb->min_pcnt); in ui_browser__hists_seek()
2021 hb->min_pcnt); in ui_browser__hists_seek()
[all …]
/linux-6.3-rc2/io_uring/
A Dpoll.c125 spin_lock(&hb->lock); in io_poll_req_insert()
126 hlist_add_head(&req->hash_node, &hb->list); in io_poll_req_insert()
127 spin_unlock(&hb->lock); in io_poll_req_insert()
754 spin_lock(&hb->lock); in io_poll_remove_all_table()
762 spin_unlock(&hb->lock); in io_poll_remove_all_table()
792 spin_lock(&hb->lock); in io_poll_find()
803 *out_bucket = hb; in io_poll_find()
806 spin_unlock(&hb->lock); in io_poll_find()
824 spin_lock(&hb->lock); in io_poll_file_find()
832 *out_bucket = hb; in io_poll_file_find()
[all …]
A Dfdinfo.c174 struct io_hash_bucket *hb = &ctx->cancel_table.hbs[i]; in __io_uring_show_fdinfo() local
178 spin_lock(&hb->lock); in __io_uring_show_fdinfo()
179 hlist_for_each_entry(req, &hb->list, hash_node) in __io_uring_show_fdinfo()
182 spin_unlock(&hb->lock); in __io_uring_show_fdinfo()
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/calxeda/
A Dhb-sregs.yaml4 $id: http://devicetree.org/schemas/arm/calxeda/hb-sregs.yaml#
19 const: calxeda,hb-sregs
36 compatible = "calxeda,hb-sregs";
A Dl2ecc.yaml19 const: "calxeda,hb-sregs-l2-ecc"
39 compatible = "calxeda,hb-sregs-l2-ecc";
/linux-6.3-rc2/drivers/misc/bcm-vk/
A Dbcm_vk_msg.c151 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()
185 struct bcm_vk_hb_ctrl *hb = &vk->hb_ctrl; in bcm_vk_hb_init() local
187 timer_setup(&hb->timer, bcm_vk_hb_poll, 0); in bcm_vk_hb_init()
193 struct bcm_vk_hb_ctrl *hb = &vk->hb_ctrl; in bcm_vk_hb_deinit() local
[all …]
/linux-6.3-rc2/drivers/atm/
A Dnicstar.c202 struct sk_buff *hb; in nicstar_remove_one() local
228 dev_kfree_skb_any(hb); in nicstar_remove_one()
657 struct sk_buff *hb; in ns_init_card() local
659 if (hb == NULL) { in ns_init_card()
837 struct sk_buff *hb; in ns_init_card_error() local
2233 if (hb == NULL) { in dequeue_rx()
2321 vcc->push(vcc, hb); in dequeue_rx()
2611 struct sk_buff *hb; in ns_ioctl() local
2617 if (hb == NULL) in ns_ioctl()
2626 struct sk_buff *hb; in ns_ioctl() local
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/memory-controllers/
A Dcalxeda-ddr-ctrlr.yaml20 - calxeda,hb-ddr-ctrl
39 compatible = "calxeda,hb-ddr-ctrl";
/linux-6.3-rc2/tools/memory-model/
A Dlinux-kernel.cat87 let hb = [Marked] ; (ppo | rfe | ((prop \ id) & int)) ; [Marked]
88 acyclic hb as happens-before
95 let pb = prop ; strong-fence ; hb* ; [Marked]
122 let rcu-link = po? ; hb* ; pb* ; prop ; po
147 let rb = prop ; rcu-fence ; hb* ; pb* ; [Marked]
156 * let xb = hb | pb | rb
170 let xbstar = (hb | pb | rb)*
/linux-6.3-rc2/Documentation/devicetree/bindings/phy/
A Dcalxeda-combophy.yaml22 const: calxeda,hb-combophy
46 compatible = "calxeda,hb-combophy";
/linux-6.3-rc2/drivers/cxl/
A Dacpi.c338 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_uport() local
345 if (!hb) in add_host_bridge_uport()
348 pci_root = acpi_pci_find_root(hb->handle); in add_host_bridge_uport()
429 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_dport() local
431 if (!hb) in add_host_bridge_dport()
434 rc = acpi_evaluate_integer(hb->handle, METHOD_NAME__UID, NULL, &uid); in add_host_bridge_dport()
465 pci_root = acpi_pci_find_root(hb->handle); in add_host_bridge_dport()
/linux-6.3-rc2/drivers/net/phy/
A Dbcm-phy-ptp.c180 u16 hb[4]; in bcm_ptp_get_framesync_ts() local
184 hb[0] = bcm_phy_read_exp(phydev, HB_REG_0); in bcm_ptp_get_framesync_ts()
185 hb[1] = bcm_phy_read_exp(phydev, HB_REG_1); in bcm_ptp_get_framesync_ts()
186 hb[2] = bcm_phy_read_exp(phydev, HB_REG_2); in bcm_ptp_get_framesync_ts()
187 hb[3] = bcm_phy_read_exp(phydev, HB_REG_3); in bcm_ptp_get_framesync_ts()
192 ts->tv_sec = (hb[3] << 16) | hb[2]; in bcm_ptp_get_framesync_ts()
193 ts->tv_nsec = (hb[1] << 16) | hb[0]; in bcm_ptp_get_framesync_ts()
/linux-6.3-rc2/Documentation/devicetree/bindings/net/
A Dcalxeda-xgmac.yaml21 const: calxeda,hb-xgmac
46 compatible = "calxeda,hb-xgmac";
/linux-6.3-rc2/drivers/scsi/
A 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-6.3-rc2/Documentation/devicetree/bindings/media/i2c/
A Dov7670.txt21 - ov7670,pclk-hb-disable: a boolean property to suppress pixel clock output
44 ov7670,pclk-hb-disable;

Completed in 70 milliseconds

123