Searched refs:nb (Results 1 – 3 of 3) sorted by relevance
| /xnu-10063.141.1/osfmk/kern/ |
| H A D | copyout_shim.h | 59 #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 D | exclaves_resource.c | 826 named_buffer_resource_t *nb = &resource->r_named_buffer; variable 827 assert3u(nb->nb_nranges, >, 0); 828 assert3u(nb->nb_size, !=, 0); 829 assert3u(offset + len, <=, nb->nb_size); 831 for (int i = 0; i < nb->nb_nranges; i++) { 833 if (offset >= nb->nb_range[i].npages * PAGE_SIZE) { 834 offset -= nb->nb_range[i].npages * PAGE_SIZE; 838 size_t size = MIN((nb->nb_range[i].npages * PAGE_SIZE) - offset, len); 839 int ret = cb(nb->nb_range[i].address + offset, size); 890 named_buffer_resource_t *nb = &resource->r_named_buffer; in exclaves_named_buffer_copyin() local [all …]
|
| /xnu-10063.141.1/SETUP/config/ |
| H A D | parser.y | 156 { char nb[16]; variable 157 (void) sprintf(nb, "%u", $1); 158 $$ = val_id = ns(nb);
|