Home
last modified time | relevance | path

Searched refs:ext (Results 1 - 25 of 883) sorted by relevance

12345678910>>...36

/kernel/linux/linux-6.6/drivers/extcon/
H A Dextcon-intel-cht-wc.c117 static int cht_wc_extcon_get_id(struct cht_wc_extcon_data *ext, int pwrsrc_sts) in cht_wc_extcon_get_id() argument
143 static int cht_wc_extcon_get_charger(struct cht_wc_extcon_data *ext, in cht_wc_extcon_get_charger() argument
152 ret = regmap_read(ext->regmap, CHT_WC_USBSRC, &usbsrc); in cht_wc_extcon_get_charger()
154 dev_err(ext->dev, "Error reading usbsrc: %d\n", ret); in cht_wc_extcon_get_charger()
169 dev_warn(ext->dev, "Could not detect charger type\n"); in cht_wc_extcon_get_charger()
171 dev_warn(ext->dev, "Timeout detecting charger type\n"); in cht_wc_extcon_get_charger()
181 dev_warn(ext->dev, in cht_wc_extcon_get_charger()
184 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cht_wc_extcon_get_charger()
189 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cht_wc_extcon_get_charger()
192 ext in cht_wc_extcon_get_charger()
205 cht_wc_extcon_set_phymux(struct cht_wc_extcon_data *ext, u8 state) cht_wc_extcon_set_phymux() argument
214 cht_wc_extcon_set_5v_boost(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_set_5v_boost() argument
232 cht_wc_extcon_set_otgmode(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_set_otgmode() argument
256 cht_wc_extcon_enable_charging(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_enable_charging() argument
269 cht_wc_extcon_set_state(struct cht_wc_extcon_data *ext, unsigned int cable, bool state) cht_wc_extcon_set_state() argument
277 cht_wc_extcon_pwrsrc_event(struct cht_wc_extcon_data *ext) cht_wc_extcon_pwrsrc_event() argument
348 struct cht_wc_extcon_data *ext = data; cht_wc_extcon_isr() local
368 cht_wc_extcon_sw_control(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_sw_control() argument
389 cht_wc_extcon_find_role_sw(struct cht_wc_extcon_data *ext) cht_wc_extcon_find_role_sw() argument
407 struct cht_wc_extcon_data *ext = data; cht_wc_extcon_put_role_sw() local
413 cht_wc_extcon_get_role_sw_and_regulator(struct cht_wc_extcon_data *ext) cht_wc_extcon_get_role_sw_and_regulator() argument
448 struct cht_wc_extcon_data *ext = power_supply_get_drvdata(psy); cht_wc_extcon_psy_get_prop() local
487 cht_wc_extcon_register_psy(struct cht_wc_extcon_data *ext) cht_wc_extcon_register_psy() argument
500 struct cht_wc_extcon_data *ext; cht_wc_extcon_probe() local
622 struct cht_wc_extcon_data *ext = platform_get_drvdata(pdev); cht_wc_extcon_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/extcon/
H A Dextcon-intel-cht-wc.c108 static int cht_wc_extcon_get_id(struct cht_wc_extcon_data *ext, int pwrsrc_sts) in cht_wc_extcon_get_id() argument
126 static int cht_wc_extcon_get_charger(struct cht_wc_extcon_data *ext, in cht_wc_extcon_get_charger() argument
135 ret = regmap_read(ext->regmap, CHT_WC_USBSRC, &usbsrc); in cht_wc_extcon_get_charger()
137 dev_err(ext->dev, "Error reading usbsrc: %d\n", ret); in cht_wc_extcon_get_charger()
154 dev_warn(ext->dev, "Could not detect charger type\n"); in cht_wc_extcon_get_charger()
156 dev_warn(ext->dev, "Timeout detecting charger type\n"); in cht_wc_extcon_get_charger()
163 dev_warn(ext->dev, in cht_wc_extcon_get_charger()
182 static void cht_wc_extcon_set_phymux(struct cht_wc_extcon_data *ext, u8 state) in cht_wc_extcon_set_phymux() argument
186 ret = regmap_write(ext->regmap, CHT_WC_PHYCTRL, state); in cht_wc_extcon_set_phymux()
188 dev_err(ext in cht_wc_extcon_set_phymux()
191 cht_wc_extcon_set_5v_boost(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_set_5v_boost() argument
209 cht_wc_extcon_set_otgmode(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_set_otgmode() argument
221 cht_wc_extcon_enable_charging(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_enable_charging() argument
234 cht_wc_extcon_set_state(struct cht_wc_extcon_data *ext, unsigned int cable, bool state) cht_wc_extcon_set_state() argument
242 cht_wc_extcon_pwrsrc_event(struct cht_wc_extcon_data *ext) cht_wc_extcon_pwrsrc_event() argument
295 struct cht_wc_extcon_data *ext = data; cht_wc_extcon_isr() local
315 cht_wc_extcon_sw_control(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_sw_control() argument
339 struct cht_wc_extcon_data *ext; cht_wc_extcon_probe() local
433 struct cht_wc_extcon_data *ext = platform_get_drvdata(pdev); cht_wc_extcon_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c11 nfp_flower_compile_meta_tci(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_meta_tci() argument
17 memset(ext, 0, sizeof(struct nfp_flower_meta_tci)); in nfp_flower_compile_meta_tci()
21 ext->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta_tci()
22 ext->mask_id = ~0; in nfp_flower_compile_meta_tci()
37 ext->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci()
78 nfp_flower_compile_mac(struct nfp_flower_mac_mpls *ext, in nfp_flower_compile_mac() argument
82 memset(ext, 0, sizeof(struct nfp_flower_mac_mpls)); in nfp_flower_compile_mac()
90 ether_addr_copy(ext->mac_dst, &match.key->dst[0]); in nfp_flower_compile_mac()
91 ether_addr_copy(ext->mac_src, &match.key->src[0]); in nfp_flower_compile_mac()
116 ext in nfp_flower_compile_mac()
144 nfp_flower_compile_tport(struct nfp_flower_tp_ports *ext, struct nfp_flower_tp_ports *msk, struct flow_rule *rule) nfp_flower_compile_tport() argument
163 nfp_flower_compile_ip_ext(struct nfp_flower_ip_ext *ext, struct nfp_flower_ip_ext *msk, struct flow_rule *rule) nfp_flower_compile_ip_ext() argument
256 nfp_flower_compile_vlan(struct nfp_flower_vlan *ext, struct nfp_flower_vlan *msk, struct flow_rule *rule) nfp_flower_compile_vlan() argument
278 nfp_flower_compile_ipv4(struct nfp_flower_ipv4 *ext, struct nfp_flower_ipv4 *msk, struct flow_rule *rule) nfp_flower_compile_ipv4() argument
298 nfp_flower_compile_ipv6(struct nfp_flower_ipv6 *ext, struct nfp_flower_ipv6 *msk, struct flow_rule *rule) nfp_flower_compile_ipv6() argument
318 nfp_flower_compile_geneve_opt(void *ext, void *msk, struct flow_rule *rule) nfp_flower_compile_geneve_opt() argument
330 nfp_flower_compile_tun_ipv4_addrs(struct nfp_flower_tun_ipv4 *ext, struct nfp_flower_tun_ipv4 *msk, struct flow_rule *rule) nfp_flower_compile_tun_ipv4_addrs() argument
346 nfp_flower_compile_tun_ipv6_addrs(struct nfp_flower_tun_ipv6 *ext, struct nfp_flower_tun_ipv6 *msk, struct flow_rule *rule) nfp_flower_compile_tun_ipv6_addrs() argument
362 nfp_flower_compile_tun_ip_ext(struct nfp_flower_tun_ip_ext *ext, struct nfp_flower_tun_ip_ext *msk, struct flow_rule *rule) nfp_flower_compile_tun_ip_ext() argument
410 nfp_flower_compile_ipv4_gre_tun(struct nfp_flower_ipv4_gre_tun *ext, struct nfp_flower_ipv4_gre_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv4_gre_tun() argument
428 nfp_flower_compile_ipv4_udp_tun(struct nfp_flower_ipv4_udp_tun *ext, struct nfp_flower_ipv4_udp_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv4_udp_tun() argument
441 nfp_flower_compile_ipv6_udp_tun(struct nfp_flower_ipv6_udp_tun *ext, struct nfp_flower_ipv6_udp_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv6_udp_tun() argument
454 nfp_flower_compile_ipv6_gre_tun(struct nfp_flower_ipv6_gre_tun *ext, struct nfp_flower_ipv6_gre_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv6_gre_tun() argument
485 u8 *ext; nfp_flower_compile_flow_match() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c11 nfp_flower_compile_meta(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_meta() argument
15 ext->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta()
16 ext->mask_id = ~0; in nfp_flower_compile_meta()
23 nfp_flower_compile_tci(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_tci() argument
46 ext->tci |= cpu_to_be16((key_tci & msk_tci)); in nfp_flower_compile_tci()
52 nfp_flower_compile_meta_tci(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_meta_tci() argument
56 memset(ext, 0, sizeof(struct nfp_flower_meta_tci)); in nfp_flower_compile_meta_tci()
59 nfp_flower_compile_meta(ext, msk, key_type); in nfp_flower_compile_meta_tci()
62 nfp_flower_compile_tci(ext, msk, rule); in nfp_flower_compile_meta_tci()
95 nfp_flower_compile_mac(struct nfp_flower_mac_mpls *ext, in nfp_flower_compile_mac() argument
119 nfp_flower_compile_mpls(struct nfp_flower_mac_mpls *ext, struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, struct netlink_ext_ack *extack) nfp_flower_compile_mpls() argument
174 nfp_flower_compile_mac_mpls(struct nfp_flower_mac_mpls *ext, struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, struct netlink_ext_ack *extack) nfp_flower_compile_mac_mpls() argument
188 nfp_flower_compile_tport(struct nfp_flower_tp_ports *ext, struct nfp_flower_tp_ports *msk, struct flow_rule *rule) nfp_flower_compile_tport() argument
209 nfp_flower_compile_ip_ext(struct nfp_flower_ip_ext *ext, struct nfp_flower_ip_ext *msk, struct flow_rule *rule) nfp_flower_compile_ip_ext() argument
285 nfp_flower_fill_vlan(struct flow_match_vlan *match, struct nfp_flower_vlan *ext, struct nfp_flower_vlan *msk, bool outer_vlan) nfp_flower_fill_vlan() argument
318 nfp_flower_compile_vlan(struct nfp_flower_vlan *ext, struct nfp_flower_vlan *msk, struct flow_rule *rule) nfp_flower_compile_vlan() argument
335 nfp_flower_compile_ipv4(struct nfp_flower_ipv4 *ext, struct nfp_flower_ipv4 *msk, struct flow_rule *rule) nfp_flower_compile_ipv4() argument
357 nfp_flower_compile_ipv6(struct nfp_flower_ipv6 *ext, struct nfp_flower_ipv6 *msk, struct flow_rule *rule) nfp_flower_compile_ipv6() argument
385 nfp_flower_compile_geneve_opt(u8 *ext, u8 *msk, struct flow_rule *rule) nfp_flower_compile_geneve_opt() argument
401 nfp_flower_compile_tun_ipv4_addrs(struct nfp_flower_tun_ipv4 *ext, struct nfp_flower_tun_ipv4 *msk, struct flow_rule *rule) nfp_flower_compile_tun_ipv4_addrs() argument
417 nfp_flower_compile_tun_ipv6_addrs(struct nfp_flower_tun_ipv6 *ext, struct nfp_flower_tun_ipv6 *msk, struct flow_rule *rule) nfp_flower_compile_tun_ipv6_addrs() argument
438 nfp_flower_compile_tun_ip_ext(struct nfp_flower_tun_ip_ext *ext, struct nfp_flower_tun_ip_ext *msk, struct flow_rule *rule) nfp_flower_compile_tun_ip_ext() argument
487 nfp_flower_compile_ipv4_gre_tun(struct nfp_flower_ipv4_gre_tun *ext, struct nfp_flower_ipv4_gre_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv4_gre_tun() argument
502 nfp_flower_compile_ipv4_udp_tun(struct nfp_flower_ipv4_udp_tun *ext, struct nfp_flower_ipv4_udp_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv4_udp_tun() argument
512 nfp_flower_compile_ipv6_udp_tun(struct nfp_flower_ipv6_udp_tun *ext, struct nfp_flower_ipv6_udp_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv6_udp_tun() argument
522 nfp_flower_compile_ipv6_gre_tun(struct nfp_flower_ipv6_gre_tun *ext, struct nfp_flower_ipv6_gre_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv6_gre_tun() argument
549 u8 *ext; nfp_flower_compile_flow_match() local
[all...]
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dhwcap.h88 #define riscv_isa_extension_mask(ext) BIT_MASK(RISCV_ISA_EXT_##ext)
91 #define riscv_isa_extension_available(isa_bitmap, ext) \
92 __riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_##ext)
95 riscv_has_extension_likely(const unsigned long ext) in riscv_has_extension_likely() argument
97 compiletime_assert(ext < RISCV_ISA_EXT_MAX, in riscv_has_extension_likely()
98 "ext must be < RISCV_ISA_EXT_MAX"); in riscv_has_extension_likely()
102 ALTERNATIVE("j %l[l_no]", "nop", 0, %[ext], 1) in riscv_has_extension_likely()
104 : [ext] "i" (ext) in riscv_has_extension_likely()
[all...]
/kernel/linux/linux-6.6/include/net/netfilter/
H A Dnf_conntrack_extend.h45 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) in __nf_ct_ext_exist() argument
47 return !!ext->offset[id]; in __nf_ct_ext_exist()
52 return (ct->ext && __nf_ct_ext_exist(ct->ext, id)); in nf_ct_ext_exist()
55 void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id);
59 struct nf_ct_ext *ext = ct->ext; in nf_ct_ext_find() local
61 if (!ext || !__nf_ct_ext_exist(ext, id)) in nf_ct_ext_find()
64 if (unlikely(ext in nf_ct_ext_find()
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_set_hash.c31 struct nft_set_ext ext; member
51 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj()
60 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp()
62 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp()
64 if (nft_set_elem_expired(&he->ext)) in nft_rhash_cmp()
66 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp()
81 const u32 *key, const struct nft_set_ext **ext) in nft_rhash_lookup()
93 *ext = &he->ext; in nft_rhash_lookup()
122 const struct nft_set_ext **ext) in nft_rhash_update()
80 nft_rhash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_rhash_lookup() argument
116 nft_rhash_update(struct nft_set *set, const u32 *key, void *(*new)(struct nft_set *, const struct nft_expr *, struct nft_regs *regs), const struct nft_expr *expr, struct nft_regs *regs, const struct nft_set_ext **ext) nft_rhash_update() argument
163 nft_rhash_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_rhash_insert() argument
296 nft_rhash_expr_needs_gc_run(const struct nft_set *set, struct nft_set_ext *ext) nft_rhash_expr_needs_gc_run() argument
480 struct nft_set_ext ext; global() member
484 nft_hash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_hash_lookup() argument
523 nft_hash_lookup_fast(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_hash_lookup_fast() argument
546 nft_jhash(const struct nft_set *set, const struct nft_hash *priv, const struct nft_set_ext *ext) nft_jhash() argument
563 nft_hash_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_hash_insert() argument
[all...]
H A Dnft_set_rbtree.c27 struct nft_set_ext ext; member
32 return nft_set_ext_exists(&rbe->ext, NFT_SET_EXT_FLAGS) && in nft_rbtree_interval_end()
33 (*nft_set_ext_flags(&rbe->ext) & NFT_SET_ELEM_INTERVAL_END); in nft_rbtree_interval_end()
45 return memcmp(nft_set_ext_key(&e1->ext), nft_set_ext_key(&e2->ext), in nft_rbtree_cmp()
51 return nft_set_elem_expired(&rbe->ext) || in nft_rbtree_elem_expired()
52 nft_set_elem_is_dead(&rbe->ext); in nft_rbtree_elem_expired()
56 const u32 *key, const struct nft_set_ext **ext, in __nft_rbtree_lookup()
72 d = memcmp(nft_set_ext_key(&rbe->ext), key, set->klen); in __nft_rbtree_lookup()
84 if (!nft_set_elem_active(&rbe->ext, genmas in __nft_rbtree_lookup()
55 __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext, unsigned int seq) __nft_rbtree_lookup() argument
117 nft_rbtree_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_rbtree_lookup() argument
308 __nft_rbtree_insert(const struct net *net, const struct nft_set *set, struct nft_rbtree_elem *new, struct nft_set_ext **ext) __nft_rbtree_insert() argument
486 nft_rbtree_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_rbtree_insert() argument
[all...]
H A Dnf_conntrack_extend.c103 if (ct->ext) { in nf_ct_ext_add()
104 const struct nf_ct_ext *old = ct->ext; in nf_ct_ext_add()
117 new = krealloc(ct->ext, alloc, gfp); in nf_ct_ext_add()
121 if (!ct->ext) { in nf_ct_ext_add()
130 ct->ext = new; in nf_ct_ext_add()
136 void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id) in __nf_ct_ext_find() argument
139 unsigned int this_id = READ_ONCE(ext->gen_id); in __nf_ct_ext_find()
141 if (!__nf_ct_ext_exist(ext, id)) in __nf_ct_ext_find()
144 if (this_id == 0 || ext->gen_id == gen_id) in __nf_ct_ext_find()
145 return (void *)ext in __nf_ct_ext_find()
[all...]
H A Dnft_set_bitmap.c17 struct nft_set_ext ext; member
78 const u32 *key, const struct nft_set_ext **ext) in nft_bitmap_lookup()
97 if (memcmp(nft_set_ext_key(&be->ext), in nft_bitmap_elem_find()
98 nft_set_ext_key(&this->ext), set->klen) || in nft_bitmap_elem_find()
99 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_elem_find()
115 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) || in nft_bitmap_get()
116 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_get()
126 struct nft_set_ext **ext) in nft_bitmap_insert()
135 *ext = &be->ext; in nft_bitmap_insert()
77 nft_bitmap_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_bitmap_lookup() argument
124 nft_bitmap_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_bitmap_insert() argument
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnft_set_hash.c34 struct nft_set_ext ext; member
54 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj()
63 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp()
65 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp()
67 if (nft_set_elem_expired(&he->ext)) in nft_rhash_cmp()
69 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp()
83 const u32 *key, const struct nft_set_ext **ext) in nft_rhash_lookup()
95 *ext = &he->ext; in nft_rhash_lookup()
124 const struct nft_set_ext **ext) in nft_rhash_update()
82 nft_rhash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_rhash_lookup() argument
118 nft_rhash_update(struct nft_set *set, const u32 *key, void *(*new)(struct nft_set *, const struct nft_expr *, struct nft_regs *regs), const struct nft_expr *expr, struct nft_regs *regs, const struct nft_set_ext **ext) nft_rhash_update() argument
165 nft_rhash_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_rhash_insert() argument
466 struct nft_set_ext ext; global() member
469 nft_hash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_hash_lookup() argument
507 nft_hash_lookup_fast(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_hash_lookup_fast() argument
530 nft_jhash(const struct nft_set *set, const struct nft_hash *priv, const struct nft_set_ext *ext) nft_jhash() argument
547 nft_hash_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_hash_insert() argument
[all...]
H A Dnft_set_rbtree.c30 struct nft_set_ext ext; member
35 return nft_set_ext_exists(&rbe->ext, NFT_SET_EXT_FLAGS) && in nft_rbtree_interval_end()
36 (*nft_set_ext_flags(&rbe->ext) & NFT_SET_ELEM_INTERVAL_END); in nft_rbtree_interval_end()
48 return memcmp(nft_set_ext_key(&e1->ext), nft_set_ext_key(&e2->ext), in nft_rbtree_cmp()
54 return nft_set_elem_expired(&rbe->ext) || in nft_rbtree_elem_expired()
55 nft_set_elem_is_dead(&rbe->ext); in nft_rbtree_elem_expired()
59 const u32 *key, const struct nft_set_ext **ext, in __nft_rbtree_lookup()
75 d = memcmp(nft_set_ext_key(&rbe->ext), key, set->klen); in __nft_rbtree_lookup()
87 if (!nft_set_elem_active(&rbe->ext, genmas in __nft_rbtree_lookup()
58 __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext, unsigned int seq) __nft_rbtree_lookup() argument
119 nft_rbtree_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_rbtree_lookup() argument
310 __nft_rbtree_insert(const struct net *net, const struct nft_set *set, struct nft_rbtree_elem *new, struct nft_set_ext **ext) __nft_rbtree_insert() argument
488 nft_rbtree_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_rbtree_insert() argument
[all...]
H A Dnft_set_bitmap.c17 struct nft_set_ext ext; member
77 const u32 *key, const struct nft_set_ext **ext) in nft_bitmap_lookup()
96 if (memcmp(nft_set_ext_key(&be->ext), in nft_bitmap_elem_find()
97 nft_set_ext_key(&this->ext), set->klen) || in nft_bitmap_elem_find()
98 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_elem_find()
114 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) || in nft_bitmap_get()
115 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_get()
125 struct nft_set_ext **ext) in nft_bitmap_insert()
134 *ext = &be->ext; in nft_bitmap_insert()
76 nft_bitmap_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_bitmap_lookup() argument
123 nft_bitmap_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_bitmap_insert() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_user_extensions.c16 int i915_user_extensions(struct i915_user_extension __user *ext, in i915_user_extensions() argument
23 while (ext) { in i915_user_extensions()
31 err = check_user_mbz(&ext->flags); in i915_user_extensions()
35 for (i = 0; i < ARRAY_SIZE(ext->rsvd); i++) { in i915_user_extensions()
36 err = check_user_mbz(&ext->rsvd[i]); in i915_user_extensions()
41 if (get_user(name, &ext->name)) in i915_user_extensions()
48 err = tbl[name](ext, data); in i915_user_extensions()
53 if (get_user(next, &ext->next_extension) || in i915_user_extensions()
54 overflows_type(next, ext)) in i915_user_extensions()
57 ext in i915_user_extensions()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_user_extensions.c16 int i915_user_extensions(struct i915_user_extension __user *ext, in i915_user_extensions() argument
23 while (ext) { in i915_user_extensions()
31 err = check_user_mbz(&ext->flags); in i915_user_extensions()
35 for (i = 0; i < ARRAY_SIZE(ext->rsvd); i++) { in i915_user_extensions()
36 err = check_user_mbz(&ext->rsvd[i]); in i915_user_extensions()
41 if (get_user(name, &ext->name)) in i915_user_extensions()
48 err = tbl[name](ext, data); in i915_user_extensions()
53 if (get_user(next, &ext->next_extension) || in i915_user_extensions()
57 ext = u64_to_user_ptr(next); in i915_user_extensions()
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-wiimote-modules.c820 static void wiimod_nunchuk_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_nunchuk_in_ext() argument
854 bx = ext[0]; in wiimod_nunchuk_in_ext()
855 by = ext[1]; in wiimod_nunchuk_in_ext()
859 x = ext[2] << 2; in wiimod_nunchuk_in_ext()
860 y = ext[3] << 2; in wiimod_nunchuk_in_ext()
861 z = ext[4] << 2; in wiimod_nunchuk_in_ext()
864 x |= (ext[5] >> 3) & 0x02; in wiimod_nunchuk_in_ext()
865 y |= (ext[5] >> 4) & 0x02; in wiimod_nunchuk_in_ext()
867 z |= (ext[5] >> 5) & 0x06; in wiimod_nunchuk_in_ext()
869 x |= (ext[ in wiimod_nunchuk_in_ext()
1044 wiimod_classic_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_classic_in_ext() argument
1316 wiimod_bboard_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_bboard_in_ext() argument
1623 wiimod_pro_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_pro_in_ext() argument
1994 wiimod_drums_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_drums_in_ext() argument
2223 wiimod_guitar_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_guitar_in_ext() argument
2488 wiimod_mp_in_mp(struct wiimote_data *wdata, const __u8 *ext) wiimod_mp_in_mp() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/
H A Dgen_kselftest_tar.sh15 ext=".tar.gz"
20 ext=".tar"
24 ext=".tar.gz"
28 ext=".tar.bz2"
32 ext=".tar.xz"
51 (cd "$install_work"; tar $copts "$dest"/kselftest${ext} $install_name)
57 echo "Kselftest archive kselftest${ext} created!"
/kernel/linux/linux-6.6/tools/testing/selftests/
H A Dgen_kselftest_tar.sh15 ext=".tar.gz"
20 ext=".tar"
24 ext=".tar.gz"
28 ext=".tar.bz2"
32 ext=".tar.xz"
51 (cd "$install_work"; tar $copts "$dest"/kselftest${ext} $install_name)
57 echo "Kselftest archive kselftest${ext} created!"
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
H A Dsaa7146_core.c296 if (dev->ext) { in interrupt_hw()
297 if (dev->ext->irq_mask & isr) { in interrupt_hw()
298 if (dev->ext->irq_func) in interrupt_hw()
299 dev->ext->irq_func(dev, &isr); in interrupt_hw()
300 isr &= ~dev->ext->irq_mask; in interrupt_hw()
344 struct saa7146_extension *ext = pci_ext->ext; in saa7146_init_one() local
435 dev->ext = ext; in saa7146_init_one()
453 if (ext in saa7146_init_one()
535 saa7146_register_extension(struct saa7146_extension* ext) saa7146_register_extension() argument
548 saa7146_unregister_extension(struct saa7146_extension* ext) saa7146_unregister_extension() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/common/saa7146/
H A Dsaa7146_core.c284 if (dev->ext) { in interrupt_hw()
285 if (dev->ext->irq_mask & isr) { in interrupt_hw()
286 if (dev->ext->irq_func) in interrupt_hw()
287 dev->ext->irq_func(dev, &isr); in interrupt_hw()
288 isr &= ~dev->ext->irq_mask; in interrupt_hw()
332 struct saa7146_extension *ext = pci_ext->ext; in saa7146_init_one() local
425 dev->ext = ext; in saa7146_init_one()
443 if (ext in saa7146_init_one()
526 saa7146_register_extension(struct saa7146_extension* ext) saa7146_register_extension() argument
539 saa7146_unregister_extension(struct saa7146_extension* ext) saa7146_unregister_extension() argument
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A Dext4_extents.h196 static inline void ext4_ext_mark_unwritten(struct ext4_extent *ext) in ext4_ext_mark_unwritten() argument
199 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_unwritten()
200 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); in ext4_ext_mark_unwritten()
203 static inline int ext4_ext_is_unwritten(struct ext4_extent *ext) in ext4_ext_is_unwritten() argument
206 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_unwritten()
209 static inline int ext4_ext_get_actual_len(struct ext4_extent *ext) in ext4_ext_get_actual_len() argument
211 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len()
212 le16_to_cpu(ext->ee_len) : in ext4_ext_get_actual_len()
213 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); in ext4_ext_get_actual_len()
216 static inline void ext4_ext_mark_initialized(struct ext4_extent *ext) in ext4_ext_mark_initialized() argument
[all...]
/kernel/linux/linux-6.6/fs/ext4/
H A Dext4_extents.h197 static inline void ext4_ext_mark_unwritten(struct ext4_extent *ext) in ext4_ext_mark_unwritten() argument
200 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_unwritten()
201 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); in ext4_ext_mark_unwritten()
204 static inline int ext4_ext_is_unwritten(struct ext4_extent *ext) in ext4_ext_is_unwritten() argument
207 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_unwritten()
210 static inline int ext4_ext_get_actual_len(struct ext4_extent *ext) in ext4_ext_get_actual_len() argument
212 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len()
213 le16_to_cpu(ext->ee_len) : in ext4_ext_get_actual_len()
214 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); in ext4_ext_get_actual_len()
217 static inline void ext4_ext_mark_initialized(struct ext4_extent *ext) in ext4_ext_mark_initialized() argument
[all...]
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dextents.c26 k1id = k1->ext.cnid; in hfsplus_ext_cmp_key()
27 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()
31 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()
32 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()
34 k1s = k1->ext.start_block; in hfsplus_ext_cmp_key()
35 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
45 key->ext.cnid = cpu_to_be32(cnid); in hfsplus_ext_build_key()
46 key->ext in hfsplus_ext_build_key()
51 hfsplus_ext_find_block(struct hfsplus_extent *ext, u32 off) hfsplus_ext_find_block() argument
66 hfsplus_ext_block_count(struct hfsplus_extent *ext) hfsplus_ext_block_count() argument
76 hfsplus_ext_lastblock(struct hfsplus_extent *ext) hfsplus_ext_lastblock() argument
[all...]
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dextents.c26 k1id = k1->ext.cnid; in hfsplus_ext_cmp_key()
27 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()
31 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()
32 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()
34 k1s = k1->ext.start_block; in hfsplus_ext_cmp_key()
35 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
45 key->ext.cnid = cpu_to_be32(cnid); in hfsplus_ext_build_key()
46 key->ext in hfsplus_ext_build_key()
51 hfsplus_ext_find_block(struct hfsplus_extent *ext, u32 off) hfsplus_ext_find_block() argument
66 hfsplus_ext_block_count(struct hfsplus_extent *ext) hfsplus_ext_block_count() argument
76 hfsplus_ext_lastblock(struct hfsplus_extent *ext) hfsplus_ext_lastblock() argument
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-wiimote-modules.c820 static void wiimod_nunchuk_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_nunchuk_in_ext() argument
854 bx = ext[0]; in wiimod_nunchuk_in_ext()
855 by = ext[1]; in wiimod_nunchuk_in_ext()
859 x = ext[2] << 2; in wiimod_nunchuk_in_ext()
860 y = ext[3] << 2; in wiimod_nunchuk_in_ext()
861 z = ext[4] << 2; in wiimod_nunchuk_in_ext()
864 x |= (ext[5] >> 3) & 0x02; in wiimod_nunchuk_in_ext()
865 y |= (ext[5] >> 4) & 0x02; in wiimod_nunchuk_in_ext()
867 z |= (ext[5] >> 5) & 0x06; in wiimod_nunchuk_in_ext()
869 x |= (ext[ in wiimod_nunchuk_in_ext()
1044 wiimod_classic_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_classic_in_ext() argument
1316 wiimod_bboard_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_bboard_in_ext() argument
1623 wiimod_pro_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_pro_in_ext() argument
1994 wiimod_drums_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_drums_in_ext() argument
2223 wiimod_guitar_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_guitar_in_ext() argument
2439 wiimod_turntable_in_ext(struct wiimote_data *wdata, const __u8 *ext) wiimod_turntable_in_ext() argument
2712 wiimod_mp_in_mp(struct wiimote_data *wdata, const __u8 *ext) wiimod_mp_in_mp() argument
[all...]

Completed in 18 milliseconds

12345678910>>...36