Home
last modified time | relevance | path

Searched refs:COPYOUT (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/usr.bin/netstat/
H A Dunix.c129 #define COPYOUT(obj, size) do { \ in pcblist_kvm() macro
150 COPYOUT(&xug, sizeof xug); in pcblist_kvm()
177 COPYOUT(&xu, sizeof(xu)); in pcblist_kvm()
185 COPYOUT(&xug, sizeof xug); in pcblist_kvm()
193 #undef COPYOUT in pcblist_kvm()
/freebsd-12.1/stand/common/
H A Dload_elf_obj.c45 #define COPYOUT(s,d,l) archsw.arch_copyout((vm_offset_t)(s), d, l) macro
383 COPYOUT(p, &v, sizeof(v)); in __elfN()
388 COPYOUT(v, &md64, sizeof(md64)); in __elfN()
397 COPYOUT(v, &md, sizeof(md)); in __elfN()
410 COPYOUT((vm_offset_t)md.md_data, mdepend, in __elfN()
420 COPYOUT((vm_offset_t)md.md_data, &mver, sizeof(mver)); in __elfN()
505 COPYOUT(abase + j, &a, sizeof(a)); in __elfN()
518 COPYOUT(rbase + j, &r, sizeof(r)); in __elfN()
540 COPYOUT(ef->e_shdr[ef->symtabindex].sh_addr + symidx * sizeof(Elf_Sym), in __elfN()
H A Dload_elf.c829 COPYOUT(ef->hashtab, &ef->nbuckets, sizeof(ef->nbuckets)); in __elfN()
1039 COPYOUT(p, &v, sizeof(v)); in __elfN()
1046 COPYOUT(v, &md64, sizeof(md64)); in __elfN()
1058 COPYOUT(v, &md32, sizeof(md32)); in __elfN()
1070 COPYOUT(v, &md, sizeof(md)); in __elfN()
1089 COPYOUT((vm_offset_t)md.md_data, mdepend, in __elfN()
1099 COPYOUT((vm_offset_t)md.md_data, &mver, sizeof(mver)); in __elfN()
1150 COPYOUT(ef->symtab + symnum, &sym, sizeof(sym)); in __elfN()
1168 COPYOUT(&ef->chains[symnum], &symnum, sizeof(symnum)); in __elfN()
1197 COPYOUT(ef->rel + n, &r, sizeof(r)); in __elfN()
[all …]
H A Dreloc_elf.c43 #define COPYOUT(s,d,l) archsw.arch_copyout((vm_offset_t)(s), d, l) macro
/freebsd-12.1/sys/kern/
H A Dsys_process.c551 #define COPYOUT(k, u, s) wrap32 ? \ macro
557 #define COPYOUT(k, u, s) copyout(k, u, s) macro
644 error = COPYOUT(&r.pve, uap->addr, sizeof r.pve); in sys_ptrace()
647 error = COPYOUT(&r.piod, uap->addr, sizeof r.piod); in sys_ptrace()
650 error = COPYOUT(&r.reg, uap->addr, sizeof r.reg); in sys_ptrace()
653 error = COPYOUT(&r.fpreg, uap->addr, sizeof r.fpreg); in sys_ptrace()
656 error = COPYOUT(&r.dbreg, uap->addr, sizeof r.dbreg); in sys_ptrace()
675 #undef COPYOUT
/freebsd-12.1/contrib/ipfilter/
H A Dip_fil_compat.c3052 error = COPYOUT(old, obj->ipfo_ptr, sizeof(*old));
3058 error = COPYOUT(fr->fr_data, dst,
3076 error = COPYOUT(old, obj->ipfo_ptr, sizeof(*old));
3092 error = COPYOUT(old, obj->ipfo_ptr, sizeof(*old));
3112 error = COPYOUT(old, obj->ipfo_ptr, sizeof(*old));
3127 error = COPYOUT(old, obj->ipfo_ptr, sizeof(*old));
3149 error = COPYOUT(old, obj->ipfo_ptr, sizeof(*old));
3164 error = COPYOUT(old, obj->ipfo_ptr, sizeof(*old));
3183 error = COPYOUT(old, obj->ipfo_ptr, sizeof(*old));
3198 error = COPYOUT(old, obj->ipfo_ptr, sizeof(*old));
[all …]
H A Dip_dstlist.c435 err = COPYOUT(next, iter->ili_data, sizeof(*next));
445 err = COPYOUT(nextnode, iter->ili_data, sizeof(*nextnode));
805 err = COPYOUT(&stats, op->iplo_struct, sizeof(stats));
/freebsd-12.1/stand/fdt/
H A Dfdt_loader_cmd.c55 #define COPYOUT(s,d,l) archsw.arch_copyout(s, d, l) macro
170 COPYOUT(symtab, &sym, sizeof(sym)); in fdt_find_static_dtb()
192 COPYOUT(va, &header, sizeof(header)); in fdt_load_dtb()
220 COPYOUT(va, fdtp, fdtp_size); in fdt_load_dtb()
295 COPYOUT(bfp->f_addr, &header, sizeof(header)); in fdt_load_dtb_overlay()
460 COPYOUT(fp->f_addr, overlay, fp->f_size); in fdt_apply_overlays()
/freebsd-12.1/sys/contrib/ipfilter/netinet/
H A Dip_dstlist.c435 err = COPYOUT(next, iter->ili_data, sizeof(*next));
445 err = COPYOUT(nextnode, iter->ili_data, sizeof(*nextnode));
806 err = COPYOUT(&stats, op->iplo_struct, sizeof(stats));
H A Dip_compat.h133 # define COPYOUT(a,b,c) copyout((caddr_t)(a), (caddr_t)(b), (c)) macro
383 # define COPYOUT(a,b,c) bcopywrap((a), (b), (c)) macro
590 # define COPYOUT(a,b,c) (bcopy((caddr_t)(a), (caddr_t)(b), (c)), 0) macro
H A Dip_htable.c252 err = COPYOUT(&stats, op->iplo_struct, sizeof(stats));
1305 err = COPYOUT(nextiph, ilp->ili_data, sizeof(*nextiph));
1318 err = COPYOUT(nextnode, ilp->ili_data, sizeof(*nextnode));
H A Dip_pool.c620 err = COPYOUT(&stats, op->iplo_struct, sizeof(stats));
1362 err = COPYOUT(nextipo, ilp->ili_data, sizeof(*nextipo));
1375 err = COPYOUT(nextnode, ilp->ili_data, sizeof(*nextnode));
H A Dfil.c4212 error = COPYOUT(src, ca, size);
5028 error = COPYOUT(f->fr_data, uptr,
5458 if (COPYOUT(&res, data, sizeof(res)) != 0) {
5471 if (COPYOUT(&res, data, sizeof(res)) != 0) {
6526 error = COPYOUT(ptr, obj.ipfo_ptr, sz);
6591 error = COPYOUT(ptr, obj.ipfo_ptr, obj.ipfo_size);
6647 error = COPYOUT(ptr, obj->ipfo_ptr, obj->ipfo_size);
H A Dip_frag.c1255 error = COPYOUT(next, itp->igi_data, sizeof(*next));
H A Dip_nat.c6689 error = COPYOUT(nexthm, objp->ipfo_ptr, sizeof(*nexthm));
7959 error = COPYOUT(softn->ipf_nat_stats.ns_side[0].ns_bucketlen,
7965 error = COPYOUT(softn->ipf_nat_stats.ns_side[1].ns_bucketlen,
H A Dip_state.c4942 error = COPYOUT(softs->ipf_state_stats.iss_bucketlen, table.ita_table,
/freebsd-12.1/sys/amd64/amd64/
H A Dsupport.S668 .macro COPYOUT smap erms macro
721 COPYOUT smap=0 erms=0
725 COPYOUT smap=1 erms=0
729 COPYOUT smap=0 erms=1
733 COPYOUT smap=1 erms=1