Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/
Dkprobes.c146 struct kprobe_insn_page *kip; in __get_insn_slot() local
153 list_for_each_entry_rcu(kip, &c->pages, list) { in __get_insn_slot()
154 if (kip->nused < slots_per_page(c)) { in __get_insn_slot()
158 if (kip->slot_used[i] == SLOT_CLEAN) { in __get_insn_slot()
159 kip->slot_used[i] = SLOT_USED; in __get_insn_slot()
160 kip->nused++; in __get_insn_slot()
161 slot = kip->insns + (i * c->insn_size); in __get_insn_slot()
167 kip->nused = slots_per_page(c); in __get_insn_slot()
178 kip = kmalloc(KPROBE_INSN_PAGE_SIZE(slots_per_page(c)), GFP_KERNEL); in __get_insn_slot()
179 if (!kip) in __get_insn_slot()
[all …]
/linux-5.19.10/security/
Dsecurity.c629 static int lsm_ipc_alloc(struct kern_ipc_perm *kip) in lsm_ipc_alloc() argument
632 kip->security = NULL; in lsm_ipc_alloc()
636 kip->security = kzalloc(blob_sizes.lbs_ipc, GFP_KERNEL); in lsm_ipc_alloc()
637 if (kip->security == NULL) in lsm_ipc_alloc()