Home
last modified time | relevance | path

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

12

/linux/security/safesetid/
A 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()
153 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
158 if (new_type == UID) { in id_permitted_for_cred()
162 } else if (new_type == GID){ in id_permitted_for_cred()
174 setid_policy_lookup((kid_t){.uid = old->uid}, new_id, new_type) != SIDPOL_CONSTRAINED; in id_permitted_for_cred()
177 if (new_type == UID) { in id_permitted_for_cred()
181 } else if (new_type == GID) { in id_permitted_for_cred()
/linux/arch/x86/mm/pat/
A Dmemtype.c500 if (new_type) 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()
600 if (new_type) in memtype_reserve()
601 *new_type = req_type; in memtype_reserve()
607 if (new_type) in memtype_reserve()
620 if (new_type) in memtype_reserve()
658 new_type ? cattr_name(*new_type) : "-"); in memtype_reserve()
[all …]
A Dmemtype.h33 enum page_cache_mode *new_type);
39 enum page_cache_mode *new_type) in memtype_check_insert() argument
A Dset_memory.c2067 enum page_cache_mode new_type) in _set_pages_array() argument
2081 if (memtype_reserve(start, end, new_type, NULL)) in _set_pages_array()
2086 set_type = (new_type == _PAGE_CACHE_MODE_WC) ? in _set_pages_array()
2087 _PAGE_CACHE_MODE_UC_MINUS : new_type; in _set_pages_array()
2091 if (!ret && new_type == _PAGE_CACHE_MODE_WC) in _set_pages_array()
/linux/drivers/gpio/
A Dgpio-tqmx86.c152 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()
/linux/arch/x86/kernel/
A 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/drivers/net/wan/
A 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/kernel/events/
A Dhw_breakpoint.c351 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()
/linux/arch/x86/include/asm/e820/
A Dapi.h18 …ern u64 e820__range_update(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type);
/linux/fs/gfs2/
A Ddir.h42 const struct gfs2_inode *nip, unsigned int new_type);
A Ddir.c1937 const struct gfs2_inode *nip, unsigned int new_type) in gfs2_dir_mvino() argument
1952 dent->de_type = cpu_to_be16(new_type); in gfs2_dir_mvino()
/linux/scripts/
A Dcheckpatch.pl2143 my $new_type = pop(@av_paren_type);
2144 if ($new_type ne '_') {
2145 $type = $new_type;
4539 my $new_type = $type;
4540 $new_type =~ s/\b\s*int\s*\b/ /;
4541 $new_type =~ s/\b\s*(?:un)?signed\b\s*/ /;
4542 $new_type =~ s/^const\s+//;
4543 $new_type = "unsigned $new_type" if ($type =~ /\bunsigned\b/);
4544 $new_type = "const $new_type" if ($type =~ /^const\b/);
4545 $new_type =~ s/\s+/ /g;
[all …]
/linux/net/smc/
A Dsmc_core.h508 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type);
510 enum smc_lgr_type new_type, int asym_lnk_idx);
A Dsmc_core.c1516 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type) in smcr_lgr_set_type() argument
1524 if (lgr->type == new_type) in smcr_lgr_set_type()
1526 lgr->type = new_type; in smcr_lgr_set_type()
1552 enum smc_lgr_type new_type, int asym_lnk_idx) in smcr_lgr_set_type_asym() argument
1554 smcr_lgr_set_type(lgr, new_type); in smcr_lgr_set_type_asym()
/linux/drivers/net/wireless/st/cw1200/
A Dsta.h23 enum nl80211_iftype new_type,
A 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/drivers/net/wireless/quantenna/qtnfmac/
A 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/drivers/net/wan/lmc/
A Dlmc_main.c168 u16 new_type; in lmc_siocdevprivate() local
175 if (copy_from_user(&new_type, data, sizeof(u16))) { in lmc_siocdevprivate()
181 if (new_type == old_type) in lmc_siocdevprivate()
190 sc->if_type = new_type; in lmc_siocdevprivate()
/linux/drivers/media/tuners/
A Dtuner-xc2028.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/drivers/pinctrl/renesas/
A Dpinctrl.c446 int new_type = input ? PINMUX_TYPE_INPUT : PINMUX_TYPE_OUTPUT; in sh_pfc_gpio_set_direction() local
463 ret = sh_pfc_config_mux(pfc, pin->enum_id, new_type); in sh_pfc_gpio_set_direction()
/linux/crypto/
A Dalgapi.c142 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()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore.h320 enum devlink_port_type new_type);
/linux/drivers/net/wireless/ath/wil6210/
A 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()
/linux/net/mac80211/
A Dtrace.h329 __field(u32, new_type)
336 __entry->new_type = type;
342 LOCAL_PR_ARG, VIF_PR_ARG, __entry->new_type,
/linux/drivers/net/wireless/realtek/rtlwifi/
A Dcore.c355 enum nl80211_iftype new_type, bool p2p) in rtl_op_change_interface() argument
362 vif->type = new_type; in rtl_op_change_interface()

Completed in 102 milliseconds

12