Home
last modified time | relevance | path

Searched refs:kip (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/kernel/
Dkprobes.c141 struct kprobe_insn_page *kip; in __get_insn_slot() local
148 list_for_each_entry_rcu(kip, &c->pages, list) { in __get_insn_slot()
149 if (kip->nused < slots_per_page(c)) { in __get_insn_slot()
152 if (kip->slot_used[i] == SLOT_CLEAN) { in __get_insn_slot()
153 kip->slot_used[i] = SLOT_USED; in __get_insn_slot()
154 kip->nused++; in __get_insn_slot()
155 slot = kip->insns + (i * c->insn_size); in __get_insn_slot()
161 kip->nused = slots_per_page(c); in __get_insn_slot()
172 kip = kmalloc(KPROBE_INSN_PAGE_SIZE(slots_per_page(c)), GFP_KERNEL); in __get_insn_slot()
173 if (!kip) in __get_insn_slot()
[all …]
/Linux-v5.10/security/
Dsecurity.c624 static int lsm_ipc_alloc(struct kern_ipc_perm *kip) in lsm_ipc_alloc() argument
627 kip->security = NULL; in lsm_ipc_alloc()
631 kip->security = kzalloc(blob_sizes.lbs_ipc, GFP_KERNEL); in lsm_ipc_alloc()
632 if (kip->security == NULL) in lsm_ipc_alloc()