| /linux/include/linux/ |
| A D | hdlcdrv.h | 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() 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/drivers/crypto/intel/qat/qat_common/ |
| A D | adf_heartbeat_dbgfs.c | 200 if (!hb) in adf_heartbeat_dbgfs_add() 204 hb->dbgfs.status = debugfs_create_file("status", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add() 206 hb->dbgfs.sent = debugfs_create_file("queries_sent", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add() 208 hb->dbgfs.failed = debugfs_create_file("queries_failed", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add() 210 hb->dbgfs.cfg = debugfs_create_file("config", 0600, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add() 230 if (!hb) in adf_heartbeat_dbgfs_rm() 234 hb->dbgfs.status = NULL; in adf_heartbeat_dbgfs_rm() 236 hb->dbgfs.sent = NULL; in adf_heartbeat_dbgfs_rm() 238 hb->dbgfs.failed = NULL; in adf_heartbeat_dbgfs_rm() 240 hb->dbgfs.cfg = NULL; in adf_heartbeat_dbgfs_rm() [all …]
|
| A D | adf_heartbeat.c | 224 struct adf_heartbeat *hb; in adf_heartbeat_status() local 238 hb->hb_sent_counter++; in adf_heartbeat_status() 244 hb->hb_failed_counter++; in adf_heartbeat_status() 284 hb = kzalloc(sizeof(*hb), GFP_KERNEL); in adf_heartbeat_init() 285 if (!hb) in adf_heartbeat_init() 290 if (!hb->dma.virt_addr) in adf_heartbeat_init() 303 kfree(hb); in adf_heartbeat_init() 336 if (!hb) in adf_heartbeat_shutdown() 339 if (hb->dma.virt_addr) in adf_heartbeat_shutdown() 341 hb->dma.virt_addr, hb->dma.phy_addr); in adf_heartbeat_shutdown() [all …]
|
| /linux/kernel/futex/ |
| A D | futex.h | 221 struct futex_q *q, struct futex_hash_bucket **hb); 249 __releases(&hb->lock) in futex_queue() 251 __futex_queue(q, hb); in futex_queue() 252 spin_unlock(&hb->lock); in futex_queue() 262 static inline void futex_hb_waiters_inc(struct futex_hash_bucket *hb) in futex_hb_waiters_inc() argument 265 atomic_inc(&hb->waiters); in futex_hb_waiters_inc() 277 static inline void futex_hb_waiters_dec(struct futex_hash_bucket *hb) in futex_hb_waiters_dec() argument 280 atomic_dec(&hb->waiters); in futex_hb_waiters_dec() 284 static inline int futex_hb_waiters_pending(struct futex_hash_bucket *hb) in futex_hb_waiters_pending() argument 291 return atomic_read(&hb->waiters); in futex_hb_waiters_pending() [all …]
|
| A D | waitwake.c | 157 struct futex_hash_bucket *hb; in futex_wake() local 173 hb = futex_hash(&key); in futex_wake() 179 spin_lock(&hb->lock); in futex_wake() 198 spin_unlock(&hb->lock); in futex_wake() 353 futex_queue(q, hb); in futex_wait_queue() 455 hb = futex_q_lock(q); in futex_wait_multiple_setup() 464 futex_queue(q, hb); in futex_wait_multiple_setup() 468 futex_q_unlock(hb); in futex_wait_multiple_setup() 622 *hb = futex_q_lock(q); in futex_wait_setup() 627 futex_q_unlock(*hb); in futex_wait_setup() [all …]
|
| A D | core.c | 523 futex_hb_waiters_dec(hb); in __futex_unqueue() 528 __acquires(&hb->lock) in futex_q_lock() 532 hb = futex_hash(&q->key); in futex_q_lock() 544 q->lock_ptr = &hb->lock; in futex_q_lock() 546 spin_lock(&hb->lock); in futex_q_lock() 547 return hb; in futex_q_lock() 551 __releases(&hb->lock) in futex_q_unlock() 553 spin_unlock(&hb->lock); in futex_q_unlock() 986 hb = futex_hash(&key); in exit_pi_state_list() 1006 spin_lock(&hb->lock); in exit_pi_state_list() [all …]
|
| A D | requeue.c | 226 struct futex_hash_bucket *hb) in requeue_pi_wake_futex() argument 235 q->lock_ptr = &hb->lock; in requeue_pi_wake_futex() 708 WARN_ON_ONCE(&hb->lock != q->lock_ptr); in handle_early_requeue_pi_wakeup() 714 plist_del(&q->list, &hb->chain); in handle_early_requeue_pi_wakeup() 715 futex_hb_waiters_dec(hb); in handle_early_requeue_pi_wakeup() 772 struct futex_hash_bucket *hb; in futex_wait_requeue_pi() local 817 futex_q_unlock(hb); in futex_wait_requeue_pi() 823 futex_wait_queue(hb, &q, to); in futex_wait_requeue_pi() 828 spin_lock(&hb->lock); in futex_wait_requeue_pi() 829 ret = handle_early_requeue_pi_wakeup(hb, &q, to); in futex_wait_requeue_pi() [all …]
|
| A D | pi.c | 923 struct futex_hash_bucket *hb; in futex_lock_pi() local 941 hb = futex_q_lock(&q); in futex_lock_pi() 965 futex_q_unlock(hb); in futex_lock_pi() 984 __futex_queue(&q, hb); in futex_lock_pi() 1085 futex_q_unlock(hb); in futex_lock_pi() 1095 futex_q_unlock(hb); in futex_lock_pi() 1136 hb = futex_hash(&key); in futex_unlock_pi() 1137 spin_lock(&hb->lock); in futex_unlock_pi() 1195 spin_unlock(&hb->lock); in futex_unlock_pi() 1234 spin_unlock(&hb->lock); in futex_unlock_pi() [all …]
|
| /linux/kernel/power/ |
| A D | swap.c | 236 hb->error = BLK_STS_OK; in hib_init_batch() 265 wake_up(&hb->wait); in hib_end_io() 288 if (hb) { in hib_submit_io() 290 bio->bi_private = hb; in hib_submit_io() 307 wait_event(hb->wait, atomic_read(&hb->count) == 0); in hib_wait_io() 388 if (hb) { in write_page() 559 hib_init_batch(&hb); in save_image() 581 hib_finish_batch(&hb); in save_image() 709 hib_init_batch(&hb); in save_compressed_image() 1100 hib_init_batch(&hb); in load_image() [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| A D | calxeda.yaml | 13 "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/arch/arm/boot/dts/calxeda/ |
| A D | ecx-common.dtsi | 26 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 …]
|
| /linux/tools/perf/ui/browsers/ |
| A D | hists.c | 59 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter() 100 hb->nr_callchain_rows = hist_browser__get_folding(hb); in hist_browser__nr_entries() 111 if (!hb->show_headers) { in hist_browser__update_rows() 1821 if (hb->show_headers) in hist_browser__refresh() 1825 hb->he_selection = NULL; in hist_browser__refresh() 1826 hb->selection = NULL; in hist_browser__refresh() 1912 struct hist_browser *hb; in ui_browser__hists_seek() local 1924 hb->min_pcnt); in ui_browser__hists_seek() 1978 hb->min_pcnt); in ui_browser__hists_seek() 2012 hb->min_pcnt); in ui_browser__hists_seek() [all …]
|
| /linux/io_uring/ |
| A D | poll.c | 127 spin_lock(&hb->lock); in io_poll_req_insert() 128 hlist_add_head(&req->hash_node, &hb->list); in io_poll_req_insert() 129 spin_unlock(&hb->lock); in io_poll_req_insert() 777 spin_lock(&hb->lock); in io_poll_remove_all_table() 785 spin_unlock(&hb->lock); in io_poll_remove_all_table() 815 spin_lock(&hb->lock); in io_poll_find() 825 *out_bucket = hb; in io_poll_find() 828 spin_unlock(&hb->lock); in io_poll_find() 846 spin_lock(&hb->lock); in io_poll_file_find() 849 *out_bucket = hb; in io_poll_file_find() [all …]
|
| A D | fdinfo.c | 194 struct io_hash_bucket *hb = &ctx->cancel_table.hbs[i]; in io_uring_show_fdinfo() local 198 spin_lock(&hb->lock); in io_uring_show_fdinfo() 199 hlist_for_each_entry(req, &hb->list, hash_node) in io_uring_show_fdinfo() 202 spin_unlock(&hb->lock); in io_uring_show_fdinfo()
|
| /linux/Documentation/devicetree/bindings/arm/calxeda/ |
| A D | hb-sregs.yaml | 4 $id: http://devicetree.org/schemas/arm/calxeda/hb-sregs.yaml# 19 const: calxeda,hb-sregs 36 compatible = "calxeda,hb-sregs";
|
| A D | l2ecc.yaml | 19 const: calxeda,hb-sregs-l2-ecc 39 compatible = "calxeda,hb-sregs-l2-ecc";
|
| /linux/drivers/cxl/ |
| A D | acpi.c | 509 static int cxl_get_chbs(struct device *dev, struct acpi_device *hb, in cxl_get_chbs() argument 545 struct acpi_device *hb = to_cxl_host_bridge(NULL, dev); in get_genport_coordinates() local 548 if (kstrtou32(acpi_device_uid(hb), 0, &uid)) in get_genport_coordinates() 564 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_dport() local 566 if (!hb) in add_host_bridge_dport() 569 rc = cxl_get_chbs(match, hb, &ctx); in add_host_bridge_dport() 585 pci_root = acpi_pci_find_root(hb->handle); in add_host_bridge_dport() 621 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_uport() local 630 if (!hb) in add_host_bridge_uport() 633 pci_root = acpi_pci_find_root(hb->handle); in add_host_bridge_uport() [all …]
|
| /linux/drivers/misc/bcm-vk/ |
| A D | bcm_vk_msg.c | 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() 185 struct bcm_vk_hb_ctrl *hb = &vk->hb_ctrl; in bcm_vk_hb_init() local 187 INIT_DELAYED_WORK(&hb->work, bcm_vk_hb_poll); in bcm_vk_hb_init() 193 struct bcm_vk_hb_ctrl *hb = &vk->hb_ctrl; in bcm_vk_hb_deinit() local [all …]
|
| /linux/drivers/atm/ |
| A D | nicstar.c | 203 struct sk_buff *hb; in nicstar_remove_one() local 229 dev_kfree_skb_any(hb); in nicstar_remove_one() 658 struct sk_buff *hb; in ns_init_card() local 660 if (hb == NULL) { in ns_init_card() 838 struct sk_buff *hb; in ns_init_card_error() local 2234 if (hb == NULL) { in dequeue_rx() 2322 vcc->push(vcc, hb); in dequeue_rx() 2612 struct sk_buff *hb; in ns_ioctl() local 2618 if (hb == NULL) in ns_ioctl() 2627 struct sk_buff *hb; in ns_ioctl() local [all …]
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| A D | calxeda-ddr-ctrlr.yaml | 20 - calxeda,hb-ddr-ctrl 39 compatible = "calxeda,hb-ddr-ctrl";
|
| /linux/Documentation/devicetree/bindings/phy/ |
| A D | calxeda-combophy.yaml | 22 const: calxeda,hb-combophy 46 compatible = "calxeda,hb-combophy";
|
| /linux/tools/memory-model/ |
| A D | linux-kernel.cat | 99 let hb = [Marked] ; (ppo | rfe | ((prop \ id) & int)) ; [Marked] 100 acyclic hb as happens-before 107 let pb = prop ; strong-fence ; hb* ; [Marked] 134 let rcu-link = po? ; hb* ; pb* ; prop ; po 159 let rb = prop ; rcu-fence ; hb* ; pb* ; [Marked] 168 * let xb = hb | pb | rb 182 let xbstar = (hb | pb | rb)*
|
| /linux/drivers/net/phy/ |
| A D | bcm-phy-ptp.c | 180 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/Documentation/devicetree/bindings/net/ |
| A D | calxeda-xgmac.yaml | 21 const: calxeda,hb-xgmac 46 compatible = "calxeda,hb-xgmac";
|
| /linux/drivers/scsi/ |
| A D | constants.c | 411 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()
|