Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 3 of 3) sorted by relevance

/xnu-11215.1.10/osfmk/kern/
H A Dcopyout_shim.h59 #define CALL_COPYOUT_SHIM_NRML(ka, ua, nb) \ argument
60 … if(copyout_shim_fn && (co_src_flags & CO_SRC_NORMAL)) {copyout_shim_fn(ka,ua,nb,CO_SRC_NORMAL); }
62 #define CALL_COPYOUT_SHIM_MSG(ka, ua, nb) \ argument
63 if(copyout_shim_fn && (co_src_flags & CO_SRC_MSG)){copyout_shim_fn(ka,ua,nb,CO_SRC_MSG); }
65 #define CALL_COPYOUT_SHIM_PHYS(ka, ua, nb) \ argument
66 if(copyout_shim_fn && (co_src_flags & CO_SRC_PHYS)){copyout_shim_fn(ka,ua,nb,CO_SRC_PHYS); }
70 #define CALL_COPYOUT_SHIM_NRML(ka, ua, nb) argument
71 #define CALL_COPYOUT_SHIM_MSG(ka, ua, nb) argument
72 #define CALL_COPYOUT_SHIM_PHYS(ka, ua, nb) argument
H A Dexclaves_resource.c817 named_buffer_resource_t *nb = &resource->r_named_buffer; variable
818 assert3u(nb->nb_nranges, >, 0);
819 assert3u(nb->nb_size, !=, 0);
820 assert3u(offset + len, <=, nb->nb_size);
822 for (int i = 0; i < nb->nb_nranges; i++) {
824 if (offset >= nb->nb_range[i].npages * PAGE_SIZE) {
825 offset -= nb->nb_range[i].npages * PAGE_SIZE;
829 size_t size = MIN((nb->nb_range[i].npages * PAGE_SIZE) - offset, len);
830 int ret = cb(nb->nb_range[i].address + offset, size);
881 named_buffer_resource_t *nb = &resource->r_named_buffer; in exclaves_named_buffer_copyin() local
[all …]
/xnu-11215.1.10/SETUP/config/
H A Dparser.y156 { char nb[16]; variable
157 (void) sprintf(nb, "%u", $1);
158 $$ = val_id = ns(nb);