Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/
H A 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 …]
/OK3568_Linux_fs/kernel/security/
H A 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()