Searched refs:template (Results 1 – 2 of 2) sorted by relevance
/kernel/debug/kdb/ |
D | kdb_bp.c | 285 kdb_bp_t template = {0}; in kdb_bp() local 302 diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, in kdb_bp() 306 if (!template.bp_addr) in kdb_bp() 314 diag = kgdb_validate_break_address(template.bp_addr); in kdb_bp() 330 template.bp_type = BP_HARDWARE_BREAKPOINT; in kdb_bp() 331 diag = kdb_parsebp(argc, argv, &nextarg, &template); in kdb_bp() 335 template.bp_type = BP_BREAKPOINT; in kdb_bp() 347 bp_check->bp_addr == template.bp_addr) { in kdb_bp() 349 kdb_bfd_vma_fmt0 "\n", template.bp_addr); in kdb_bp() 354 template.bp_enabled = 1; in kdb_bp() [all …]
|
/kernel/cgroup/ |
D | cgroup.c | 1009 struct cgroup_subsys_state *template[]) in compare_css_sets() argument 1019 if (memcmp(template, cset->subsys, sizeof(cset->subsys))) in compare_css_sets() 1087 struct cgroup_subsys_state *template[]) in find_existing_css_set() argument 1106 template[i] = cgroup_e_css_by_mask(cgrp, ss); in find_existing_css_set() 1112 template[i] = old_cset->subsys[i]; in find_existing_css_set() 1116 key = css_set_hash(template); in find_existing_css_set() 1118 if (!compare_css_sets(cset, old_cset, cgrp, template)) in find_existing_css_set() 1207 struct cgroup_subsys_state *template[CGROUP_SUBSYS_COUNT] = { }; in find_css_set() local 1220 cset = find_existing_css_set(old_cset, cgrp, template); in find_css_set() 1253 memcpy(cset->subsys, template, sizeof(cset->subsys)); in find_css_set()
|