Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dhdlcdrv.h157 static inline int hdlcdrv_hbuf_full(struct hdlcdrv_hdlcbuffer *hb) in hdlcdrv_hbuf_full() argument
162 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_full()
163 ret = !((HDLCDRV_HDLCBUFFER - 1 + hb->rd - hb->wr) % HDLCDRV_HDLCBUFFER); in hdlcdrv_hbuf_full()
164 spin_unlock_irqrestore(&hb->lock, flags); in hdlcdrv_hbuf_full()
170 static inline int hdlcdrv_hbuf_empty(struct hdlcdrv_hdlcbuffer *hb) in hdlcdrv_hbuf_empty() argument
175 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_empty()
176 ret = (hb->rd == hb->wr); in hdlcdrv_hbuf_empty()
177 spin_unlock_irqrestore(&hb->lock, flags); in hdlcdrv_hbuf_empty()
183 static inline unsigned short hdlcdrv_hbuf_get(struct hdlcdrv_hdlcbuffer *hb) in hdlcdrv_hbuf_get() argument
189 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_get()
[all …]
/linux-4.4.14/net/ipv4/
Dinet_fragment.c79 struct inet_frag_bucket *hb; in inet_frag_secret_rebuild() local
83 hb = &f->hash[i]; in inet_frag_secret_rebuild()
84 spin_lock(&hb->chain_lock); in inet_frag_secret_rebuild()
86 hlist_for_each_entry_safe(q, n, &hb->chain, list) { in inet_frag_secret_rebuild()
111 spin_unlock(&hb->chain_lock); in inet_frag_secret_rebuild()
127 inet_evict_bucket(struct inet_frags *f, struct inet_frag_bucket *hb) in inet_evict_bucket() argument
134 spin_lock(&hb->chain_lock); in inet_evict_bucket()
136 hlist_for_each_entry_safe(fq, n, &hb->chain, list) { in inet_evict_bucket()
147 spin_unlock(&hb->chain_lock); in inet_evict_bucket()
195 struct inet_frag_bucket *hb = &f->hash[i]; in inet_frags_init() local
[all …]
Dtcp_metrics.c913 struct tcpm_hash_bucket *hb = tcp_metrics_hash + row; in tcp_metrics_nl_dump() local
916 for (col = 0, tm = rcu_dereference(hb->chain); tm; in tcp_metrics_nl_dump()
1037 struct tcpm_hash_bucket *hb = tcp_metrics_hash; in tcp_metrics_flush_all() local
1041 for (row = 0; row < max_rows; row++, hb++) { in tcp_metrics_flush_all()
1044 pp = &hb->chain; in tcp_metrics_flush_all()
1059 struct tcpm_hash_bucket *hb; in tcp_metrics_nl_cmd_del() local
1081 hb = tcp_metrics_hash + hash; in tcp_metrics_nl_cmd_del()
1082 pp = &hb->chain; in tcp_metrics_nl_cmd_del()
/linux-4.4.14/kernel/
Dfutex.c345 static inline void hb_waiters_inc(struct futex_hash_bucket *hb) in hb_waiters_inc() argument
348 atomic_inc(&hb->waiters); in hb_waiters_inc()
360 static inline void hb_waiters_dec(struct futex_hash_bucket *hb) in hb_waiters_dec() argument
363 atomic_dec(&hb->waiters); in hb_waiters_dec()
367 static inline int hb_waiters_pending(struct futex_hash_bucket *hb) in hb_waiters_pending() argument
370 return atomic_read(&hb->waiters); in hb_waiters_pending()
655 static struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, in futex_top_waiter() argument
660 plist_for_each_entry(this, &hb->chain, list) { in futex_top_waiter()
791 struct futex_hash_bucket *hb; in exit_pi_state_list() local
807 hb = hash_futex(&key); in exit_pi_state_list()
[all …]
/linux-4.4.14/kernel/power/
Dswap.c223 static void hib_init_batch(struct hib_bio_batch *hb) in hib_init_batch() argument
225 atomic_set(&hb->count, 0); in hib_init_batch()
226 init_waitqueue_head(&hb->wait); in hib_init_batch()
227 hb->error = 0; in hib_init_batch()
232 struct hib_bio_batch *hb = bio->bi_private; in hib_end_io() local
245 if (bio->bi_error && !hb->error) in hib_end_io()
246 hb->error = bio->bi_error; in hib_end_io()
247 if (atomic_dec_and_test(&hb->count)) in hib_end_io()
248 wake_up(&hb->wait); in hib_end_io()
254 struct hib_bio_batch *hb) in hib_submit_io() argument
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Decx-common.dtsi37 compatible = "calxeda,hb-ahci";
49 compatible = "calxeda,hb-sdhci";
142 compatible = "calxeda,hb-sregs";
157 compatible = "calxeda,hb-pll-clock";
164 compatible = "calxeda,hb-pll-clock";
171 compatible = "calxeda,hb-a9periph-clock";
178 compatible = "calxeda,hb-a9bus-clock";
185 compatible = "calxeda,hb-pll-clock";
192 compatible = "calxeda,hb-emmc-clock";
214 compatible = "calxeda,hb-xgmac";
[all …]
Dhighbank.dts90 compatible = "calxeda,hb-ddr-ctrl";
134 compatible = "calxeda,hb-sregs-l2-ecc";
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dcalxeda.txt9 "calxeda,hb-pll-clock" - for a PLL clock
10 "calxeda,hb-a9periph-clock" - The A9 peripheral clock divided from the
12 "calxeda,hb-a9bus-clock" - The A9 bus clock divided from the A9 clock.
13 "calxeda,hb-emmc-clock" - Divided clock for MMC/SD controller.
/linux-4.4.14/tools/perf/ui/browsers/
Dhists.c43 static void hist_browser__update_nr_entries(struct hist_browser *hb);
48 static bool hist_browser__has_filter(struct hist_browser *hb) in hist_browser__has_filter() argument
50 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter; in hist_browser__has_filter()
71 static u32 hist_browser__nr_entries(struct hist_browser *hb) in hist_browser__nr_entries() argument
75 if (hist_browser__has_filter(hb)) in hist_browser__nr_entries()
76 nr_entries = hb->nr_non_filtered_entries; in hist_browser__nr_entries()
78 nr_entries = hb->hists->nr_entries; in hist_browser__nr_entries()
80 hb->nr_callchain_rows = hist_browser__get_folding(hb); in hist_browser__nr_entries()
81 return nr_entries + hb->nr_callchain_rows; in hist_browser__nr_entries()
84 static void hist_browser__update_rows(struct hist_browser *hb) in hist_browser__update_rows() argument
[all …]
/linux-4.4.14/drivers/staging/vt6655/
Dtmacro.h52 #define MAKEWORD(lb, hb) ((unsigned short)(((unsigned char)(lb)) | (((unsigned short)((unsigned … argument
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/
Dcalxeda-ddr-ctrlr.txt5 - "calxeda,hb-ddr-ctrl" for ECX-1000
13 compatible = "calxeda,hb-ddr-ctrl";
/linux-4.4.14/Documentation/devicetree/bindings/phy/
Dcalxeda-combophy.txt4 - compatible : Should be "calxeda,hb-combophy"
12 compatible = "calxeda,hb-combophy";
/linux-4.4.14/Documentation/devicetree/bindings/arm/calxeda/
Dl2ecc.txt4 - compatible : Should be "calxeda,hb-sregs-l2-ecc"
12 compatible = "calxeda,hb-sregs-l2-ecc";
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dcalxeda-xgmac.txt4 - compatible : Should be "calxeda,hb-xgmac"
15 compatible = "calxeda,hb-xgmac";
/linux-4.4.14/drivers/atm/
Dnicstar.c199 struct sk_buff *hb; in nicstar_remove_one() local
224 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) { in nicstar_remove_one()
225 dev_kfree_skb_any(hb); in nicstar_remove_one()
646 struct sk_buff *hb; in ns_init_card() local
647 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_init_card()
648 if (hb == NULL) { in ns_init_card()
656 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_init_card()
657 skb_queue_tail(&card->hbpool.queue, hb); in ns_init_card()
835 struct sk_buff *hb; in ns_init_card_error() local
836 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) in ns_init_card_error()
[all …]
Dfore200e.c2869 u32 hb = fore200e->bus->read(&fore200e->cp_queues->heartbeat); in fore200e_proc_read() local
2875 if (hb >> 16 != 0xDEAD) in fore200e_proc_read()
2876 len += sprintf(page + len, "0x%08x\n", hb); in fore200e_proc_read()
2878 len += sprintf(page + len, "*** FATAL ERROR %04x ***\n", hb & 0xFFFF); in fore200e_proc_read()
/linux-4.4.14/drivers/scsi/
Dconstants.c1231 int hb = host_byte(result); in scsi_hostbyte_string() local
1233 if (hb < ARRAY_SIZE(hostbyte_table)) in scsi_hostbyte_string()
1234 hb_string = hostbyte_table[hb]; in scsi_hostbyte_string()
/linux-4.4.14/Documentation/devicetree/bindings/ata/
Dsata_highbank.txt9 - compatible : compatible list, contains "calxeda,hb-ahci"
33 compatible = "calxeda,hb-ahci";
/linux-4.4.14/drivers/staging/comedi/drivers/
Ddt2801.c242 int hb = 0; in dt2801_readdata2() local
248 ret = dt2801_readdata(dev, &hb); in dt2801_readdata2()
252 *data = (hb << 8) + lb; in dt2801_readdata2()
/linux-4.4.14/arch/mips/kernel/
Dcps-vec.S268 jr.hb t1
383 jr.hb t1
477 1: jr.hb t0
/linux-4.4.14/drivers/staging/nvec/
DREADME13 [1] e.g. http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=tree;f=arch/arm/mach-tegra/nvec;hb=an…
/linux-4.4.14/drivers/scsi/cxlflash/
Dcommon.h175 u64 hb; member
Dmain.c1573 afu->hb = readq_be(&afu->afu_map->global.regs.afu_hb); in init_global()
/linux-4.4.14/net/rose/
Daf_rose.c411 rose->hb = opt * HZ; in rose_setsockopt()
464 val = rose->hb / HZ; in rose_getsockopt()
547 rose->hb = msecs_to_jiffies(sysctl_rose_ack_hold_back_timeout); in rose_create()
592 rose->hb = orose->hb; in rose_make_new()
1438 rose->hb / HZ, in rose_info_show()
Drose_timer.c93 rose->timer.expires = jiffies + rose->hb; in rose_start_hbtimer()
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbhw.c1053 u32 *vs, *vb, *vt, *hs, *hb, *ht, *ss, *pipe_conf; in intelfbhw_mode_to_hw() local
1067 hb = &hw->hblank_b; in intelfbhw_mode_to_hw()
1079 hb = &hw->hblank_a; in intelfbhw_mode_to_hw()
1240 *hb = (hblank_start << HBLANKSTART_SHIFT) | in intelfbhw_mode_to_hw()
1285 const u32 *hs, *ht, *hb, *vs, *vt, *vb, *ss; in intelfbhw_program_mode() local
1311 hb = &hw->hblank_b; in intelfbhw_program_mode()
1335 hb = &hw->hblank_a; in intelfbhw_program_mode()
1425 OUTREG(hblank_reg, *hb); in intelfbhw_program_mode()
/linux-4.4.14/include/net/
Drose.h138 unsigned long t1, t2, t3, hb, idle; member
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunhme.c140 struct hmeal_init_block *hb = hp->happy_block; in tx_dump_ring() local
141 struct happy_meal_txd *tp = &hb->happy_meal_txd[0]; in tx_dump_ring()
1251 struct hmeal_init_block *hb = hp->happy_block; in happy_meal_init_rings() local
1269 hme_write_rxd(hp, &hb->happy_meal_rxd[i], 0, 0); in happy_meal_init_rings()
1280 hme_write_rxd(hp, &hb->happy_meal_rxd[i], 0, 0); in happy_meal_init_rings()
1283 hme_write_rxd(hp, &hb->happy_meal_rxd[i], in happy_meal_init_rings()
1291 hme_write_txd(hp, &hb->happy_meal_txd[i], 0, 0); in happy_meal_init_rings()
/linux-4.4.14/drivers/md/
Ddm-cache-policy-smq.c1193 dm_oblock_t hb = to_hblock(mq, b); in update_hotspot_queue() local
1194 struct entry *e = h_lookup(&mq->hotspot_table, hb); in update_hotspot_queue()
1219 e->oblock = hb; in update_hotspot_queue()
/linux-4.4.14/arch/mips/kvm/
Dlocore.S426 jalr.hb t9
/linux-4.4.14/drivers/net/wireless/
Datmel.c4182 u8 hb = *src++; in atmel_copy_to_card() local
4183 atmel_write16(dev, DR, lb | (hb << 8)); in atmel_copy_to_card()