Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Dkprobes.c133 struct kprobe_insn_page *kip; in __get_insn_slot() local
140 list_for_each_entry_rcu(kip, &c->pages, list) { in __get_insn_slot()
141 if (kip->nused < slots_per_page(c)) { in __get_insn_slot()
144 if (kip->slot_used[i] == SLOT_CLEAN) { in __get_insn_slot()
145 kip->slot_used[i] = SLOT_USED; in __get_insn_slot()
146 kip->nused++; in __get_insn_slot()
147 slot = kip->insns + (i * c->insn_size); in __get_insn_slot()
153 kip->nused = slots_per_page(c); in __get_insn_slot()
164 kip = kmalloc(KPROBE_INSN_PAGE_SIZE(slots_per_page(c)), GFP_KERNEL); in __get_insn_slot()
165 if (!kip) in __get_insn_slot()
[all …]
/Linux-v5.4/security/
Dsecurity.c591 static int lsm_ipc_alloc(struct kern_ipc_perm *kip) in lsm_ipc_alloc() argument
594 kip->security = NULL; in lsm_ipc_alloc()
598 kip->security = kzalloc(blob_sizes.lbs_ipc, GFP_KERNEL); in lsm_ipc_alloc()
599 if (kip->security == NULL) in lsm_ipc_alloc()