/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/kernel/futex/ |
A D | futex.h | 149 struct futex_q *q, struct futex_hash_bucket **hb); 176 __releases(&hb->lock) in futex_queue() 178 __futex_queue(q, hb); in futex_queue() 179 spin_unlock(&hb->lock); in futex_queue() 189 static inline void futex_hb_waiters_inc(struct futex_hash_bucket *hb) in futex_hb_waiters_inc() argument 192 atomic_inc(&hb->waiters); in futex_hb_waiters_inc() 204 static inline void futex_hb_waiters_dec(struct futex_hash_bucket *hb) in futex_hb_waiters_dec() argument 207 atomic_dec(&hb->waiters); in futex_hb_waiters_dec() 211 static inline int futex_hb_waiters_pending(struct futex_hash_bucket *hb) in futex_hb_waiters_pending() argument 218 return atomic_read(&hb->waiters); in futex_hb_waiters_pending() [all …]
|
A D | waitwake.c | 145 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 D | core.c | 514 futex_hb_waiters_dec(hb); in __futex_unqueue() 519 __acquires(&hb->lock) in futex_q_lock() 523 hb = futex_hash(&q->key); in futex_q_lock() 535 q->lock_ptr = &hb->lock; in futex_q_lock() 537 spin_lock(&hb->lock); in futex_q_lock() 538 return hb; in futex_q_lock() 542 __releases(&hb->lock) in futex_q_unlock() 544 spin_unlock(&hb->lock); in futex_q_unlock() 965 hb = futex_hash(&key); in exit_pi_state_list() 985 spin_lock(&hb->lock); in exit_pi_state_list() [all …]
|
A D | requeue.c | 224 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 D | pi.c | 935 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/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() 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() 384 if (hb) { in write_page() 550 hib_init_batch(&hb); in save_image() 572 hib_finish_batch(&hb); in save_image() 692 hib_init_batch(&hb); in save_image_lzo() 1068 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/ |
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 …]
|
A D | highbank.dts | 108 compatible = "calxeda,hb-ddr-ctrl"; 150 compatible = "calxeda,hb-sregs-l2-ecc";
|
/linux/tools/perf/ui/browsers/ |
A D | hists.c | 58 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/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/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 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/drivers/atm/ |
A D | nicstar.c | 202 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 2239 if (hb == NULL) { in dequeue_rx() 2327 vcc->push(vcc, hb); in dequeue_rx() 2617 struct sk_buff *hb; in ns_ioctl() local 2623 if (hb == NULL) in ns_ioctl() 2632 struct sk_buff *hb; in ns_ioctl() local [all …]
|
/linux/drivers/staging/vt6655/ |
A D | tmacro.h | 37 #define MAKEWORD(lb, hb) ((unsigned short)(((unsigned char)(lb)) | (((unsigned short)((unsigned … argument
|
/linux/tools/memory-model/ |
A D | linux-kernel.cat | 86 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)*
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
A D | calxeda-ddr-ctrlr.yaml | 20 - calxeda,hb-ddr-ctrl 39 compatible = "calxeda,hb-ddr-ctrl";
|
/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()
|
/linux/Documentation/devicetree/bindings/phy/ |
A D | calxeda-combophy.yaml | 22 const: calxeda,hb-combophy 46 compatible = "calxeda,hb-combophy";
|
/linux/Documentation/devicetree/bindings/net/ |
A D | calxeda-xgmac.yaml | 21 const: calxeda,hb-xgmac 46 compatible = "calxeda,hb-xgmac";
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
A D | ov7670.txt | 21 - ov7670,pclk-hb-disable: a boolean property to suppress pixel clock output 44 ov7670,pclk-hb-disable;
|
/linux/net/ipv4/ |
A D | tcp_metrics.c | 754 struct tcpm_hash_bucket *hb = tcp_metrics_hash + row; in tcp_metrics_nl_dump() local 757 for (col = 0, tm = rcu_dereference(hb->chain); tm; in tcp_metrics_nl_dump() 878 struct tcpm_hash_bucket *hb = tcp_metrics_hash; in tcp_metrics_flush_all() local 882 for (row = 0; row < max_rows; row++, hb++) { in tcp_metrics_flush_all() 887 pp = &hb->chain; in tcp_metrics_flush_all() 904 struct tcpm_hash_bucket *hb; in tcp_metrics_nl_cmd_del() local 926 hb = tcp_metrics_hash + hash; in tcp_metrics_nl_cmd_del() 927 pp = &hb->chain; in tcp_metrics_nl_cmd_del()
|
/linux/drivers/media/i2c/ |
A D | mt9v111.c | 461 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()
|
/linux/Documentation/devicetree/bindings/ata/ |
A D | sata_highbank.yaml | 19 const: calxeda,hb-ahci 80 compatible = "calxeda,hb-ahci";
|