Home
last modified time | relevance | path

Searched refs:STRUCT_SIZE (Results 1 – 25 of 47) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A Deth_constants.h12 #define NUM_OF_ETH_BDS_IN_PAGE ((PAGE_SIZE)/(STRUCT_SIZE(eth_tx_bd)/8))
23 #define U_ETH_SGES_PER_PAGE_INVERSE_MASK (0xFFFF - ((PAGE_SIZE/((STRUCT_SIZE(eth_rx_sge))/8))-1))
25 #define TU_ETH_CQES_PER_PAGE (PAGE_SIZE/(STRUCT_SIZE(eth_rx_cqe)/8))
26 #define U_ETH_BDS_PER_PAGE (PAGE_SIZE/(STRUCT_SIZE(eth_rx_bd)/8))
27 #define U_ETH_SGES_PER_PAGE (PAGE_SIZE/(STRUCT_SIZE(eth_rx_sge)/8))
H A Dmicrocode_constants.h74 #define C_ERES_PER_PAGE ( PAGE_SIZE / BITS_TO_BYTES(STRUCT_SIZE(event_ring_elem)) )
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_sys.c86 if (copyin(arg, STRUCT_BUF(ea), STRUCT_SIZE(ea))) in nfs_export()
119 if (copyin(arg, STRUCT_BUF(u_clr), STRUCT_SIZE(u_clr))) in nfssys()
173 if (copyin(arg, STRUCT_BUF(ursa), STRUCT_SIZE(ursa))) in nfssys()
197 if (copyin(arg, STRUCT_BUF(nsa), STRUCT_SIZE(nsa))) in nfssys()
215 if (copyin(arg, STRUCT_BUF(nga), STRUCT_SIZE(nga))) in nfssys()
226 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra))) in nfssys()
242 if (copyin(arg, STRUCT_BUF(ulsa), STRUCT_SIZE(ulsa))) in nfssys()
273 if (copyin(arg, STRUCT_BUF(nfa), STRUCT_SIZE(nfa))) in nfssys()
286 if (copyin(arg, STRUCT_BUF(nsa), STRUCT_SIZE(nsa))) in nfssys()
H A Dnfs_vfsops.c282 if (copyin(data, STRUCT_BUF(args), MIN(datalen, STRUCT_SIZE(args)))) in nfs_copyin()
308 STRUCT_SIZE(knconf_tmp))) { in nfs_copyin()
360 STRUCT_SIZE(addr_tmp))) { in nfs_copyin()
416 STRUCT_SIZE(addr_tmp))) { in nfs_copyin()
1056 STRUCT_SIZE(pc_tmp))) in pathconf_copyin()
H A Dnfs3_vfsops.c273 if (copyin(data, STRUCT_BUF(args), MIN(datalen, STRUCT_SIZE(args)))) in nfs3_copyin()
298 STRUCT_SIZE(knconf_tmp))) { in nfs3_copyin()
340 STRUCT_SIZE(addr_tmp))) { in nfs3_copyin()
396 STRUCT_SIZE(addr_tmp))) { in nfs3_copyin()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dcrypto.c932 if (copyin(arg, STRUCT_BUF(get_number), STRUCT_SIZE(get_number)) != 0) in get_mechanism_number()
967 STRUCT_SIZE(get_number)) != 0) { in get_mechanism_number()
991 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) { in get_mechanism_list()
1009 if (copyout(STRUCT_BUF(get_list), arg, STRUCT_SIZE(get_list)) != 0) { in get_mechanism_list()
1053 len = count * STRUCT_SIZE(mi); in copyout_mechinfos()
1062 bcopy(STRUCT_BUF(mi), p, STRUCT_SIZE(mi)); in copyout_mechinfos()
1063 p += STRUCT_SIZE(mi); in copyout_mechinfos()
1100 STRUCT_SIZE(get_all_mech)) != 0) { in get_all_mechanism_info()
1135 STRUCT_SIZE(get_all_mech)) != 0) { in get_all_mechanism_info()
1153 u_minfos = kmem_alloc(num_mech_infos * STRUCT_SIZE(mi), KM_SLEEP); in get_all_mechanism_info()
[all …]
H A Dcryptoadm.c307 if (copyin(arg, STRUCT_BUF(soft_list), STRUCT_SIZE(soft_list)) != 0) in get_soft_list()
314 STRUCT_SIZE(soft_list)) != 0) { in get_soft_list()
328 STRUCT_SIZE(soft_list)) != 0) { in get_soft_list()
345 if (copyout(STRUCT_BUF(soft_list), arg, STRUCT_SIZE(soft_list)) != 0) { in get_soft_list()
/titanic_41/usr/src/uts/intel/io/
H A Ducode_drv.c157 STRUCT_BUF(h), STRUCT_SIZE(h), mode)) in ucode_ioctl()
190 STRUCT_SIZE(h), mode)) in ucode_ioctl()
210 if (ddi_copyin((void *)arg, STRUCT_BUF(h), STRUCT_SIZE(h), in ucode_ioctl()
236 STRUCT_SIZE(h), mode)) in ucode_ioctl()
249 STRUCT_SIZE(h), mode)) in ucode_ioctl()
/titanic_41/usr/src/uts/common/syscall/
H A Dauditsys.c205 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info))) in getaudit()
228 if (len < STRUCT_SIZE(info)) in getaudit_addr()
258 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info))) in getaudit_addr()
283 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info))) in setaudit()
343 if (len < STRUCT_SIZE(info)) in setaudit_addr()
346 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info))) in setaudit_addr()
561 if (len < STRUCT_SIZE(info)) in getkaudit()
594 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info))) in getkaudit()
619 if (len < STRUCT_SIZE(info)) in setkaudit()
622 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info))) in setkaudit()
[all …]
H A Dmemcntl.c148 if (copyin(arg, STRUCT_BUF(mha), STRUCT_SIZE(mha))) { in memcntl()
H A Dsem.c368 if (copyin((void *)arg, STRUCT_BUF(sid), STRUCT_SIZE(sid))) in semctl()
433 if (copyout(STRUCT_BUF(sid), (void *)arg, STRUCT_SIZE(sid))) in semctl()
/titanic_41/usr/src/uts/common/io/
H A Dcpuid_drv.c161 STRUCT_BUF(h), STRUCT_SIZE(h), mode)) in cpuid_ioctl()
181 (void *)arg, STRUCT_SIZE(h), mode)) in cpuid_ioctl()
/titanic_41/usr/src/uts/common/sys/
H A Dmodel.h108 #define STRUCT_SIZE(handle) \ macro
179 #define STRUCT_SIZE(handle) (sizeof (*(handle).ptr)) macro
/titanic_41/usr/src/uts/common/avs/ns/
H A Dmodel.h117 #define STRUCT_SIZE(handle) \ macro
189 #define STRUCT_SIZE(handle) (sizeof (*(handle).ptr)) macro
/titanic_41/usr/src/uts/common/os/
H A Dmsg.c455 if (copyin(arg, STRUCT_BUF(ds), STRUCT_SIZE(ds))) in msgctl()
565 if (copyout(STRUCT_BUF(ds), arg, STRUCT_SIZE(ds))) in msgctl()
984 if (bufsz < STRUCT_SIZE(head)) in msgsnap()
1014 size += STRUCT_SIZE(head) + nmsg * STRUCT_SIZE(mhead); in msgsnap()
1043 if (copyout(STRUCT_BUF(head), buf, STRUCT_SIZE(head))) in msgsnap()
1046 buf += STRUCT_SIZE(head); in msgsnap()
1056 if (copyout(STRUCT_BUF(mhead), buf, STRUCT_SIZE(mhead))) in msgsnap()
1058 buf += STRUCT_SIZE(mhead); in msgsnap()
H A Dcontract.c1439 if (copyin(uaddr, STRUCT_BUF(uarg), STRUCT_SIZE(uarg))) in ctparam_copyin()
1480 if (copyout(STRUCT_BUF(uarg), uaddr, STRUCT_SIZE(uarg))) { in ctparam_copyout()
2568 result = copyin(uaddr, STRUCT_BUF(ev), STRUCT_SIZE(ev)); in cte_get_event()
2630 result = copyout(STRUCT_BUF(ev), uaddr, STRUCT_SIZE(ev)); in cte_get_event()
/titanic_41/usr/src/uts/common/rpc/
H A Drpcsys.c56 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra))) in rpcsys()
/titanic_41/usr/src/uts/common/fs/ctfs/
H A Dctfs_ctl.c297 if (copyin((void *)arg, STRUCT_BUF(st), STRUCT_SIZE(st))) in ctfs_stat_ioctl()
322 if (copyout(STRUCT_BUF(st), (void *)arg, STRUCT_SIZE(st))) in ctfs_stat_ioctl()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsockparams.c845 STRUCT_SIZE(st), 0) != 0) in sockparams_copyout_socktable()
863 STRUCT_SIZE(st), 0) != 0) in sockparams_copyout_socktable()
903 STRUCT_SIZE(st), 0) != 0) in sockparams_copyout_socktable()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c112 if (copyin(fiou, STRUCT_BUF(fio), STRUCT_SIZE(fio))) in ufs_fioio()
184 if (copyout(STRUCT_BUF(fio), fiou, STRUCT_SIZE(fio))) { in ufs_fioio()
/titanic_41/usr/src/uts/common/inet/ipd/
H A Dipd.c818 STRUCT_SIZE(h), 0) != 0) in ipd_ioctl_list()
834 STRUCT_SIZE(h), 0) != 0) in ipd_ioctl_list()
888 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, STRUCT_SIZE(h), 0) != 0) in ipd_ioctl_list()
/titanic_41/usr/src/uts/common/c2/
H A Daudit_event.c1744 bzero(STRUCT_BUF(nfsargs), STRUCT_SIZE(nfsargs)); in aus_mount()
1748 MIN(uap->datalen, STRUCT_SIZE(nfsargs)))) { in aus_mount()
3090 STRUCT_SIZE(ainfo))) { in aus_auditsys()
3114 STRUCT_SIZE(ainfo_addr))) { in aus_auditsys()
3172 if (copyin((caddr_t)a2, STRUCT_BUF(qctrl), STRUCT_SIZE(qctrl))) in aus_auditsys()
3206 STRUCT_SIZE(ainfo))) { in aus_auditsys()
3217 STRUCT_SIZE(ainfo))) { in aus_auditsys()
3468 bzero((caddr_t)STRUCT_BUF(mc), STRUCT_SIZE(mc)); in aus_modctl()
3471 STRUCT_SIZE(mc)) != 0) in aus_modctl()
3502 STRUCT_SIZE(alias)); in aus_modctl()
[all …]
/titanic_41/usr/src/uts/common/io/ppm/
H A Dppm.c468 STRUCT_SIZE(dpwr), mode); in ppm_ioctl()
527 STRUCT_SIZE(dpwr), mode); in ppm_ioctl()
547 STRUCT_SIZE(bydev), mode); in ppm_ioctl()
599 STRUCT_SIZE(bydom), mode); in ppm_ioctl()
688 STRUCT_SIZE(norm), mode); in ppm_ioctl()
730 STRUCT_SIZE(norm), mode); in ppm_ioctl()
/titanic_41/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c371 if (copyin(sh_in, STRUCT_BUF(u_sh), STRUCT_SIZE(u_sh))) { in sharefs_impl()
/titanic_41/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c1560 if (copyin(dp, STRUCT_BUF(tagdesc), STRUCT_SIZE(tagdesc))) { in mntioctl()
1627 STRUCT_SIZE(embuf))) { in mntioctl()
1818 STRUCT_SIZE(embuf))) { in mntioctl()

12