Home
last modified time | relevance | path

Searched refs:new_type (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.6.21/security/safesetid/ !
Dlsm.c66 static enum sid_policy_type setid_policy_lookup(kid_t src, kid_t dst, enum setid_type new_type) in setid_policy_lookup() argument
72 if (new_type == UID) in setid_policy_lookup()
74 else if (new_type == GID) in setid_policy_lookup()
83 pol->type = new_type; in setid_policy_lookup()
147 static bool id_permitted_for_cred(const struct cred *old, kid_t new_id, enum setid_type new_type) in id_permitted_for_cred() argument
152 if (new_type == UID) { in id_permitted_for_cred()
156 } else if (new_type == GID){ in id_permitted_for_cred()
168 setid_policy_lookup((kid_t){.uid = old->uid}, new_id, new_type) != SIDPOL_CONSTRAINED; in id_permitted_for_cred()
171 if (new_type == UID) { in id_permitted_for_cred()
175 } else if (new_type == GID) { in id_permitted_for_cred()
/linux-6.6.21/arch/x86/mm/pat/ !
Dmemtype.c455 enum page_cache_mode *new_type) in reserve_ram_pages_type() argument
461 if (new_type) in reserve_ram_pages_type()
462 *new_type = _PAGE_CACHE_MODE_UC_MINUS; in reserve_ram_pages_type()
480 if (new_type) in reserve_ram_pages_type()
481 *new_type = type; in reserve_ram_pages_type()
487 if (new_type) in reserve_ram_pages_type()
488 *new_type = req_type; in reserve_ram_pages_type()
539 enum page_cache_mode *new_type) in memtype_reserve() argument
561 if (new_type) in memtype_reserve()
562 *new_type = req_type; in memtype_reserve()
[all …]
Dmemtype.h33 enum page_cache_mode *new_type);
39 enum page_cache_mode *new_type) in memtype_check_insert() argument
Dset_memory.c2207 enum page_cache_mode new_type) in _set_pages_array() argument
2221 if (memtype_reserve(start, end, new_type, NULL)) in _set_pages_array()
2226 set_type = (new_type == _PAGE_CACHE_MODE_WC) ? in _set_pages_array()
2227 _PAGE_CACHE_MODE_UC_MINUS : new_type; in _set_pages_array()
2231 if (!ret && new_type == _PAGE_CACHE_MODE_WC) in _set_pages_array()
/linux-6.6.21/tools/perf/util/ !
Dbranch.c25 st->new_counts[flags->new_type]++; in branch_type_count()
42 const char *branch_new_type_name(int new_type) in branch_new_type_name() argument
68 if (new_type >= 0 && new_type < PERF_BR_NEW_MAX) in branch_new_type_name()
69 return branch_new_names[new_type]; in branch_new_type_name()
107 return branch_new_type_name(e->flags.new_type); in get_branch_type()
Dbranch.h26 u64 new_type:4; member
87 const char *branch_new_type_name(int new_type);
/linux-6.6.21/drivers/gpio/ !
Dgpio-tqmx86.c154 u8 new_type, gpiic; in tqmx86_gpio_irq_set_type() local
158 new_type = TQMX86_GPII_RISING; in tqmx86_gpio_irq_set_type()
161 new_type = TQMX86_GPII_FALLING; in tqmx86_gpio_irq_set_type()
164 new_type = TQMX86_GPII_FALLING | TQMX86_GPII_RISING; in tqmx86_gpio_irq_set_type()
170 gpio->irq_type[offset] = new_type; in tqmx86_gpio_irq_set_type()
175 gpiic |= new_type << (offset * TQMX86_GPII_BITS); in tqmx86_gpio_irq_set_type()
/linux-6.6.21/arch/x86/kernel/ !
De820.c463 …te(struct e820_table *table, u64 start, u64 size, enum e820_type old_type, enum e820_type new_type) in __e820__range_update() argument
469 BUG_ON(old_type == new_type); in __e820__range_update()
478 e820_print_type(new_type); in __e820__range_update()
493 entry->type = new_type; in __e820__range_update()
500 __e820__range_add(table, start, size, new_type); in __e820__range_update()
513 __e820__range_add(table, final_start, final_end - final_start, new_type); in __e820__range_update()
530 u64 __init e820__range_update(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type) in e820__range_update() argument
532 return __e820__range_update(e820_table, start, size, old_type, new_type); in e820__range_update()
535 …it e820__range_update_kexec(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type) in e820__range_update_kexec() argument
537 return __e820__range_update(e820_table_kexec, start, size, old_type, new_type); in e820__range_update_kexec()
/linux-6.6.21/drivers/net/wan/ !
Dpc300too.c194 int new_type; in pc300_ioctl() local
211 new_type = IF_IFACE_X21; in pc300_ioctl()
216 new_type = IF_IFACE_V35; in pc300_ioctl()
220 new_type = IF_IFACE_V24; in pc300_ioctl()
241 port->iface = new_type; in pc300_ioctl()
/linux-6.6.21/arch/x86/kernel/cpu/mtrr/ !
Dgeneric.c264 u8 new_type, old_type; in add_map_entry() local
280 new_type = get_effective_type(type, cache_map[i].type); in add_map_entry()
283 if (cache_map[i].fixed || new_type == old_type) { in add_map_entry()
292 i -= add_map_entry_at(start, tmp, new_type, i); in add_map_entry()
478 static u8 type_merge(u8 type, u8 new_type, u8 *uniform) in type_merge() argument
483 return new_type; in type_merge()
485 effective_type = get_effective_type(type, new_type); in type_merge()
/linux-6.6.21/kernel/events/ !
Dhw_breakpoint.c625 static int __modify_bp_slot(struct perf_event *bp, u64 old_type, u64 new_type) in __modify_bp_slot() argument
631 err = __reserve_bp_slot(bp, new_type); in __modify_bp_slot()
647 static int modify_bp_slot(struct perf_event *bp, u64 old_type, u64 new_type) in modify_bp_slot() argument
650 int ret = __modify_bp_slot(bp, old_type, new_type); in modify_bp_slot()
/linux-6.6.21/arch/x86/include/asm/e820/ !
Dapi.h18 …ern u64 e820__range_update(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type);
/linux-6.6.21/fs/gfs2/ !
Ddir.h42 const struct gfs2_inode *nip, unsigned int new_type);
/linux-6.6.21/drivers/net/wireless/st/cw1200/ !
Dsta.h23 enum nl80211_iftype new_type,
Dsta.c307 enum nl80211_iftype new_type, in cw1200_change_interface() argument
311 pr_debug("change_interface new: %d (%d), old: %d (%d)\n", new_type, in cw1200_change_interface()
314 if (new_type != vif->type || vif->p2p != p2p) { in cw1200_change_interface()
316 vif->type = new_type; in cw1200_change_interface()
/linux-6.6.21/scripts/ !
Dcheckpatch.pl2181 my $new_type = pop(@av_paren_type);
2182 if ($new_type ne '_') {
2183 $type = $new_type;
4667 my $new_type = $type;
4668 $new_type =~ s/\b\s*int\s*\b/ /;
4669 $new_type =~ s/\b\s*(?:un)?signed\b\s*/ /;
4670 $new_type =~ s/^const\s+//;
4671 $new_type = "unsigned $new_type" if ($type =~ /\bunsigned\b/);
4672 $new_type = "const $new_type" if ($type =~ /^const\b/);
4673 $new_type =~ s/\s+/ /g;
[all …]
/linux-6.6.21/net/smc/ !
Dsmc_core.h579 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type);
581 enum smc_lgr_type new_type, int asym_lnk_idx);
Dsmc_core.c1605 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type) in smcr_lgr_set_type() argument
1613 if (lgr->type == new_type) in smcr_lgr_set_type()
1615 lgr->type = new_type; in smcr_lgr_set_type()
1641 enum smc_lgr_type new_type, int asym_lnk_idx) in smcr_lgr_set_type_asym() argument
1643 smcr_lgr_set_type(lgr, new_type); in smcr_lgr_set_type_asym()
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/ !
Dcfg80211.c76 enum nl80211_iftype new_type) in qtnf_validate_iface_combinations() argument
97 params.iftype_num[new_type]++; in qtnf_validate_iface_combinations()
100 params.iftype_num[new_type]++; in qtnf_validate_iface_combinations()
114 vif != change_vif && new_type == NL80211_IFTYPE_STATION) { in qtnf_validate_iface_combinations()
/linux-6.6.21/drivers/media/tuners/ !
Dxc2028.c1009 enum v4l2_tuner_type new_type, in generic_set_freq() argument
1035 switch (new_type) { in generic_set_freq()
1110 tuner_err("Unsupported tuner type %d.\n", new_type); in generic_set_freq()
/linux-6.6.21/drivers/pinctrl/renesas/ !
Dpinctrl.c426 int new_type = input ? PINMUX_TYPE_INPUT : PINMUX_TYPE_OUTPUT; in sh_pfc_gpio_set_direction() local
443 ret = sh_pfc_config_mux(pfc, pin->enum_id, new_type); in sh_pfc_gpio_set_direction()
/linux-6.6.21/include/uapi/linux/ !
Dperf_event.h1425 new_type:4, /* additional branch type */ member
/linux-6.6.21/tools/include/uapi/linux/ !
Dperf_event.h1425 new_type:4, /* additional branch type */ member
/linux-6.6.21/crypto/ !
Dalgapi.c160 u32 new_type = (nalg ?: alg)->cra_flags; in crypto_remove_spawns() local
169 if ((spawn->alg->cra_flags ^ new_type) & spawn->mask) in crypto_remove_spawns()
/linux-6.6.21/drivers/net/wireless/ath/wil6210/ !
Dcfg80211.c624 enum nl80211_iftype new_type) in wil_cfg80211_validate_add_iface() argument
638 params.iftype_num[new_type]++; in wil_cfg80211_validate_add_iface()
644 enum nl80211_iftype new_type) in wil_cfg80211_validate_change_iface() argument
664 params.iftype_num[new_type]++; in wil_cfg80211_validate_change_iface()

12