| /linux/sound/parisc/ |
| H A D | harmony.c | 95 harmony_read(struct snd_harmony *h, unsigned r) in harmony_read() argument 97 return __raw_readl(h->iobase + r); in harmony_read() 101 harmony_write(struct snd_harmony *h, unsigned r, unsigned long v) in harmony_write() argument 103 __raw_writel(v, h->iobase + r); in harmony_write() 107 harmony_wait_for_control(struct snd_harmony *h) in harmony_wait_for_control() argument 109 while (harmony_read(h, HARMONY_CNTL) & HARMONY_CNTL_C) ; in harmony_wait_for_control() 113 harmony_reset(struct snd_harmony *h) in harmony_reset() argument 115 harmony_write(h, HARMONY_RESET, 1); in harmony_reset() 117 harmony_write(h, HARMONY_RESET, 0); in harmony_reset() 121 harmony_disable_interrupts(struct snd_harmony *h) in harmony_disable_interrupts() argument [all …]
|
| /linux/net/dccp/ccids/lib/ |
| H A D | packet_history.c | |
| /linux/usr/include/ |
| H A D | Makefile | 21 no-header-test += asm/ucontext.h 22 no-header-test += drm/vmwgfx_drm.h 23 no-header-test += linux/am437x-vpfe.h 24 no-header-test += linux/coda.h 25 no-header-test += linux/cyclades.h 26 no-header-test += linux/errqueue.h 27 no-header-test += linux/hdlc/ioctl.h 28 no-header-test += linux/ivtv.h 29 no-header-test += linux/matroxfb.h 30 no-header-test += linux/omap3isp.h [all...] |
| /linux/drivers/scsi/ |
| H A D | hpsa.c | 238 static int hpsa_add_sas_host(struct ctlr_info *h); 239 static void hpsa_delete_sas_host(struct ctlr_info *h); 244 *hpsa_find_device_by_sas_rphy(struct ctlr_info *h, 257 static int hpsa_passthru_ioctl(struct ctlr_info *h, 259 static int hpsa_big_passthru_ioctl(struct ctlr_info *h, 267 static void cmd_free(struct ctlr_info *h, struct CommandList *c); 268 static struct CommandList *cmd_alloc(struct ctlr_info *h); 269 static void cmd_tagged_free(struct ctlr_info *h, struct CommandList *c); 270 static struct CommandList *cmd_tagged_alloc(struct ctlr_info *h, 272 static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h, [all …]
|
| /linux/tools/include/nolibc/ |
| H A D | Makefile | 21 arch_files := arch.h $(addsuffix .h, $(addprefix arch-, $(architectures))) 23 alloca.h \ 24 assert.h \ 25 byteswap.h \ 26 compiler.h \ 27 crt.h \ 28 ctype.h \ 29 dirent.h \ 30 elf.h \ [all...] |
| /linux/Documentation/hwmon/ |
| H A D | w83795.rst | 40 13 VSEN1 (VCORE1) 10h in0 41 14 VSEN2 (VCORE2) 11h in1 42 15 VSEN3 (VCORE3) 12h in2 43 16 VSEN4 13h in3 44 17 VSEN5 14h in4 45 18 VSEN6 15h in5 46 19 VSEN7 16h in6 47 20 VSEN8 17h in7 48 21 VSEN9 18h in8 49 22 VSEN10 19h in9 [all …]
|
| /linux/drivers/media/dvb-core/ |
| H A D | dvb_net.c | 319 static int dvb_net_ule_new_ts_cell(struct dvb_net_ule_handle *h) in dvb_net_ule_new_ts_cell() argument 326 memcpy(ule_where, h->ts, TS_SZ); in dvb_net_ule_new_ts_cell() 338 if ((h->ts[0] != TS_SYNC) || (h->ts[1] & TS_TEI) || in dvb_net_ule_new_ts_cell() 339 ((h->ts[3] & TS_SC) != 0)) { in dvb_net_ule_new_ts_cell() 341 h->priv->ts_count, h->ts[0], in dvb_net_ule_new_ts_cell() 342 (h->ts[1] & TS_TEI) >> 7, in dvb_net_ule_new_ts_cell() 343 (h->ts[3] & TS_SC) >> 6); in dvb_net_ule_new_ts_cell() 346 if (h->priv->ule_skb) { in dvb_net_ule_new_ts_cell() 347 dev_kfree_skb(h->priv->ule_skb); in dvb_net_ule_new_ts_cell() 349 h->dev->stats.rx_errors++; in dvb_net_ule_new_ts_cell() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A D | vpstate.c | 42 nvbios_vpstate_parse(struct nvkm_bios *b, struct nvbios_vpstate_header *h) in nvbios_vpstate_parse() argument 44 if (!h) in nvbios_vpstate_parse() 47 h->offset = nvbios_vpstate_offset(b); in nvbios_vpstate_parse() 48 if (!h->offset) in nvbios_vpstate_parse() 51 h->version = nvbios_rd08(b, h->offset); in nvbios_vpstate_parse() 52 switch (h->version) { in nvbios_vpstate_parse() 54 h->hlen = nvbios_rd08(b, h->offset + 0x1); in nvbios_vpstate_parse() 55 h->elen = nvbios_rd08(b, h->offset + 0x2); in nvbios_vpstate_parse() 56 h->slen = nvbios_rd08(b, h->offset + 0x3); in nvbios_vpstate_parse() 57 h->scount = nvbios_rd08(b, h->offset + 0x4); in nvbios_vpstate_parse() [all …]
|
| /linux/drivers/s390/crypto/ |
| H A D | pkey_base.c | 38 const struct pkey_handler *h; in pkey_handler_register() local 51 list_for_each_entry_rcu(h, &handler_list, list) { in pkey_handler_register() 52 if (h == handler) { in pkey_handler_register() 102 const struct pkey_handler *h; in pkey_handler_get_keybased() local 105 list_for_each_entry_rcu(h, &handler_list, list) { in pkey_handler_get_keybased() 106 if (!try_module_get(h->module)) in pkey_handler_get_keybased() 108 if (h->is_supported_key(key, keylen)) { in pkey_handler_get_keybased() 110 return h; in pkey_handler_get_keybased() 112 module_put(h->module); in pkey_handler_get_keybased() 122 const struct pkey_handler *h; in pkey_handler_get_keytypebased() local [all …]
|
| /linux/include/uapi/asm-generic/ |
| H A D | Kbuild | 6 mandatory-y += auxvec.h 7 mandatory-y += bitsperlong.h 8 mandatory-y += bpf_perf_event.h 9 mandatory-y += byteorder.h 10 mandatory-y += errno.h 11 mandatory-y += fcntl.h 12 mandatory-y += ioctl.h 13 mandatory-y += ioctls.h 14 mandatory-y += ipcbuf.h 15 mandatory-y += mman.h [all …]
|
| /linux/tools/net/ynl/ |
| H A D | Makefile.deps | 19 CFLAGS_dev-energymodel:=$(call get_hdr_inc,_LINUX_DEV_ENERGYMODEL_H,dev_energymodel.h) 20 CFLAGS_devlink:=$(call get_hdr_inc,_LINUX_DEVLINK_H_,devlink.h) 21 CFLAGS_dpll:=$(call get_hdr_inc,_LINUX_DPLL_H,dpll.h) 22 CFLAGS_drm_ras:=$(call get_hdr_inc_drm,_LINUX_DRM_RAS_H,drm_ras.h) 23 CFLAGS_ethtool:=$(call get_hdr_inc,_LINUX_TYPELIMITS_H,typelimits.h) \ 24 $(call get_hdr_inc,_LINUX_ETHTOOL_H,ethtool.h) \ 25 $(call get_hdr_inc,_LINUX_ETHTOOL_NETLINK_H_,ethtool_netlink.h) \ 26 $(call get_hdr_inc,_LINUX_ETHTOOL_NETLINK_GENERATED_H,ethtool_netlink_generated.h) 27 CFLAGS_handshake:=$(call get_hdr_inc,_LINUX_HANDSHAKE_H,handshake.h) 28 CFLAGS_lockd_netlink:=$(call get_hdr_inc,_LINUX_LOCKD_NETLINK_H,lockd_netlink.h) [all...] |
| /linux/drivers/media/pci/zoran/ |
| H A D | videocodec.c | 39 struct codec_list *h = codeclist_top; in videocodec_attach() local 55 if (!h) { in videocodec_attach() 60 while (h) { in videocodec_attach() 63 if ((master->flags & h->codec->flags) == master->flags) { in videocodec_attach() 64 zrdev_dbg(zr, "%s: try '%s'\n", __func__, h->codec->name); in videocodec_attach() 66 codec = kmemdup(h->codec, sizeof(struct videocodec), GFP_KERNEL); in videocodec_attach() 71 snprintf(codec->name + res, sizeof(codec->name) - res, "[%d]", h->attached); in videocodec_attach() 81 a = h->list; in videocodec_attach() 83 h->list = ptr; in videocodec_attach() 90 h->codec->name); in videocodec_attach() [all …]
|
| /linux/arch/um/include/asm/ |
| H A D | Kbuild | 2 generic-y += bug.h 3 generic-y += compat.h 4 generic-y += device.h 5 generic-y += dma-mapping.h 6 generic-y += emergency-restart.h 7 generic-y += exec.h 8 generic-y += ftrace.h 9 generic-y += hw_irq.h 10 generic-y += irq_regs.h 11 generic-y += irq_work.h [all...] |
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_dcbnl.c | 9 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getets() local 14 if (h->kinfo.dcb_ops->ieee_getets) in hns3_dcbnl_ieee_getets() 15 return h->kinfo.dcb_ops->ieee_getets(h, ets); in hns3_dcbnl_ieee_getets() 22 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setets() local 27 if (h->kinfo.dcb_ops->ieee_setets) in hns3_dcbnl_ieee_setets() 28 return h->kinfo.dcb_ops->ieee_setets(h, ets); in hns3_dcbnl_ieee_setets() 35 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getpfc() local 40 if (h->kinfo.dcb_ops->ieee_getpfc) in hns3_dcbnl_ieee_getpfc() 41 return h->kinfo.dcb_ops->ieee_getpfc(h, pfc); in hns3_dcbnl_ieee_getpfc() 48 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setpfc() local [all …]
|
| /linux/mm/ |
| H A D | hugetlb.c | 6 #include <linux/list.h> 7 #include <linux/init.h> 8 #include <linux/mm.h> 9 #include <linux/seq_file.h> 10 #include <linux/highmem.h> 11 #include <linux/mmu_notifier.h> 12 #include <linux/nodemask.h> 13 #include <linux/pagemap.h> 14 #include <linux/mempolicy.h> 15 #include <linux/compiler.h> 156 hugepage_new_subpool(struct hstate * h,long max_hpages,long min_hpages) hugepage_new_subpool() argument 487 record_hugetlb_cgroup_uncharge_info(struct hugetlb_cgroup * h_cg,struct hstate * h,struct resv_map * resv,struct file_region * nrg) record_hugetlb_cgroup_uncharge_info() argument 569 hugetlb_resv_map_add(struct resv_map * map,struct list_head * rg,long from,long to,struct hstate * h,struct hugetlb_cgroup * cg,long * regions_needed) hugetlb_resv_map_add() argument 596 add_reservation_in_range(struct resv_map * resv,long f,long t,struct hugetlb_cgroup * h_cg,struct hstate * h,long * regions_needed) add_reservation_in_range() argument 728 region_add(struct resv_map * resv,long f,long t,long in_regions_needed,struct hstate * h,struct hugetlb_cgroup * h_cg) region_add() argument 964 struct hstate *h = hstate_inode(inode); hugetlb_fix_reserve_counts() local 1011 vma_hugecache_offset(struct hstate * h,struct vm_area_struct * vma,unsigned long address) vma_hugecache_offset() argument 1060 resv_map_set_hugetlb_cgroup_uncharge_info(struct resv_map * resv_map,struct hugetlb_cgroup * h_cg,struct hstate * h) resv_map_set_hugetlb_cgroup_uncharge_info() argument 1234 enqueue_hugetlb_folio(struct hstate * h,struct folio * folio) enqueue_hugetlb_folio() argument 1247 dequeue_hugetlb_folio_node_exact(struct hstate * h,int nid) dequeue_hugetlb_folio_node_exact() argument 1275 dequeue_hugetlb_folio_nodemask(struct hstate * h,gfp_t gfp_mask,int nid,nodemask_t * nmask) dequeue_hugetlb_folio_nodemask() argument 1315 available_huge_pages(struct hstate * h) available_huge_pages() argument 1320 dequeue_hugetlb_folio_vma(struct hstate * h,struct vm_area_struct * vma,unsigned long address,long gbl_chg) dequeue_hugetlb_folio_vma() argument 1392 remove_hugetlb_folio(struct hstate * h,struct folio * folio,bool adjust_surplus) remove_hugetlb_folio() argument 1428 add_hugetlb_folio(struct hstate * h,struct folio * folio,bool adjust_surplus) add_hugetlb_folio() argument 1458 __update_and_free_hugetlb_folio(struct hstate * h,struct folio * folio) __update_and_free_hugetlb_folio() argument 1535 struct hstate *h; free_hpage_workfn() local 1556 flush_free_hpage_work(struct hstate * h) flush_free_hpage_work() argument 1562 update_and_free_hugetlb_folio(struct hstate * h,struct folio * folio,bool atomic) update_and_free_hugetlb_folio() argument 1581 bulk_vmemmap_restore_error(struct hstate * h,struct list_head * folio_list,struct list_head * non_hvo_folios) bulk_vmemmap_restore_error() argument 1632 update_and_free_pages_bulk(struct hstate * h,struct list_head * folio_list) update_and_free_pages_bulk() argument 1675 struct hstate *h; size_to_hstate() local 1690 struct hstate *h = folio_hstate(folio); free_huge_folio() local 1755 account_new_hugetlb_folio(struct hstate * h,struct folio * folio) account_new_hugetlb_folio() argument 1836 only_alloc_fresh_hugetlb_folio(struct hstate * h,gfp_t gfp_mask,int nid,nodemask_t * nmask,nodemask_t * node_alloc_noretry) only_alloc_fresh_hugetlb_folio() argument 1863 alloc_fresh_hugetlb_folio(struct hstate * h,gfp_t gfp_mask,int nid,nodemask_t * nmask) alloc_fresh_hugetlb_folio() argument 1874 prep_and_add_allocated_folios(struct hstate * h,struct list_head * folio_list) prep_and_add_allocated_folios() argument 1896 alloc_pool_huge_folio(struct hstate * h,nodemask_t * nodes_allowed,nodemask_t * node_alloc_noretry,int * next_node) alloc_pool_huge_folio() argument 1923 remove_pool_hugetlb_folio(struct hstate * h,nodemask_t * nodes_allowed,bool acct_surplus) remove_pool_hugetlb_folio() argument 1977 struct hstate *h = folio_hstate(folio); dissolve_free_hugetlb_folio() local 2054 struct hstate *h; dissolve_free_hugetlb_folios() local 2076 alloc_surplus_hugetlb_folio(struct hstate * h,gfp_t gfp_mask,int nid,nodemask_t * nmask) alloc_surplus_hugetlb_folio() argument 2124 alloc_migrate_hugetlb_folio(struct hstate * h,gfp_t gfp_mask,int nid,nodemask_t * nmask) alloc_migrate_hugetlb_folio() argument 2155 alloc_buddy_hugetlb_folio_with_mpol(struct hstate * h,struct vm_area_struct * vma,unsigned long addr) alloc_buddy_hugetlb_folio_with_mpol() argument 2180 alloc_hugetlb_folio_reserve(struct hstate * h,int preferred_nid,nodemask_t * nmask,gfp_t gfp_mask) alloc_hugetlb_folio_reserve() argument 2201 alloc_hugetlb_folio_nodemask(struct hstate * h,int preferred_nid,nodemask_t * nmask,gfp_t gfp_mask,bool allow_alloc_fallback) alloc_hugetlb_folio_nodemask() argument 2245 gather_surplus_pages(struct hstate * h,long delta) gather_surplus_pages() argument 2350 return_unused_surplus_pages(struct hstate * h,unsigned long unused_resv_pages) return_unused_surplus_pages() argument 2430 __vma_reservation_common(struct hstate * h,struct vm_area_struct * vma,unsigned long addr,enum vma_resv_mode mode) __vma_reservation_common() argument 2510 vma_needs_reservation(struct hstate * h,struct vm_area_struct * vma,unsigned long addr) vma_needs_reservation() argument 2516 vma_commit_reservation(struct hstate * h,struct vm_area_struct * vma,unsigned long addr) vma_commit_reservation() argument 2522 vma_end_reservation(struct hstate * h,struct vm_area_struct * vma,unsigned long addr) vma_end_reservation() argument 2528 vma_add_reservation(struct hstate * h,struct vm_area_struct * vma,unsigned long addr) vma_add_reservation() argument 2534 vma_del_reservation(struct hstate * h,struct vm_area_struct * vma,unsigned long addr) vma_del_reservation() argument 2560 restore_reserve_on_error(struct hstate * h,struct vm_area_struct * vma,unsigned long address,struct folio * folio) restore_reserve_on_error() argument 2645 struct hstate *h; alloc_and_dissolve_hugetlb_folio() local 2762 struct hstate *h; replace_free_hugepage_folios() local 2859 struct hstate *h = hstate_vma(vma); alloc_hugetlb_folio() local 3027 alloc_bootmem(struct hstate * h,int nid,bool node_exact) alloc_bootmem() argument 3079 __alloc_bootmem_huge_page(struct hstate * h,int nid) __alloc_bootmem_huge_page() argument 3118 hugetlb_folio_init_tail_vmemmap(struct folio * folio,struct hstate * h,unsigned long start_page_number,unsigned long end_page_number) hugetlb_folio_init_tail_vmemmap() argument 3141 hugetlb_folio_init_vmemmap(struct folio * folio,struct hstate * h,unsigned long nr_pages) hugetlb_folio_init_vmemmap() argument 3180 hugetlb_bootmem_init_migratetype(struct folio * folio,struct hstate * h) hugetlb_bootmem_init_migratetype() argument 3195 prep_and_add_bootmem_folios(struct hstate * h,struct list_head * folio_list) prep_and_add_bootmem_folios() argument 3263 hugetlb_bootmem_free_invalid_page(int nid,struct page * page,struct hstate * h) hugetlb_bootmem_free_invalid_page() argument 3284 struct hstate *h = NULL, *prev_h = NULL; gather_bootmem_prealloc_node() local 3371 hugetlb_hstate_alloc_pages_onenode(struct hstate * h,int nid) hugetlb_hstate_alloc_pages_onenode() argument 3414 hugetlb_hstate_alloc_pages_specific_nodes(struct hstate * h) hugetlb_hstate_alloc_pages_specific_nodes() argument 3429 hugetlb_hstate_alloc_pages_errcheck(unsigned long allocated,struct hstate * h) hugetlb_hstate_alloc_pages_errcheck() argument 3443 struct hstate *h = (struct hstate *)arg; hugetlb_pages_alloc_boot_node() local 3472 hugetlb_gigantic_pages_alloc_boot(struct hstate * h) hugetlb_gigantic_pages_alloc_boot() argument 3485 hugetlb_pages_alloc_boot(struct hstate * h) hugetlb_pages_alloc_boot() argument 3564 hugetlb_hstate_alloc_pages(struct hstate * h) hugetlb_hstate_alloc_pages() argument 3596 struct hstate *h, *h2; hugetlb_init_hstates() local 3636 struct hstate *h; report_hugepages() local 3657 try_to_free_low(struct hstate * h,unsigned long count,nodemask_t * nodes_allowed) try_to_free_low() argument 3689 try_to_free_low(struct hstate * h,unsigned long count,nodemask_t * nodes_allowed) try_to_free_low() argument 3700 adjust_pool_surplus(struct hstate * h,nodemask_t * nodes_allowed,int delta) adjust_pool_surplus() argument 3728 persistent_huge_pages(h) global() argument 3729 set_max_huge_pages(struct hstate * h,unsigned long count,int nid,nodemask_t * nodes_allowed) set_max_huge_pages() argument 4047 __nr_hugepages_store_common(bool obey_mempolicy,struct hstate * h,int nid,unsigned long count,size_t len) __nr_hugepages_store_common() argument 4159 struct hstate *h; hugetlb_add_hstate() local 4339 struct hstate *h; hugepagesz_setup() local 4459 struct hstate *h; hugetlb_bootmem_alloc() local 4499 allowed_mems_nr(struct hstate * h) allowed_mems_nr() argument 4518 struct hstate *h; hugetlb_report_meminfo() local 4548 struct hstate *h = &default_hstate; hugetlb_report_node_meminfo() local 4564 struct hstate *h; hugetlb_show_meminfo_node() local 4587 struct hstate *h; hugetlb_total_pages() local 4595 hugetlb_acct_memory(struct hstate * h,long delta) hugetlb_acct_memory() argument 4687 struct hstate *h = hstate_vma(vma); hugetlb_vm_op_close() local 4860 struct hstate *h = hstate_vma(src_vma); copy_hugetlb_page_range() local 5041 struct hstate *h = hstate_vma(vma); move_huge_pte() local 5080 struct hstate *h = hstate_vma(vma); move_hugetlb_page_tables() local 5150 struct hstate *h = hstate_vma(vma); __unmap_hugepage_range() local 5364 struct hstate *h = hstate_vma(vma); unmap_ref_private() local 5424 struct hstate *h = hstate_vma(vma); hugetlb_wp() local 5613 hugetlbfs_pagecache_present(struct hstate * h,struct vm_area_struct * vma,unsigned long address) hugetlbfs_pagecache_present() argument 5631 struct hstate *h = hstate_inode(inode); hugetlb_add_to_page_cache() local 5677 hugetlb_pte_stable(struct hstate * h,struct mm_struct * mm,unsigned long addr,pte_t * ptep,pte_t old_pte) hugetlb_pte_stable() argument 5697 struct hstate *h = hstate_vma(vma); hugetlb_no_page() local 5946 struct hstate *h = hstate_vma(vma); hugetlb_fault() local 6135 alloc_hugetlb_folio_vma(struct hstate * h,struct vm_area_struct * vma,unsigned long address) alloc_hugetlb_folio_vma() argument 6172 struct hstate *h = hstate_vma(dst_vma); hugetlb_mfill_atomic_pte() local 6391 struct hstate *h = hstate_vma(vma); hugetlb_change_protection() local 6545 struct hstate *h = hstate_inode(inode); hugetlb_reserve_pages() local 6730 struct hstate *h = hstate_inode(inode); hugetlb_unreserve_pages() local 7084 hugetlb_mask_last_page(struct hstate * h) hugetlb_mask_last_page() argument 7099 hugetlb_mask_last_page(struct hstate * h) hugetlb_mask_last_page() argument 7186 struct hstate *h = folio_hstate(old_folio); move_hugetlb_state() local 7245 struct hstate *h = hstate_vma(vma); hugetlb_unshare_pmds() local [all...] |
| H A D | hugetlb_sysfs.c | 45 struct hstate *h; in nr_hugepages_show_common() local 49 h = kobj_to_hstate(kobj, &nid); in nr_hugepages_show_common() 51 nr_huge_pages = h->nr_huge_pages; in nr_hugepages_show_common() 53 nr_huge_pages = h->nr_huge_pages_node[nid]; in nr_hugepages_show_common() 62 struct hstate *h; in nr_hugepages_store_common() local 71 h = kobj_to_hstate(kobj, &nid); in nr_hugepages_store_common() 72 return __nr_hugepages_store_common(obey_mempolicy, h, nid, count, len); in nr_hugepages_store_common() 113 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_show() local 114 return sysfs_emit(buf, "%lu\n", h->nr_overcommit_huge_pages); in nr_overcommit_hugepages_show() 122 struct hstate *h = kobj_to_hstate(kobj, NULL); in nr_overcommit_hugepages_store() local [all …]
|
| /linux/net/xfrm/ |
| H A D | xfrm_hash.h | 89 unsigned int h = family ^ reqid; in __xfrm_dst_hash() local 92 h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); in __xfrm_dst_hash() 95 h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); in __xfrm_dst_hash() 98 return (h ^ (h >> 16)) & hmask; in __xfrm_dst_hash() 106 unsigned int h = family; in __xfrm_src_hash() local 109 h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); in __xfrm_src_hash() 112 h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); in __xfrm_src_hash() 115 return (h ^ (h >> 16)) & hmask; in __xfrm_src_hash() 122 unsigned int h = (__force u32)spi ^ proto; in __xfrm_spi_hash() local 125 h ^= __xfrm4_addr_hash(daddr); in __xfrm_spi_hash() [all …]
|
| /linux/tools/perf/util/ |
| H A D | srccode.c | 92 struct srcfile *h; in find_srcfile() local 97 hlist_for_each_entry (h, &srcfile_htab[hval], hash_nd) { in find_srcfile() 98 if (!strcmp(fn, h->fn)) { in find_srcfile() 100 list_move(&h->nd, &srcfile_list); in find_srcfile() 101 return h; in find_srcfile() 109 h = list_entry(srcfile_list.prev, struct srcfile, nd); in find_srcfile() 110 free_srcfile(h); in find_srcfile() 119 h = malloc(sizeof(struct srcfile)); in find_srcfile() 120 if (!h) in find_srcfile() 123 h->fn = strdup(fn); in find_srcfile() [all …]
|
| /linux/drivers/media/test-drivers/visl/ |
| H A D | visl-trace-vp9.h | 129 TP_PROTO(const struct v4l2_ctrl_vp9_compressed_hdr *h), 130 TP_ARGS(h), 131 TP_STRUCT__entry(__field_struct(struct v4l2_ctrl_vp9_compressed_hdr, h)), 132 TP_fast_assign(__entry->h = *h;), 147 __print_symbolic(__entry->h.tx_mode, 154 __entry->h.tx8, 155 sizeof(__entry->h.tx8), 158 __entry->h.tx16, 159 sizeof(__entry->h.tx16), 162 __entry->h.tx32, [all …]
|
| /linux/arch/x86/entry/syscalls/ |
| H A D | Makefile | 27 $(uapi)/unistd_32.h: abis := i386 28 $(uapi)/unistd_32.h: $(syscall32) $(syshdr) FORCE 31 $(out)/unistd_32_ia32.h: abis := i386 32 $(out)/unistd_32_ia32.h: prefix := ia32_ 33 $(out)/unistd_32_ia32.h: $(syscall32) $(syshdr) FORCE 36 $(uapi)/unistd_x32.h: abis := common,x32 37 $(uapi)/unistd_x32.h: offset := __X32_SYSCALL_BIT 38 $(uapi)/unistd_x32.h: $(syscall64) $(syshdr) FORCE 41 $(uapi)/unistd_64.h: abis := common,64 42 $(uapi)/unistd_64.h: $(syscall64) $(syshdr) FORCE [all …]
|
| /linux/Documentation/gpu/imagination/ |
| H A D | uapi.rst | 4 The sources associated with this section can be found in ``pvr_drm.h``. 6 .. kernel-doc:: include/uapi/drm/pvr_drm.h 11 .. kernel-doc:: include/uapi/drm/pvr_drm.h 14 .. kernel-doc:: include/uapi/drm/pvr_drm.h 19 .. kernel-doc:: include/uapi/drm/pvr_drm.h 22 .. kernel-doc:: include/uapi/drm/pvr_drm.h 27 .. kernel-doc:: include/uapi/drm/pvr_drm.h 30 .. kernel-doc:: include/uapi/drm/pvr_drm.h 33 .. kernel-doc:: include/uapi/drm/pvr_drm.h 36 .. kernel-doc:: include/uapi/drm/pvr_drm.h [all …]
|
| /linux/drivers/acpi/ |
| H A D | acpi_configfs.c | 79 struct acpi_table_header *h = get_header(cfg); in acpi_table_aml_read() local 81 if (IS_ERR(h)) in acpi_table_aml_read() 82 return PTR_ERR(h); in acpi_table_aml_read() 85 memcpy(data, h, h->length); in acpi_table_aml_read() 87 return h->length; in acpi_table_aml_read() 101 struct acpi_table_header *h = get_header(cfg); in acpi_table_signature_show() local 103 if (IS_ERR(h)) in acpi_table_signature_show() 104 return PTR_ERR(h); in acpi_table_signature_show() 106 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->signature); in acpi_table_signature_show() 111 struct acpi_table_header *h = get_header(cfg); in acpi_table_length_show() local [all …]
|
| /linux/tools/include/linux/ |
| H A D | bits.h | 34 #define GENMASK_INPUT_CHECK(h, l) BUILD_BUG_ON_ZERO(const_true((l) > (h))) argument 46 #define GENMASK_TYPE(t, h, l) \ argument 47 ((t)(GENMASK_INPUT_CHECK(h, l) + \ 49 type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) 51 #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) argument 52 #define GENMASK_ULL(h, l) GENMASK_TYPE(unsigned long long, h, l) argument 54 #define GENMASK_U8(h, l) GENMASK_TYPE(u8, h, l) argument 55 #define GENMASK_U16(h, l) GENMASK_TYPE(u16, h, l) argument 56 #define GENMASK_U32(h, l) GENMASK_TYPE(u32, h, l) argument 57 #define GENMASK_U64(h, l) GENMASK_TYPE(u64, h, l) argument [all …]
|
| /linux/tools/lib/subcmd/ |
| H A D | parse-options.h | 5 #include <linux/kernel.h> 6 #include <stdbool.h> 7 #include <stdint.h> 120 #define OPT_ARGUMENT(l, h) { .type = OPTION_ARGUMENT, .long_name = (l), .help = (h) } argument 121 #define OPT_GROUP(h) { .type = OPTION_GROUP, .help = (h) } argument 122 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) } argument 123 #define OPT_BOOLEAN(s, l, v, h) { argument 118 OPT_ARGUMENT(l,h) global() argument 119 OPT_GROUP(h) global() argument 127 OPT_INCR(s,l,v,h) global() argument 128 OPT_SET_UINT(s,l,v,h,i) global() argument 129 OPT_SET_PTR(s,l,v,h,p) global() argument 130 OPT_INTEGER(s,l,v,h) global() argument 131 OPT_UINTEGER(s,l,v,h) global() argument 132 OPT_UINTEGER_OPTARG(s,l,v,d,h) global() argument 133 OPT_LONG(s,l,v,h) global() argument 134 OPT_ULONG(s,l,v,h) global() argument 135 OPT_U64(s,l,v,h) global() argument 136 OPT_STRING(s,l,v,a,h) global() argument 137 OPT_STRING_OPTARG(s,l,v,a,h,d) global() argument 141 OPT_STRING_OPTARG_SET(s,l,v,os,a,h,d) global() argument 146 OPT_STRING_NOEMPTY(s,l,v,a,h) global() argument 147 OPT_DATE(s,l,v,h) global() argument 149 OPT_CALLBACK(s,l,v,a,h,f) global() argument 151 OPT_CALLBACK_SET(s,l,v,os,a,h,f) global() argument 153 OPT_CALLBACK_NOOPT(s,l,v,a,h,f) global() argument 155 OPT_CALLBACK_DEFAULT(s,l,v,a,h,f,d) global() argument 157 OPT_CALLBACK_DEFAULT_NOOPT(s,l,v,a,h,f,d) global() argument 161 OPT_CALLBACK_OPTARG(s,l,v,d,a,h,f) global() argument [all...] |
| /linux/drivers/scsi/device_handler/ |
| H A D | scsi_dh_rdac.c | 229 struct rdac_dh_data *h; member 301 lun_table[qdata->h->lun] = 0x81; in rdac_failover_get() 362 static int get_lun_info(struct scsi_device *sdev, struct rdac_dh_data *h, in get_lun_info() argument 366 struct c8_inquiry *inqp = &h->inq.c8; in get_lun_info() 375 h->lun = inqp->lun[7]; /* Uses only the last byte */ in get_lun_info() 388 static int check_ownership(struct scsi_device *sdev, struct rdac_dh_data *h) in check_ownership() argument 392 struct c9_inquiry *inqp = &h->inq.c9; in check_ownership() 394 h->state = RDAC_STATE_ACTIVE; in check_ownership() 399 h->mode = RDAC_MODE_IOSHIP; /* LUN in IOSHIP mode */ in check_ownership() 401 h->mode = RDAC_MODE_AVT; /* LUN in AVT mode */ in check_ownership() [all …]
|