/kernel/linux/linux-5.10/security/safesetid/ |
D | lsm.c | 66 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() 156 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 161 if (new_type == UID) { in id_permitted_for_cred() 165 } else if (new_type == GID){ in id_permitted_for_cred() 177 setid_policy_lookup((kid_t){.uid = old->uid}, new_id, new_type) != SIDPOL_CONSTRAINED; in id_permitted_for_cred() 180 if (new_type == UID) { in id_permitted_for_cred() 184 } else if (new_type == GID) { in id_permitted_for_cred()
|
/kernel/linux/linux-5.10/arch/x86/mm/pat/ |
D | memtype.c | 494 enum page_cache_mode *new_type) in reserve_ram_pages_type() argument 500 if (new_type) in reserve_ram_pages_type() 501 *new_type = _PAGE_CACHE_MODE_UC_MINUS; in reserve_ram_pages_type() 519 if (new_type) in reserve_ram_pages_type() 520 *new_type = type; in reserve_ram_pages_type() 526 if (new_type) in reserve_ram_pages_type() 527 *new_type = req_type; in reserve_ram_pages_type() 578 enum page_cache_mode *new_type) in memtype_reserve() argument 600 if (new_type) in memtype_reserve() 601 *new_type = req_type; in memtype_reserve() [all …]
|
D | memtype.h | 33 enum page_cache_mode *new_type); 39 enum page_cache_mode *new_type) in memtype_check_insert() argument
|
D | set_memory.c | 2039 enum page_cache_mode new_type) in _set_pages_array() argument 2053 if (memtype_reserve(start, end, new_type, NULL)) in _set_pages_array() 2058 set_type = (new_type == _PAGE_CACHE_MODE_WC) ? in _set_pages_array() 2059 _PAGE_CACHE_MODE_UC_MINUS : new_type; in _set_pages_array() 2063 if (!ret && new_type == _PAGE_CACHE_MODE_WC) in _set_pages_array()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-tqmx86.c | 152 u8 new_type, gpiic; in tqmx86_gpio_irq_set_type() local 156 new_type = TQMX86_GPII_RISING; in tqmx86_gpio_irq_set_type() 159 new_type = TQMX86_GPII_FALLING; in tqmx86_gpio_irq_set_type() 162 new_type = TQMX86_GPII_FALLING | TQMX86_GPII_RISING; in tqmx86_gpio_irq_set_type() 168 gpio->irq_type[offset] = new_type; in tqmx86_gpio_irq_set_type() 173 gpiic |= new_type << (offset * TQMX86_GPII_BITS); in tqmx86_gpio_irq_set_type()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | e820.c | 463 …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()
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | pc300too.c | 196 int new_type; in pc300_ioctl() local 223 new_type = IF_IFACE_X21; in pc300_ioctl() 228 new_type = IF_IFACE_V35; in pc300_ioctl() 232 new_type = IF_IFACE_V24; in pc300_ioctl() 253 port->iface = new_type; in pc300_ioctl()
|
/kernel/linux/linux-5.10/kernel/events/ |
D | hw_breakpoint.c | 351 static int __modify_bp_slot(struct perf_event *bp, u64 old_type, u64 new_type) in __modify_bp_slot() argument 357 err = __reserve_bp_slot(bp, new_type); in __modify_bp_slot() 373 static int modify_bp_slot(struct perf_event *bp, u64 old_type, u64 new_type) in modify_bp_slot() argument 378 ret = __modify_bp_slot(bp, old_type, new_type); in modify_bp_slot()
|
/kernel/linux/linux-5.10/kernel/sched/rtg/ |
D | rtg_ctrl.c | 160 static int do_update_rt_frame_num(struct frame_info *frame_info, int new_type) in do_update_rt_frame_num() argument 167 if (is_rt_type(new_type) == is_rt_type(old_type)) in do_update_rt_frame_num() 173 } else if (is_rt_type(new_type)) { in do_update_rt_frame_num() 188 static int update_rt_frame_num(struct frame_info *frame_info, int new_type, int cmd) in update_rt_frame_num() argument 194 ret = do_update_rt_frame_num(frame_info, new_type); in update_rt_frame_num() 197 if (is_rt_type(new_type)) { in update_rt_frame_num() 207 if ((atomic_read(&g_rt_frame_num) > 0) && is_rt_type(new_type)) in update_rt_frame_num()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/e820/ |
D | api.h | 18 …ern u64 e820__range_update(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type);
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | dir.h | 42 const struct gfs2_inode *nip, unsigned int new_type);
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_core.h | 412 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type); 414 enum smc_lgr_type new_type, int asym_lnk_idx);
|
D | smc_core.c | 1044 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type) in smcr_lgr_set_type() argument 1052 if (lgr->type == new_type) in smcr_lgr_set_type() 1054 lgr->type = new_type; in smcr_lgr_set_type() 1080 enum smc_lgr_type new_type, int asym_lnk_idx) in smcr_lgr_set_type_asym() argument 1082 smcr_lgr_set_type(lgr, new_type); in smcr_lgr_set_type_asym()
|
/kernel/linux/linux-5.10/scripts/ |
D | checkpatch.pl | 1937 my $new_type = pop(@av_paren_type); 1938 if ($new_type ne '_') { 1939 $type = $new_type; 4160 my $new_type = $type; 4161 $new_type =~ s/\b\s*int\s*\b/ /; 4162 $new_type =~ s/\b\s*(?:un)?signed\b\s*/ /; 4163 $new_type =~ s/^const\s+//; 4164 $new_type = "unsigned $new_type" if ($type =~ /\bunsigned\b/); 4165 $new_type = "const $new_type" if ($type =~ /^const\b/); 4166 $new_type =~ s/\s+/ /g; [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | sta.h | 23 enum nl80211_iftype new_type,
|
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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/wan/lmc/ |
D | lmc_main.c | 167 u16 new_type; in lmc_ioctl() local 174 if (copy_from_user(&new_type, ifr->ifr_data, sizeof(u16))) { in lmc_ioctl() 180 if (new_type == old_type) in lmc_ioctl() 189 sc->if_type = new_type; in lmc_ioctl()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | switchx2.c | 1353 enum devlink_port_type new_type) in mlxsw_sx_port_type_set() argument 1365 if (new_type == DEVLINK_PORT_TYPE_AUTO) in mlxsw_sx_port_type_set() 1374 if (new_type == DEVLINK_PORT_TYPE_ETH) in mlxsw_sx_port_type_set() 1377 else if (new_type == DEVLINK_PORT_TYPE_IB) in mlxsw_sx_port_type_set()
|
D | core.h | 295 enum devlink_port_type new_type);
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
D | tuner-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()
|
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
D | pinctrl.c | 446 int new_type = input ? PINMUX_TYPE_INPUT : PINMUX_TYPE_OUTPUT; in sh_pfc_gpio_set_direction() local 464 ret = sh_pfc_config_mux(pfc, pin->enum_id, new_type); in sh_pfc_gpio_set_direction()
|
/kernel/linux/linux-5.10/crypto/ |
D | algapi.c | 142 u32 new_type = (nalg ?: alg)->cra_flags; in crypto_remove_spawns() local 151 if ((spawn->alg->cra_flags ^ new_type) & spawn->mask) in crypto_remove_spawns()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 602 enum nl80211_iftype new_type) in wil_cfg80211_validate_add_iface() argument 616 params.iftype_num[new_type]++; in wil_cfg80211_validate_add_iface() 622 enum nl80211_iftype new_type) in wil_cfg80211_validate_change_iface() argument 642 params.iftype_num[new_type]++; in wil_cfg80211_validate_change_iface()
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | trace.h | 329 __field(u32, new_type) 336 __entry->new_type = type; 342 LOCAL_PR_ARG, VIF_PR_ARG, __entry->new_type,
|