/src/sys/kern/ |
subr_kobj_vfs.c | 81 kobj_close_vfs(kobj_t ko) 84 VOP_UNLOCK(ko->ko_source); 85 vn_close(ko->ko_source, FREAD, kauth_cred_get()); 94 kobj_read_vfs(kobj_t ko, void **basep, size_t size, off_t off, 101 KASSERT(ko->ko_source != NULL); 109 if ((uintptr_t)base >= (uintptr_t)ko->ko_text_address && 111 (uintptr_t)ko->ko_text_address + ko->ko_text_size) 113 if ((uintptr_t)base >= (uintptr_t)ko->ko_data_address && 115 (uintptr_t)ko->ko_data_address + ko->ko_data_size 156 kobj_t ko; local in function:kobj_load_vfs [all...] |
subr_kobj.c | 108 kobj_t ko; local in function:kobj_load_mem 110 ko = kmem_zalloc(sizeof(*ko), KM_SLEEP); 111 ko->ko_type = KT_MEMORY; 112 kobj_setname(ko, name); 113 ko->ko_source = base; 114 ko->ko_memsize = size; 115 ko->ko_read = kobj_read_mem; 116 ko->ko_close = kobj_close_mem; 118 *kop = ko; [all...] |
/src/sbin/ifconfig/ |
env.c | 51 prop_object_t ko, o; local in function:prop_dictionary_augment 61 while (i != NULL && (ko = prop_object_iterator_next(i)) != NULL) { 62 k = (prop_dictionary_keysym_t)ko;
|
/src/sbin/efi/ |
showvar.c | 241 EFI_KEY_OPTION *ko; member in union:show_key_data::__anon49daba06040a 255 u.ko->DescLocation + sizeof(uint16_t) < v->ev.datasize) { 256 size_t sz = v->ev.datasize - u.ko->DescLocation; 257 desc = ucs2_to_utf8((uint16_t *)&u.bp[u.ko->DescLocation], 266 u.ko->KeyData.PackedValue); 279 printf("\tBoot%04X \t%s", u.ko->BootOption, cp); 284 for (i = 0; i < u.ko->KeyData.Options.InputKeyCount; i++) 285 printf(" {%04x, %04x}", u.ko->Keys[i].ScanCode, 286 u.ko->Keys[i].UnicodeChar); 291 printf(" BootOptionCrc: 0x%08x\n", u.ko->BootOptionCrc) [all...] |