/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | proc.c | 22 const char *type, size_t len) 27 if (!strncmp(ns->header_name, type, cmp)) 35 const char *type, const size_t len) 39 ret = lookup_type(ns, type, len); 47 ret->header_name = strndup(type, len); 70 struct netstat *type = lookup_get_column(*dest, line); local 80 *dest = type; 81 type->counters = reallocarray(type->counters, 82 type 21 lookup_type(struct netstat *ns, const char *type, size_t len) argument 34 lookup_get(struct netstat *ns, const char *type, const size_t len) argument 121 struct netstat *type = lookup_get(*dest, snmp6_name, strlen(snmp6_name)); local [all...] |
/linux-master/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 24 __uint(type, BPF_MAP_TYPE_STACK_TRACE); 32 __uint(type, BPF_MAP_TYPE_HASH); 40 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 48 __uint(type, BPF_MAP_TYPE_HASH); 55 __uint(type, BPF_MAP_TYPE_HASH); 62 __uint(type, BPF_MAP_TYPE_HASH); 69 __uint(type, BPF_MAP_TYPE_HASH); 76 __uint(type, BPF_MAP_TYPE_HASH); 83 __uint(type, BPF_MAP_TYPE_HASH); 90 __uint(type, BPF_MAP_TYPE_HAS [all...] |
/linux-master/tools/perf/util/ |
H A D | annotate.c | 108 /* Data type collection debug statistics */ 1004 __func__, __LINE__, sym->name, sym->start, addr, sym->end, sym->type == STT_FUNC); 1696 * The ops.raw part will be parsed further according to type of the instruction. 3508 unsigned int type = (unsigned int) -1; local 3512 type = PERCENT_PERIOD_LOCAL; 3514 type = PERCENT_PERIOD_GLOBAL; 3519 type = PERCENT_HITS_LOCAL; 3521 type = PERCENT_HITS_GLOBAL; 3524 return type; 3530 unsigned int type; local [all...] |
/linux-master/tools/include/uapi/sound/ |
H A D | asound.h | 59 unsigned char db1_ct_cc; /* coding type and channel count */ 356 #define SNDRV_PCM_HW_PARAM_ACCESS 0 /* Access type */ 449 unsigned int tstamp_type; /* timestamp type (req. proto >= 2.0.12) */ 1045 int pad; /* reserved for future (was type) */ 1057 #define SNDRV_CTL_ELEM_TYPE_BOOLEAN ((__force snd_ctl_elem_type_t) 1) /* boolean type */ 1058 #define SNDRV_CTL_ELEM_TYPE_INTEGER ((__force snd_ctl_elem_type_t) 2) /* integer type */ 1059 #define SNDRV_CTL_ELEM_TYPE_ENUMERATED ((__force snd_ctl_elem_type_t) 3) /* enumerated type */ 1062 #define SNDRV_CTL_ELEM_TYPE_INTEGER64 ((__force snd_ctl_elem_type_t) 6) /* 64-bit integer type */ 1121 snd_ctl_elem_type_t type; /* R: value type member in struct:snd_ctl_elem_info 1224 int type; /* event type - SNDRV_CTL_EVENT_* */ member in struct:snd_ctl_event [all...] |
/linux-master/tools/include/uapi/linux/ |
H A D | kvm.h | 97 __u32 type; member in struct:kvm_hyperv_exit 126 __u32 type; member in struct:kvm_xen_exit 309 * that is used for the KVM_INTERNAL_ERROR_EMULATION sub-type of 365 __u32 type; member in struct:kvm_run::__anon162::__anon184 623 /* machine type bits, to be used as argument to KVM_CREATE_VM */ 638 * On arm64, machine type can be used to request the physical 966 __u32 type; member in struct:kvm_irq_routing_entry 1098 __u32 type; /* in: KVM_DEV_TYPE_xxx */ member in struct:kvm_create_device 1496 * @flags: Annotations of the stats, like type, unit, etc. 1499 * Every data item is of type __u6 [all...] |
/linux-master/tools/include/uapi/drm/ |
H A D | i915_drm.h | 158 * enum drm_i915_gem_engine_class - uapi engine type enumeration 936 * This is a fixed-size type for 32/64 compatibility. 952 * This is a fixed-size type for 32/64 compatibility. 972 * This is a fixed-size type for 32/64 compatibility. 992 * This is a fixed-size type for 32/64 compatibility. 1015 * This is a fixed-size type for 32/64 compatibility. 1031 * type. On devices without local memory, this caching mode is invalid. 2893 __u32 type; member in struct:drm_i915_perf_record_header 2901 * Samples are the work horse record type whose contents are extensible 3441 * here, also note that no current region type wil [all...] |
/linux-master/tools/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 130 __u8 type; member in struct:kvm_segment 565 __u16 type; member in struct:kvm_xen_hvm_attr 578 __u32 type; /* EVTCHNSTAT_ipi / EVTCHNSTAT_interdomain */ member in struct:kvm_xen_hvm_attr::__anon140::__anon142 620 __u16 type; member in struct:kvm_xen_vcpu_attr
|
/linux-master/tools/arch/s390/include/uapi/asm/ |
H A D | kvm.h | 65 __u32 op; /* type of operation */ 101 /* valid values for type in kvm_s390_interrupt */ 127 __u32 type; member in struct:kvm_s390_interrupt 193 __u64 type; member in struct:kvm_s390_irq 378 __u8 type; member in struct:kvm_s390_io_adapter_req 530 __u8 type; member in struct:kvm_debug_exit_arch 538 __u8 type; member in struct:kvm_hw_breakpoint
|
/linux-master/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 285 * These are used as "type" in KVM_SET_GUEST_DEBUG ioctl and "status" 311 __u32 type; member in struct:kvm_guest_debug_arch::__anon117
|
/linux-master/sound/pci/hda/ |
H A D | tas2781_hda_i2c.c | 173 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 230 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 244 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
|
H A D | patch_realtek.c | 616 static void alc_auto_init_amp(struct hda_codec *codec, int type) argument 620 switch (type) { 1266 .type = HDA_FIXUP_FUNC, 1270 .type = HDA_FIXUP_FUNC, 1274 .type = HDA_FIXUP_VERBS, 1284 .type = HDA_FIXUP_PINS, 1294 .type = HDA_FIXUP_PINS, 1302 .type = HDA_FIXUP_PINS, 1312 .type = HDA_FIXUP_VERBS, 1321 .type [all...] |
/linux-master/sound/core/seq/ |
H A D | seq_ump_convert.c | 72 #define make_raw_ump(port, type) \ 73 ump_compose(type, get_ump_group(port), 0, 0) 141 ev->type = midi1_msg_encoders[status].seq_type; 191 ev->type = system_msg_encoders[status].seq_type; 193 if (ev->type == SNDRV_SEQ_EVENT_NONE) 212 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && 246 ev->type = SNDRV_SEQ_EVENT_CONTROL14; 251 ev->type = SNDRV_SEQ_EVENT_PGMCHANGE; 308 ev->type = midi2_msg_encoders[status].seq_type; 309 if (ev->type 466 cvt_ump_to_any(struct snd_seq_client *dest, struct snd_seq_client_port *dest_port, struct snd_seq_event *event, unsigned char type, int atomic, int hop) argument 551 unsigned char type; local 1040 find_ump_encoder(int type) argument [all...] |
/linux-master/net/unix/ |
H A D | af_unix.c | 147 int addr_len, int type) 154 hash ^= type; 731 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) 817 if (sock->type == SOCK_DGRAM || s_state == TCP_ESTABLISHED) 952 static struct sock *unix_create1(struct net *net, struct socket *sock, int kern, int type) argument 964 if (type == SOCK_STREAM) 1013 switch (sock->type) { 1022 sock->type = SOCK_DGRAM; 1034 sk = unix_create1(net, sock, kern, sock->type); 146 unix_abstract_hash(struct sockaddr_un *sunaddr, int addr_len, int type) argument 1055 unix_find_bsd(struct sockaddr_un *sunaddr, int addr_len, int type) argument 1099 unix_find_abstract(struct net *net, struct sockaddr_un *sunaddr, int addr_len, int type) argument 1118 unix_find_other(struct net *net, struct sockaddr_un *sunaddr, int addr_len, int type) argument [all...] |
/linux-master/net/sched/ |
H A D | sch_generic.c | 1162 else if(dev->type == ARPHRD_CAN)
|
/linux-master/net/netfilter/ |
H A D | nft_set_pipapo.c | 321 * http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.212.4592&rep=rep1&type=pdf 510 * @gfp: the type of memory to allocate (see kmalloc). 2126 WARN_ON_ONCE(iter->type != NFT_ITER_READ && 2127 iter->type != NFT_ITER_UPDATE); 2130 if (iter->type == NFT_ITER_READ)
|
H A D | nf_tables_api.c | 332 if (basechain->type->ops_register) 333 return basechain->type->ops_register(net, ops); 355 if (basechain->type->ops_unregister) 356 return basechain->type->ops_unregister(net, ops); 636 .type = NFT_ITER_UPDATE, 845 __nft_chain_type_get(u8 family, enum nft_chain_types type) argument 848 type >= NFT_CHAIN_T_MAX) 851 return chain_type[family][type]; 857 const struct nft_chain_type *type; local 861 type 928 const struct nft_chain_type *type; local 2213 const struct nft_chain_type *type; member in struct:nft_chain_hook 2255 const struct nft_chain_type *type; local 3037 nft_register_expr(struct nft_expr_type *type) argument 3058 nft_unregister_expr(struct nft_expr_type *type) argument 3069 const struct nft_expr_type *type, *candidate = NULL; local 3098 const struct nft_expr_type *type; local 3181 const struct nft_expr_type *type; local 3235 const struct nft_expr_type *type; local 3291 const struct nft_expr_type *type = expr->ops->type; local 3413 u16 type = nfnl_msg_type(NFNL_SUBSYS_NFTABLES, event); local 4295 nft_set_ops_candidate(const struct nft_set_type *type, u32 flags) argument 4312 const struct nft_set_type *type; local 7211 nft_data_hold(const struct nft_data *data, enum nft_data_types type) argument 7588 nft_obj_init(const struct nft_ctx *ctx, const struct nft_object_type *type, const struct nlattr *attr) argument 7660 const struct nft_object_type *type; local 7676 const struct nft_object_type *type; local 7696 nf_tables_updobj(const struct nft_ctx *ctx, const struct nft_object_type *type, const struct nlattr *attr, struct nft_object *obj) argument 7739 const struct nft_object_type *type; local 7903 u32 type; member in struct:nft_obj_dump_ctx 8202 nft_register_flowtable_type(struct nf_flowtable_type *type) argument 8210 nft_unregister_flowtable_type(struct nf_flowtable_type *type) argument 8359 const struct nf_flowtable_type *type; local 8371 const struct nf_flowtable_type *type; local 8569 const struct nf_flowtable_type *type; local 10777 nft_chain_validate_dependency(const struct nft_chain *chain, enum nft_chain_types type) argument 11049 nft_validate_register_store(const struct nft_ctx *ctx, enum nft_registers reg, const struct nft_data *data, enum nft_data_types type, unsigned int len) argument 11086 nft_parse_register_store(const struct nft_ctx *ctx, const struct nlattr *attr, u8 *dreg, const struct nft_data *data, enum nft_data_types type, unsigned int len) argument 11195 nft_verdict_dump(struct sk_buff *skb, int type, const struct nft_verdict *v) argument 11309 nft_data_release(const struct nft_data *data, enum nft_data_types type) argument 11322 nft_data_dump(struct sk_buff *skb, int attr, const struct nft_data *data, enum nft_data_types type, unsigned int len) argument [all...] |
H A D | nft_lookup.c | 88 [NFTA_LOOKUP_SET] = { .type = NLA_STRING, 90 [NFTA_LOOKUP_SET_ID] = { .type = NLA_U32 }, 91 [NFTA_LOOKUP_SREG] = { .type = NLA_U32 }, 92 [NFTA_LOOKUP_DREG] = { .type = NLA_U32 }, 219 iter.type = NFT_ITER_UPDATE; 247 .type = &nft_lookup_type,
|
H A D | nf_flow_table_ip.c | 331 unsigned short type) 340 dev_hard_header(skb, skb->dev, type, tuplehash->tuple.out.h_dest, 329 nf_flow_queue_xmit(struct net *net, struct sk_buff *skb, const struct flow_offload_tuple_rhash *tuplehash, unsigned short type) argument
|
/linux-master/net/ipv4/ |
H A D | fib_frontend.c | 203 * Find address type as if only "dev" was present in the system. If 229 ret = res.type; 380 if (res.type != RTN_UNICAST && 381 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev))) 389 dev_match = dev_match || (res.type == RTN_LOCAL && 403 if (res.type == RTN_UNICAST) 459 static int put_rtax(struct nlattr *mx, int len, int type, u32 value) argument 464 nla->nla_type = type; 662 [RTA_DST] = { .type = NLA_U32 }, 663 [RTA_SRC] = { .type 1074 fib_magic(int cmd, int type, __be32 dst, int dst_len, struct in_ifaddr *ifa, u32 rt_priority) argument [all...] |
/linux-master/net/core/ |
H A D | dev.c | 38 * Alan Cox : Network driver sets packet type before 437 * according to dev->type 501 i = netdev_lock_pos(dev->type); 542 if (pt->type == htons(ETH_P_ALL)) 546 &ptype_base[ntohs(pt->type) & PTYPE_HASH_MASK]; 551 * @pt: packet type declaration 559 * will see the new packet type (until the next received packet). 574 * @pt: packet type declaration 581 * The packet type might still be in use by receivers 607 * @pt: packet type declaratio 958 dev_getbyhwaddr_rcu(struct net *net, unsigned short type, const char *ha) argument 972 dev_getfirstbyhwtype(struct net *net, unsigned short type) argument 2191 deliver_ptype_list_skb(struct sk_buff *skb, struct packet_type **pt, struct net_device *orig_dev, __be16 type, struct list_head *ptype_list) argument 2420 reset_xps_maps(struct net_device *dev, struct xps_dev_maps *dev_maps, enum xps_map_type type) argument 2433 clean_xps_maps(struct net_device *dev, enum xps_map_type type, u16 offset, u16 count) argument 2539 __netif_set_xps_queue(struct net_device *dev, const unsigned long *mask, u16 index, enum xps_map_type type) argument 3343 __be16 type = skb->protocol; local 3398 net_mpls_features(struct sk_buff *skb, netdev_features_t features, __be16 type) argument 3408 net_mpls_features(struct sk_buff *skb, netdev_features_t features, __be16 type) argument 3419 __be16 type; local 5340 __be16 type; local 6481 netif_queue_set_napi(struct net_device *dev, unsigned int queue_index, enum netdev_queue_type type, struct napi_struct *napi) argument 8077 netdev_offload_xstats_enable(struct net_device *dev, enum netdev_offload_xstats_type type, struct netlink_ext_ack *extack) argument 8109 netdev_offload_xstats_disable(struct net_device *dev, enum netdev_offload_xstats_type type) argument 8134 netdev_offload_xstats_get_ptr(const struct net_device *dev, enum netdev_offload_xstats_type type) argument 8146 netdev_offload_xstats_enabled(const struct net_device *dev, enum netdev_offload_xstats_type type) argument 8178 netdev_offload_xstats_get_used(struct net_device *dev, enum netdev_offload_xstats_type type, bool *p_used, struct netlink_ext_ack *extack) argument 8199 netdev_offload_xstats_get_stats(struct net_device *dev, enum netdev_offload_xstats_type type, struct rtnl_hw_stats64 *p_stats, bool *p_used, struct netlink_ext_ack *extack) argument 8234 netdev_offload_xstats_get(struct net_device *dev, enum netdev_offload_xstats_type type, struct rtnl_hw_stats64 *p_stats, bool *p_used, struct netlink_ext_ack *extack) argument 8266 netdev_offload_xstats_push_delta(struct net_device *dev, enum netdev_offload_xstats_type type, const struct rtnl_hw_stats64 *p_stats) argument [all...] |
/linux-master/net/bridge/ |
H A D | br_private.h | 919 __be16 type; member in struct:br_frame_type 1005 struct net_bridge_port_group *pg, int type); 1007 int type); 1013 const struct sk_buff *skb, u8 type, u8 dir); 1467 u8 type, u8 dir) 2168 const struct net_bridge_fdb_entry *fdb, int type); 2172 int type); 2265 const struct net_bridge_fdb_entry *fdb, int type) 2272 int type) 1464 br_multicast_count(struct net_bridge *br, const struct net_bridge_port *p, const struct sk_buff *skb, u8 type, u8 dir) argument 2264 br_switchdev_fdb_notify(struct net_bridge *br, const struct net_bridge_fdb_entry *fdb, int type) argument 2269 br_switchdev_mdb_notify(struct net_device *dev, struct net_bridge_mdb_entry *mp, struct net_bridge_port_group *pg, int type) argument
|
H A D | br_input.c | 315 if (unlikely(tmp->type == skb->protocol))
|
/linux-master/mm/ |
H A D | shmem.c | 290 int type, err = 0; local 293 for (type = 0; type < SHMEM_MAXQUOTAS; type++) { 294 if (!(quota_types & (1 << type))) 296 err = dquot_load_quota_sb(sb, type, QFMT_SHMEM, 305 pr_warn("tmpfs: failed to enable quota tracking (type=%d, err=%d)\n", 306 type, err); 307 for (type--; type > 314 int type; local 1273 shmem_find_swap_entries(struct address_space *mapping, pgoff_t start, struct folio_batch *fbatch, pgoff_t *indices, unsigned int type) argument 1345 shmem_unuse_inode(struct inode *inode, unsigned int type) argument 1376 shmem_unuse(unsigned int type) argument 4785 shmem_unuse(unsigned int type) argument [all...] |
H A D | memory-failure.c | 370 * Unknown page type encountered. Try to check whether it can turn PageLRU by 979 enum mf_action_page_type type; member in struct:page_state 1001 page_to_pfn(p), action_page_types[ps->type], count); 1337 static int action_result(unsigned long pfn, enum mf_action_page_type type, argument 1340 trace_memory_failure_event(pfn, type, result); 1347 pfn, action_page_types[type], action_name[result]); 1365 return action_result(pfn, ps->type, result); 1385 * Return true if a page type of a given page is supported by hwpoison 1421 * unsupported type of folio in order to reduce the risk of unexpected 1532 * (defined as a page-type w [all...] |
/linux-master/lib/ |
H A D | ubsan.c | 80 return "UBSAN: type mismatch"; 134 static bool type_is_int(struct type_descriptor *type) argument 136 return type->type_kind == type_kind_int; 139 static bool type_is_signed(struct type_descriptor *type) argument 141 WARN_ON(!type_is_int(type)); 142 return type->type_info & 1; 145 static unsigned type_bit_width(struct type_descriptor *type) argument 147 return 1 << (type->type_info >> 1); 150 static bool is_inline_int(struct type_descriptor *type) argument 153 unsigned bits = type_bit_width(type); 160 get_signed_val(struct type_descriptor *type, void *val) argument 175 val_is_negative(struct type_descriptor *type, void *val) argument 180 get_unsigned_val(struct type_descriptor *type, void *val) argument 191 val_to_string(char *str, size_t size, struct type_descriptor *type, void *value) argument 243 struct type_descriptor *type = data->type; local [all...] |