Home
last modified time | relevance | path

Searched refs:packp (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/sun4u/lw8/sys/
H A Dsgfru_mbox.h338 fru_info_t *fru, packet_t *packp);
343 static caddr_t sgfru_packet_unpad(const fru_info_t *fru, const packet_t *packp,
H A Dsgfru_priv.h146 const frup_info_t *frup, const packet_t *packp);
/titanic_44/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c856 packet_t *packp; in sgfru_getpackets() local
881 packp = (packet_t *)kmem_zalloc(ssize, KM_SLEEP); in sgfru_getpackets()
884 if ((ret = sgfru_packet_pad(datap, max_cnt, &packs.fru_info, packp)) in sgfru_getpackets()
887 kmem_free(packp, ssize); in sgfru_getpackets()
895 kmem_free(packp, ssize); in sgfru_getpackets()
899 if (sgfru_copyout_packets(iargp, &packs, packp) != 0) { in sgfru_getpackets()
900 kmem_free(packp, ssize); in sgfru_getpackets()
904 kmem_free(packp, ssize); in sgfru_getpackets()
1654 const packet_t *packp) in sgfru_copyout_packets() argument
1660 if (ddi_copyout((void *)packp, (void *)frup->frus, size, argp->mode) in sgfru_copyout_packets()
[all …]
/titanic_44/usr/src/uts/common/fs/cachefs/
H A Dcachefs_vnops.c1752 cachefsio_pack_t *packp; in cachefs_ioctl() local
1787 packp = cachefs_kmem_alloc(sizeof (cachefsio_pack_t), KM_SLEEP); in cachefs_ioctl()
1788 error = xcopyin((void *)arg, packp, sizeof (cachefsio_pack_t)); in cachefs_ioctl()
1790 error = cachefs_pack(vp, packp->p_name, cred); in cachefs_ioctl()
1791 cachefs_kmem_free(packp, sizeof (cachefsio_pack_t)); in cachefs_ioctl()
1795 packp = cachefs_kmem_alloc(sizeof (cachefsio_pack_t), KM_SLEEP); in cachefs_ioctl()
1796 error = xcopyin((void *)arg, packp, sizeof (cachefsio_pack_t)); in cachefs_ioctl()
1798 error = cachefs_unpack(vp, packp->p_name, cred); in cachefs_ioctl()
1799 cachefs_kmem_free(packp, sizeof (cachefsio_pack_t)); in cachefs_ioctl()
1803 packp = cachefs_kmem_alloc(sizeof (cachefsio_pack_t), KM_SLEEP); in cachefs_ioctl()
[all …]