Home
last modified time | relevance | path

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

12

/linux/arch/x86/mm/pat/
H A Dmemtype.c438 enum page_cache_mode *new_type) in reserve_ram_pages_type() argument
444 if (new_type) in reserve_ram_pages_type()
445 *new_type = _PAGE_CACHE_MODE_UC_MINUS; in reserve_ram_pages_type()
463 if (new_type) in reserve_ram_pages_type()
464 *new_type = type; in reserve_ram_pages_type()
470 if (new_type) in reserve_ram_pages_type()
471 *new_type = req_type; in reserve_ram_pages_type()
522 enum page_cache_mode *new_type) in memtype_reserve() argument
544 if (new_type) in memtype_reserve()
545 *new_type = req_type; in memtype_reserve()
[all …]
H A Dmemtype.h33 enum page_cache_mode *new_type);
39 enum page_cache_mode *new_type) in memtype_check_insert() argument
/linux/security/safesetid/
H A Dlsm.c67 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/tools/perf/util/
H A 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()
H A Dbranch.h26 u64 new_type:4; member
89 const char *branch_new_type_name(int new_type);
H A Dparse-events.c1197 enum evsel_term_type new_type; in get_config_terms() local
1203 new_type = EVSEL__CONFIG_TERM_PERIOD; in get_config_terms()
1207 new_type = EVSEL__CONFIG_TERM_FREQ; in get_config_terms()
1211 new_type = EVSEL__CONFIG_TERM_TIME; in get_config_terms()
1215 new_type = EVSEL__CONFIG_TERM_CALLGRAPH; in get_config_terms()
1219 new_type = EVSEL__CONFIG_TERM_BRANCH; in get_config_terms()
1223 new_type = EVSEL__CONFIG_TERM_STACK_USER; in get_config_terms()
1227 new_type = EVSEL__CONFIG_TERM_INHERIT; in get_config_terms()
1231 new_type = EVSEL__CONFIG_TERM_INHERIT; in get_config_terms()
1235 new_type = EVSEL__CONFIG_TERM_MAX_STACK; in get_config_terms()
[all …]
/linux/drivers/net/wan/
H 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/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c268 u8 new_type, old_type; in add_map_entry() local
284 new_type = get_effective_type(type, cache_map[i].type); in add_map_entry()
287 if (cache_map[i].fixed || new_type == old_type) { in add_map_entry()
296 i -= add_map_entry_at(start, tmp, new_type, i); in add_map_entry()
486 static u8 type_merge(u8 type, u8 new_type, u8 *uniform) in type_merge() argument
491 return new_type; in type_merge()
493 effective_type = get_effective_type(type, new_type); in type_merge()
/linux/kernel/events/
H A Dhw_breakpoint.c626 static int __modify_bp_slot(struct perf_event *bp, u64 old_type, u64 new_type) in __modify_bp_slot() argument
632 err = __reserve_bp_slot(bp, new_type); in __modify_bp_slot()
648 static int modify_bp_slot(struct perf_event *bp, u64 old_type, u64 new_type) in modify_bp_slot() argument
651 int ret = __modify_bp_slot(bp, old_type, new_type); in modify_bp_slot()
/linux/fs/gfs2/
H A Ddir.h42 const struct gfs2_inode *nip, unsigned int new_type);
H A Ddir.c1938 const struct gfs2_inode *nip, unsigned int new_type) in gfs2_dir_mvino() argument
1953 dent->de_type = cpu_to_be16(new_type); in gfs2_dir_mvino()
/linux/scripts/
H A Dcheckpatch.pl2206 my $new_type = pop(@av_paren_type);
2207 if ($new_type ne '_') {
2208 $type = $new_type;
4712 my $new_type = $type;
4713 $new_type =~ s/\b\s*int\s*\b/ /;
4714 $new_type =~ s/\b\s*(?:un)?signed\b\s*/ /;
4715 $new_type =~ s/^const\s+//;
4716 $new_type = "unsigned $new_type" if ($type =~ /\bunsigned\b/);
4717 $new_type
[all...]
/linux/drivers/net/wireless/st/cw1200/
H A Dsta.h23 enum nl80211_iftype new_type,
H 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/
H 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/perf/
H A Darm_brbe.c574 entry->new_type = br_type[1]; in brbe_set_perf_entry_type()
759 return test_bit(PERF_BR_MAX + entry->new_type, event_type_mask); in filter_branch_type()
/linux/drivers/media/tuners/
H A 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/include/uapi/linux/
H A Dperf_event.h1501 new_type : 4, /* additional branch type */ member
/linux/tools/include/uapi/linux/
H A Dperf_event.h1501 new_type : 4, /* additional branch type */ member
/linux/net/smc/
H A Dsmc_core.c1701 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type) in smcr_lgr_set_type() argument
1709 if (lgr->type == new_type) in smcr_lgr_set_type()
1711 lgr->type = new_type; in smcr_lgr_set_type()
1737 enum smc_lgr_type new_type, int asym_lnk_idx) in smcr_lgr_set_type_asym() argument
1739 smcr_lgr_set_type(lgr, new_type); in smcr_lgr_set_type_asym()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c1217 enum sched_node_type new_type, in esw_qos_vport_tc_check_type() argument
1221 new_type == SCHED_NODE_TYPE_RATE_LIMITER) { in esw_qos_vport_tc_check_type()
1228 new_type == SCHED_NODE_TYPE_TC_ARBITER_TSAR) { in esw_qos_vport_tc_check_type()
/linux/drivers/net/wireless/ath/wil6210/
H 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/fs/smb/server/
H A Dvfs.c671 int new_type; in ksmbd_vfs_rename() local
681 &new_path, &new_last, &new_type, in ksmbd_vfs_rename()
/linux/net/mac80211/
H A Dtrace.h361 __field(u32, new_type)
368 __entry->new_type = type;
374 LOCAL_PR_ARG, VIF_PR_ARG, __entry->new_type,
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcore.c344 enum nl80211_iftype new_type, bool p2p) in rtl_op_change_interface() argument
351 vif->type = new_type; in rtl_op_change_interface()

12