| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_heartbeat_dbgfs.c | 198 struct adf_heartbeat *hb = accel_dev->heartbeat; in adf_heartbeat_dbgfs_add() local 200 if (!hb) in adf_heartbeat_dbgfs_add() 203 hb->dbgfs.base_dir = debugfs_create_dir("heartbeat", accel_dev->debugfs_dir); 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() 207 &hb->hb_sent_counter, &adf_hb_stats_fops); in adf_heartbeat_dbgfs_add() 208 hb->dbgfs.failed = debugfs_create_file("queries_failed", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add() 209 &hb->hb_failed_counter, &adf_hb_stats_fops); in adf_heartbeat_dbgfs_add() 210 hb->dbgfs.cfg = debugfs_create_file("config", 0600, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add() 217 hb->dbgfs.base_dir, accel_dev, in adf_heartbeat_dbgfs_add() [all …]
|
| H A D | adf_heartbeat.c | 224 struct adf_heartbeat *hb; in adf_heartbeat_status() local 237 hb = accel_dev->heartbeat; in adf_heartbeat_status() 238 hb->hb_sent_counter++; in adf_heartbeat_status() 244 hb->hb_failed_counter++; in adf_heartbeat_status() 282 struct adf_heartbeat *hb; in adf_heartbeat_init() local 284 hb = kzalloc_obj(*hb); in adf_heartbeat_init() 285 if (!hb) in adf_heartbeat_init() 288 hb->dma.virt_addr = dma_alloc_coherent(&GET_DEV(accel_dev), PAGE_SIZE, in adf_heartbeat_init() 289 &hb->dma.phy_addr, GFP_KERNEL); in adf_heartbeat_init() 290 if (!hb->dma.virt_addr) in adf_heartbeat_init() [all …]
|
| /linux/drivers/pci/ |
| H A D | ide.c | 45 static bool reserve_stream_id(struct pci_host_bridge *hb, u8 id) in reserve_stream_id() argument 49 ret = ida_alloc_range(&hb->ide_stream_ids_ida, id, id, GFP_KERNEL); in reserve_stream_id() 53 static bool claim_stream(struct pci_host_bridge *hb, u8 stream_id, in claim_stream() argument 56 dev_info(&hb->dev, "Stream ID %d active at init\n", stream_id); in claim_stream() 57 if (!reserve_stream_id(hb, stream_id)) { in claim_stream() 58 dev_info(&hb->dev, "Failed to claim %s Stream ID %d\n", in claim_stream() 80 struct pci_host_bridge *hb = pci_find_host_bridge(pdev->bus); in pci_ide_init() local 151 !claim_stream(hb, id, pdev, i)) in pci_ide_init() 163 !claim_stream(hb, id, NULL, -1)) in pci_ide_init() 248 struct pci_host_bridge *hb; in pci_ide_stream_alloc() local [all …]
|
| /linux/kernel/power/ |
| H A D | swap.c | 228 static void hib_init_batch(struct hib_bio_batch *hb) in hib_init_batch() argument 230 atomic_set(&hb->count, 0); in hib_init_batch() 231 init_waitqueue_head(&hb->wait); in hib_init_batch() 232 hb->error = BLK_STS_OK; in hib_init_batch() 233 blk_start_plug(&hb->plug); in hib_init_batch() 236 static void hib_finish_batch(struct hib_bio_batch *hb) in hib_finish_batch() argument 238 blk_finish_plug(&hb->plug); in hib_finish_batch() 243 struct hib_bio_batch *hb = bio->bi_private; in hib_end_io() local 258 if (bio->bi_status && !hb->error) in hib_end_io() 259 hb in hib_end_io() 273 hib_submit_io_async(blk_opf_t opf,pgoff_t page_off,void * addr,struct hib_bio_batch * hb) hib_submit_io_async() argument 288 hib_wait_io(struct hib_bio_batch * hb) hib_wait_io() argument 359 write_page(void * buf,sector_t offset,struct hib_bio_batch * hb) write_page() argument 426 swap_write_page(struct swap_map_handle * handle,void * buf,struct hib_bio_batch * hb) swap_write_page() argument 525 struct hib_bio_batch hb; save_image() local 699 struct hib_bio_batch hb; save_compressed_image() local 1050 swap_read_page(struct swap_map_handle * handle,void * buf,struct hib_bio_batch * hb) swap_read_page() argument 1096 struct hib_bio_batch hb; load_image() local 1199 struct hib_bio_batch hb; load_compressed_image() local [all...] |
| /linux/arch/arm/boot/dts/calxeda/ |
| H 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"; 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 …]
|
| H A D | highbank.dts | 108 compatible = "calxeda,hb-ddr-ctrl"; 150 compatible = "calxeda,hb-sregs-l2-ecc";
|
| /linux/kernel/futex/ |
| H A D | pi.c | 166 * hb->lock: 168 * hb -> futex_q, relation 171 * (cannot be raw because hb can contain arbitrary amount 192 * hb->lock 218 * We get here with hb->lock held, and having found a in attach_to_pi_state() 220 * has dropped the hb->lock in between futex_queue() and futex_unqueue_pi(), in attach_to_pi_state() 383 * This creates pi_state, we have hb->lock held, this means nothing can in __attach_to_pi_owner() 495 * @hb: the pi futex hash bucket 496 * @key: the futex key associated with uaddr and hb 510 * The hb 516 futex_lock_pi_atomic(u32 __user * uaddr,struct futex_hash_bucket * hb,union futex_key * key,struct futex_pi_state ** ps,struct task_struct * task,struct task_struct ** exiting,int set_waiters) futex_lock_pi_atomic() argument [all...] |
| H A D | requeue.c | 69 * requeue_futex() - Requeue a futex_q from one hb to another 205 * @hb: the hash_bucket of the requeue target futex 218 * 4) Set the q->lock_ptr to the requeue target hb->lock for the case that 227 * Must be called with both q->lock_ptr and hb->lock held. 231 struct futex_hash_bucket *hb) in requeue_pi_wake_futex() argument 246 q->lock_ptr = &hb->lock; in requeue_pi_wake_futex() 464 auto hb1 = hbr1.hb; in futex_requeue() 465 auto hb2 = hbr2.hb; in futex_requeue() 709 * @hb: the hash_bucket futex_q was original enqueued on 719 int handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb, in handle_early_requeue_pi_wakeup() 717 handle_early_requeue_pi_wakeup(struct futex_hash_bucket * hb,struct futex_q * q,struct hrtimer_sleeper * timeout) handle_early_requeue_pi_wakeup() argument [all...] |
| H A D | core.c | 265 struct futex_hash_bucket *hb; in futex_pivot_hash() 267 hb = __futex_hash(key, NULL, &fph); in futex_pivot_hash() 270 return (struct futex_bucket_ref){ .hb = hb, .fph = fph }; in futex_pivot_hash() 280 return (struct futex_bucket_ref){ .hb = __futex_hash(key, NULL, NULL), .fph = NULL }; in futex_private_hash() 753 * @hb: the hash bucket the futex_q's reside in in get_futex_key() 756 * Must be called with the hb lock held. in get_futex_key() 758 struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) in get_futex_key() 762 plist_for_each_entry(this, &hb->chain, list) { in get_futex_key() 808 struct futex_hash_bucket *hb; in futex_top_waiter() 163 futex_hash_get(struct futex_hash_bucket * hb) futex_hash_get() argument 172 futex_hash_put(struct futex_hash_bucket * hb) futex_hash_put() argument 305 struct futex_hash_bucket *hb; futex_hash() local 421 struct futex_hash_bucket *hb; __futex_hash() local 804 futex_top_waiter(struct futex_hash_bucket * hb,union futex_key * key) futex_top_waiter() argument 854 struct futex_hash_bucket *hb; __futex_unqueue() local 866 futex_q_lock(struct futex_q * q,struct futex_hash_bucket * hb) futex_q_lock() argument 884 futex_q_unlock(struct futex_hash_bucket * hb) futex_q_unlock() argument 890 __futex_queue(struct futex_q * q,struct futex_hash_bucket * hb,struct task_struct * task) __futex_queue() argument [all...] |
| /linux/tools/perf/ui/browsers/ |
| H A D | hists.c | 52 static void hist_browser__update_nr_entries(struct hist_browser *hb); 57 static bool hist_browser__has_filter(struct hist_browser *hb) in hist_browser__has_filter() argument 59 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter() 80 static void hist_browser__set_title_space(struct hist_browser *hb) in hist_browser__set_title_space() argument 82 struct ui_browser *browser = &hb->b; in hist_browser__set_title_space() 83 struct hists *hists = hb->hists; in hist_browser__set_title_space() 86 browser->extra_title_lines = hb->show_headers ? hpp_list->nr_header_lines : 0; in hist_browser__set_title_space() 89 static u32 hist_browser__nr_entries(struct hist_browser *hb) in hist_browser__nr_entries() argument 94 nr_entries = hb->nr_hierarchy_entries; in hist_browser__nr_entries() 95 else if (hist_browser__has_filter(hb)) in hist_browser__nr_entries() [all …]
|
| /linux/Documentation/driver-api/cxl/platform/ |
| H A D | example-configs.rst | 10 example-configurations/one-dev-per-hb.rst 11 example-configurations/multi-dev-per-hb.rst 12 example-configurations/hb-interleave.rst
|
| /linux/drivers/cxl/ |
| H A D | acpi.c | 579 static int cxl_get_chbs(struct device *dev, struct acpi_device *hb, in cxl_get_chbs() argument 585 rc = acpi_evaluate_integer(hb->handle, METHOD_NAME__UID, NULL, &uid); in cxl_get_chbs() 615 struct acpi_device *hb = to_cxl_host_bridge(NULL, dev); in get_genport_coordinates() local 618 if (kstrtou32(acpi_device_uid(hb), 0, &uid)) in get_genport_coordinates() 634 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_dport() local 636 if (!hb) in add_host_bridge_dport() 639 rc = cxl_get_chbs(match, hb, &ctx); in add_host_bridge_dport() 655 pci_root = acpi_pci_find_root(hb->handle); in add_host_bridge_dport() 691 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_uport() local 700 if (!hb) in add_host_bridge_uport() [all...] |
| /linux/drivers/misc/bcm-vk/ |
| H A D | bcm_vk_msg.c | 143 struct bcm_vk_hb_ctrl *hb = container_of(to_delayed_work(work), 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 schedule_delayed_work(&hb->work, BCM_VK_HB_TIMER_VALUE); in bcm_vk_hb_poll() [all …]
|
| /linux/tools/memory-model/ |
| H A D | linux-kernel.cat | 109 let hb = [Marked] ; (ppo | rfe | ((prop \ id) & int)) ; [Marked] 110 acyclic hb as happens-before 117 let pb = prop ; strong-fence ; hb* ; [Marked] 144 let rcu-link = po? ; hb* ; pb* ; prop ; po 169 let rb = prop ; rcu-fence ; hb* ; pb* ; [Marked] 178 * let xb = hb | pb | rb 192 let xbstar = (hb | pb | rb)*
|
| H A D | linux-kernel.cfg | 18 edgeattr hb,color,indigo
|
| /linux/drivers/scsi/ |
| H 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/net/ipv4/ |
| H A D | tcp_metrics.c | 778 struct tcpm_hash_bucket *hb = tcp_metrics_hash + row; in tcp_metrics_nl_dump() local 781 for (col = 0, tm = rcu_dereference(hb->chain); tm; in tcp_metrics_nl_dump() 901 struct tcpm_hash_bucket *hb = tcp_metrics_hash; in tcp_metrics_flush_all() local 905 for (row = 0; row < max_rows; row++, hb++) { in tcp_metrics_flush_all() 906 struct tcp_metrics_block __rcu **pp = &hb->chain; in tcp_metrics_flush_all() 930 struct tcpm_hash_bucket *hb; in tcp_metrics_nl_cmd_del() local 952 hb = tcp_metrics_hash + hash; in tcp_metrics_nl_cmd_del() 953 pp = &hb->chain; in tcp_metrics_nl_cmd_del()
|
| /linux/io_uring/ |
| H A D | poll.c | 745 struct io_hash_bucket *hb = &ctx->cancel_table.hbs[i]; in io_poll_remove_all() local 747 hlist_for_each_entry_safe(req, tmp, &hb->list, hash_node) { in io_poll_remove_all() 763 struct io_hash_bucket *hb = &ctx->cancel_table.hbs[index]; in io_poll_find() local 765 hlist_for_each_entry(req, &hb->list, hash_node) { in io_poll_find() 787 struct io_hash_bucket *hb = &ctx->cancel_table.hbs[i]; in io_poll_file_find() local 789 hlist_for_each_entry(req, &hb->list, hash_node) { in io_poll_file_find()
|
| H A D | fdinfo.c | 234 struct io_hash_bucket *hb = &ctx->cancel_table.hbs[i]; in __io_uring_show_fdinfo() local 237 hlist_for_each_entry(req, &hb->list, hash_node) in __io_uring_show_fdinfo()
|
| /linux/drivers/hwmon/ |
| H A D | w83773g.c | 56 static inline long temp_of_remote(s8 hb, u8 lb) in temp_of_remote() argument 58 return (hb << 3 | lb >> 5) * 125; in temp_of_remote()
|
| /linux/drivers/comedi/drivers/ |
| H A D | dt2801.c | 248 int hb = 0; in dt2801_readdata2() local 254 ret = dt2801_readdata(dev, &hb); in dt2801_readdata2() 258 *data = (hb << 8) + lb; in dt2801_readdata2()
|
| /linux/include/linux/ |
| H A D | pci-ide.h | 104 void pci_ide_set_nr_streams(struct pci_host_bridge *hb, u16 nr);
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_msg.c | 156 const char *msg, bool hb) in vmw_port_hb_out() argument 162 if (hb && !cc_platform_has(CC_ATTR_MEM_ENCRYPT)) { in vmw_port_hb_out() 206 unsigned long reply_len, bool hb) in vmw_port_hb_in() argument 211 if (hb && !cc_platform_has(CC_ATTR_MEM_ENCRYPT)) { in vmw_port_hb_in()
|
| /linux/drivers/staging/nvec/ |
| H A D | README | 13 [1] e.g. https://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=tree;f=arch/arm/mach-tegra/nvec;hb=a…
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_dev.c | 19 int hb; in ionic_watchdog_cb() local 27 hb = ionic_heartbeat_check(ionic); in ionic_watchdog_cb() 28 dev_dbg(ionic->dev, "%s: hb %d running %d UP %d\n", in ionic_watchdog_cb() 29 __func__, hb, netif_running(lif->netdev), in ionic_watchdog_cb() 32 if (hb >= 0 && in ionic_watchdog_cb()
|