| /linux-6.15/security/safesetid/ |
| H A D | lsm.c | 67 static enum sid_policy_type setid_policy_lookup(kid_t src, kid_t dst, enum setid_type new_type) in setid_policy_lookup() argument 73 if (new_type == UID) in setid_policy_lookup() 75 else if (new_type == GID) in setid_policy_lookup() 84 pol->type = new_type; in setid_policy_lookup() 148 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 153 if (new_type == UID) { in id_permitted_for_cred() 157 } else if (new_type == GID){ in id_permitted_for_cred() 169 setid_policy_lookup((kid_t){.uid = old->uid}, new_id, new_type) != SIDPOL_CONSTRAINED; in id_permitted_for_cred() 172 if (new_type == UID) { in id_permitted_for_cred() 176 } else if (new_type == GID) { in id_permitted_for_cred()
|
| /linux-6.15/arch/x86/mm/pat/ |
| H A D | memtype.c | 443 if (new_type) in reserve_ram_pages_type() 462 if (new_type) in reserve_ram_pages_type() 463 *new_type = type; in reserve_ram_pages_type() 469 if (new_type) in reserve_ram_pages_type() 470 *new_type = req_type; in reserve_ram_pages_type() 543 if (new_type) in memtype_reserve() 544 *new_type = req_type; in memtype_reserve() 550 if (new_type) in memtype_reserve() 563 if (new_type) in memtype_reserve() 601 new_type ? cattr_name(*new_type) : "-"); in memtype_reserve() [all …]
|
| H A D | memtype.h | 33 enum page_cache_mode *new_type); 39 enum page_cache_mode *new_type) in memtype_check_insert() argument
|
| H A D | set_memory.c | 2489 enum page_cache_mode new_type) in _set_pages_array() argument 2503 if (memtype_reserve(start, end, new_type, NULL)) in _set_pages_array() 2508 set_type = (new_type == _PAGE_CACHE_MODE_WC) ? in _set_pages_array() 2509 _PAGE_CACHE_MODE_UC_MINUS : new_type; in _set_pages_array() 2513 if (!ret && new_type == _PAGE_CACHE_MODE_WC) in _set_pages_array()
|
| /linux-6.15/tools/perf/util/ |
| H A D | branch.c | 25 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()
|
| H A D | branch.h | 26 u64 new_type:4; member 89 const char *branch_new_type_name(int new_type);
|
| /linux-6.15/tools/net/sunrpc/xdrgen/ |
| H A D | xdr_ast.py | 419 new_type = self.declaration 420 if isinstance(new_type.spec, _XdrDefinedType): 421 if new_type.spec.type_name in pass_by_reference: 422 pass_by_reference.add(new_type.name) 423 max_widths[new_type.name] = self.max_width() 424 symbolic_widths[new_type.name] = self.symbolic_width() 669 new_type = children[0] 671 return _XdrTypedef(new_type)
|
| /linux-6.15/drivers/gpio/ |
| H A D | gpio-tqmx86.c | 198 u8 new_type; in tqmx86_gpio_irq_set_type() local 202 new_type = TQMX86_INT_TRIG_RISING; in tqmx86_gpio_irq_set_type() 205 new_type = TQMX86_INT_TRIG_FALLING; in tqmx86_gpio_irq_set_type() 208 new_type = TQMX86_INT_TRIG_BOTH; in tqmx86_gpio_irq_set_type() 217 gpio->irq_type[data->hwirq] |= new_type; in tqmx86_gpio_irq_set_type()
|
| /linux-6.15/arch/x86/include/asm/e820/ |
| H A D | api.h | 18 …ern u64 e820__range_update(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type); 20 …table(struct e820_table *t, u64 start, u64 size, enum e820_type old_type, enum e820_type new_type);
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | e820.c | 462 …te(struct e820_table *table, u64 start, u64 size, enum e820_type old_type, enum e820_type new_type) in __e820__range_update() argument 468 BUG_ON(old_type == new_type); in __e820__range_update() 477 e820_print_type(new_type); in __e820__range_update() 492 entry->type = new_type; in __e820__range_update() 499 __e820__range_add(table, start, size, new_type); in __e820__range_update() 512 __e820__range_add(table, final_start, final_end - final_start, new_type); in __e820__range_update() 529 u64 __init e820__range_update(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type) in e820__range_update() argument 531 return __e820__range_update(e820_table, start, size, old_type, new_type); in e820__range_update() 535 enum e820_type old_type, enum e820_type new_type) in e820__range_update_table() argument 537 return __e820__range_update(t, start, size, old_type, new_type); in e820__range_update_table()
|
| /linux-6.15/drivers/net/wan/ |
| H A D | pc300too.c | 194 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.15/arch/x86/kernel/cpu/mtrr/ |
| H A D | generic.c | 269 u8 new_type, old_type; in add_map_entry() local 285 new_type = get_effective_type(type, cache_map[i].type); in add_map_entry() 288 if (cache_map[i].fixed || new_type == old_type) { in add_map_entry() 297 i -= add_map_entry_at(start, tmp, new_type, i); in add_map_entry() 487 static u8 type_merge(u8 type, u8 new_type, u8 *uniform) in type_merge() argument 492 return new_type; in type_merge() 494 effective_type = get_effective_type(type, new_type); in type_merge()
|
| /linux-6.15/kernel/events/ |
| H A D | hw_breakpoint.c | 625 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.15/fs/gfs2/ |
| H A D | dir.h | 42 const struct gfs2_inode *nip, unsigned int new_type);
|
| /linux-6.15/drivers/net/wireless/st/cw1200/ |
| H A D | sta.h | 23 enum nl80211_iftype new_type,
|
| H A D | sta.c | 307 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.15/scripts/ |
| H A D | checkpatch.pl | 2177 my $new_type = pop(@av_paren_type); 2178 if ($new_type ne '_') { 2179 $type = $new_type; 4648 my $new_type = $type; 4649 $new_type =~ s/\b\s*int\s*\b/ /; 4650 $new_type =~ s/\b\s*(?:un)?signed\b\s*/ /; 4651 $new_type =~ s/^const\s+//; 4652 $new_type = "unsigned $new_type" if ($type =~ /\bunsigned\b/); 4653 $new_type = "const $new_type" if ($type =~ /^const\b/); 4654 $new_type =~ s/\s+/ /g; [all …]
|
| /linux-6.15/net/smc/ |
| H A D | smc_core.h | 599 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type); 601 enum smc_lgr_type new_type, int asym_lnk_idx);
|
| H A D | smc_core.c | 1687 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type) in smcr_lgr_set_type() argument 1695 if (lgr->type == new_type) in smcr_lgr_set_type() 1697 lgr->type = new_type; in smcr_lgr_set_type() 1723 enum smc_lgr_type new_type, int asym_lnk_idx) in smcr_lgr_set_type_asym() argument 1725 smcr_lgr_set_type(lgr, new_type); in smcr_lgr_set_type_asym()
|
| /linux-6.15/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | cfg80211.c | 76 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.15/drivers/media/tuners/ |
| H A D | xc2028.c | 1009 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.15/crypto/ |
| H A D | algapi.c | 154 u32 new_type = (nalg ?: alg)->cra_flags; in crypto_remove_spawns() local 163 if ((spawn->alg->cra_flags ^ new_type) & spawn->mask) in crypto_remove_spawns()
|
| /linux-6.15/drivers/pinctrl/renesas/ |
| H A D | pinctrl.c | 422 int new_type = input ? PINMUX_TYPE_INPUT : PINMUX_TYPE_OUTPUT; in sh_pfc_gpio_set_direction() local 439 ret = sh_pfc_config_mux(pfc, pin->enum_id, new_type); in sh_pfc_gpio_set_direction()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | perf_event.h | 1448 new_type:4, /* additional branch type */ member
|
| /linux-6.15/include/uapi/linux/ |
| H A D | perf_event.h | 1448 new_type:4, /* additional branch type */ member
|