/illumos-gate/usr/src/uts/common/syscall/ |
H A D | auditsys.c | 189 STRUCT_FSET(info, ai_auid, ainfo->ai_auid); in getaudit() 190 STRUCT_FSET(info, ai_mask, ainfo->ai_mask); in getaudit() 198 STRUCT_FSET(info, ai_termid.port, dev); in getaudit() 200 STRUCT_FSET(info, ai_termid.port, ainfo->ai_termid.at_port); in getaudit() 202 STRUCT_FSET(info, ai_termid.port, ainfo->ai_termid.at_port); in getaudit() 204 STRUCT_FSET(info, ai_termid.machine, ainfo->ai_termid.at_addr[0]); in getaudit() 205 STRUCT_FSET(info, ai_asid, ainfo->ai_asid); in getaudit() 238 STRUCT_FSET(info, ai_auid, ainfo->ai_auid); in getaudit_addr() 239 STRUCT_FSET(info, ai_mask, ainfo->ai_mask); in getaudit_addr() 247 STRUCT_FSET(info, ai_termid.at_port, dev); in getaudit_addr() [all …]
|
H A D | sem.c | 427 STRUCT_FSET(sid, sem_nsems, sp->sem_nsems); in semctl() 428 STRUCT_FSET(sid, sem_otime, sp->sem_otime); in semctl() 429 STRUCT_FSET(sid, sem_ctime, sp->sem_ctime); in semctl() 430 STRUCT_FSET(sid, sem_binary, sp->sem_binary); in semctl()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpuid_drv.c | 170 STRUCT_FSET(h, cgh_hwcap[0], auxv_hwcap); in cpuid_ioctl() 171 STRUCT_FSET(h, cgh_hwcap[1], auxv_hwcap_2); in cpuid_ioctl() 172 STRUCT_FSET(h, cgh_hwcap[2], auxv_hwcap_3); in cpuid_ioctl() 175 STRUCT_FSET(h, cgh_hwcap[0], auxv_hwcap32); in cpuid_ioctl() 176 STRUCT_FSET(h, cgh_hwcap[1], auxv_hwcap32_2); in cpuid_ioctl() 177 STRUCT_FSET(h, cgh_hwcap[2], auxv_hwcap32_3); in cpuid_ioctl() 180 STRUCT_FSET(h, cgh_hwcap[0], 0); in cpuid_ioctl() 181 STRUCT_FSET(h, cgh_hwcap[1], 0); in cpuid_ioctl() 182 STRUCT_FSET(h, cgh_hwcap[2], 0); in cpuid_ioctl()
|
H A D | cons.c | 463 STRUCT_FSET(cnd, cnd_rconsdev, rconsdev32); in cnprivateioc() 465 STRUCT_FSET(cnd, cnd_rconsdev, rconsdev); in cnprivateioc()
|
H A D | timod.c | 2286 STRUCT_FSET(sb, len, 0); in ti_doname() 2295 STRUCT_FSET(sb, len, tp->tim_peerlen); in ti_doname() 2300 STRUCT_FSET(sb, len, 0); in ti_doname() 2309 STRUCT_FSET(sb, len, tp->tim_mylen); in ti_doname() 2322 STRUCT_FSET(sb, len, tp->tim_peerlen); in ti_doname() 2324 STRUCT_FSET(sb, len, tp->tim_mylen); in ti_doname() 2357 STRUCT_FSET(sb, len, 0); in ti_doname() 2358 STRUCT_FSET(sb, maxlen, 0); /* ack next time around */ in ti_doname() 2393 STRUCT_FSET(sb, len, 0); /* copy the strbuf next time around */ in ti_doname()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 976 STRUCT_FSET(get_number, pn_return_value, rv); in get_mechanism_number() 1012 STRUCT_FSET(get_list, ml_count, count); in get_mechanism_list() 1013 STRUCT_FSET(get_list, ml_return_value, CRYPTO_SUCCESS); in get_mechanism_list() 1017 STRUCT_FSET(get_list, ml_return_value, CRYPTO_BUFFER_TOO_SMALL); in get_mechanism_list() 1070 STRUCT_FSET(mi, mi_min_key_size, k_minfos[i].mi_min_key_size); in copyout_mechinfos() 1071 STRUCT_FSET(mi, mi_max_key_size, k_minfos[i].mi_max_key_size); in copyout_mechinfos() 1072 STRUCT_FSET(mi, mi_keysize_unit, k_minfos[i].mi_keysize_unit); in copyout_mechinfos() 1073 STRUCT_FSET(mi, mi_usage, k_minfos[i].mi_usage); in copyout_mechinfos() 1136 STRUCT_FSET(get_all_mech, mi_count, num_mech_infos); in get_all_mechanism_info() 1144 STRUCT_FSET(get_all_mech, mi_return_value, rv); in get_all_mechanism_info() [all …]
|
H A D | cryptoadm.c | 312 STRUCT_FSET(soft_list, sl_return_value, CRYPTO_FAILED); in get_soft_list() 322 STRUCT_FSET(soft_list, sl_soft_count, count); in get_soft_list() 323 STRUCT_FSET(soft_list, sl_soft_len, len); in get_soft_list() 324 STRUCT_FSET(soft_list, sl_return_value, in get_soft_list() 334 STRUCT_FSET(soft_list, sl_soft_count, count); in get_soft_list() 335 STRUCT_FSET(soft_list, sl_soft_len, len); in get_soft_list() 336 STRUCT_FSET(soft_list, sl_return_value, CRYPTO_SUCCESS); in get_soft_list()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | contract.c | 993 STRUCT_FSET(lstatus, ctst_zoneid, zoneid); in contract_status_common() 994 STRUCT_FSET(lstatus, ctst_holder, in contract_status_common() 997 STRUCT_FSET(lstatus, ctst_state, ct->ct_state); in contract_status_common() 1005 STRUCT_FSET(lstatus, ctst_zoneid, zone->zone_id); in contract_status_common() 1010 STRUCT_FSET(lstatus, ctst_holder, (ct->ct_state < CTS_ORPHAN) ? in contract_status_common() 1012 STRUCT_FSET(lstatus, ctst_state, (ct->ct_state < CTS_ORPHAN) ? in contract_status_common() 1015 STRUCT_FSET(lstatus, ctst_nevents, ct->ct_evcnt); in contract_status_common() 1016 STRUCT_FSET(lstatus, ctst_ntime, get_time_left(&ct->ct_ntime)); in contract_status_common() 1017 STRUCT_FSET(lstatus, ctst_qtime, get_time_left(&ct->ct_qtime)); in contract_status_common() 1018 STRUCT_FSET(lstatus, ctst_nevid, in contract_status_common() [all …]
|
H A D | msg.c | 506 STRUCT_FSET(ds, msg_cbytes, qp->msg_cbytes); in msgctl() 507 STRUCT_FSET(ds, msg_qnum, qp->msg_qnum); in msgctl() 508 STRUCT_FSET(ds, msg_qbytes, qp->msg_qbytes); in msgctl() 509 STRUCT_FSET(ds, msg_lspid, qp->msg_lspid); in msgctl() 510 STRUCT_FSET(ds, msg_lrpid, qp->msg_lrpid); in msgctl() 511 STRUCT_FSET(ds, msg_stime, qp->msg_stime); in msgctl() 512 STRUCT_FSET(ds, msg_rtime, qp->msg_rtime); in msgctl() 513 STRUCT_FSET(ds, msg_ctime, qp->msg_ctime); in msgctl() 1041 STRUCT_FSET(head, msgsnap_size, size); in msgsnap() 1042 STRUCT_FSET(head, msgsnap_nmsg, nmsg); in msgsnap() [all …]
|
H A D | shm.c | 674 STRUCT_FSET(ds, shm_segsz, sp->shm_segsz); in shmctl() 676 STRUCT_FSET(ds, shm_lkcnt, sp->shm_lkcnt); in shmctl() 677 STRUCT_FSET(ds, shm_lpid, sp->shm_lpid); in shmctl() 678 STRUCT_FSET(ds, shm_cpid, sp->shm_cpid); in shmctl() 679 STRUCT_FSET(ds, shm_nattch, nattch); in shmctl() 680 STRUCT_FSET(ds, shm_cnattch, sp->shm_ismattch); in shmctl() 681 STRUCT_FSET(ds, shm_atime, sp->shm_atime); in shmctl() 682 STRUCT_FSET(ds, shm_dtime, sp->shm_dtime); in shmctl() 683 STRUCT_FSET(ds, shm_ctime, sp->shm_ctime); in shmctl()
|
H A D | ipc.c | 550 STRUCT_FSET(lperm, uid, kperm->ipc_uid); in ipcperm_stat() 551 STRUCT_FSET(lperm, gid, kperm->ipc_gid); in ipcperm_stat() 552 STRUCT_FSET(lperm, cuid, kperm->ipc_cuid); in ipcperm_stat() 553 STRUCT_FSET(lperm, cgid, kperm->ipc_cgid); in ipcperm_stat() 554 STRUCT_FSET(lperm, mode, kperm->ipc_mode); in ipcperm_stat() 555 STRUCT_FSET(lperm, seq, 0); in ipcperm_stat() 556 STRUCT_FSET(lperm, key, kperm->ipc_key); in ipcperm_stat()
|
H A D | streamio.c | 5084 STRUCT_FSET(strpeek, flags, RS_HIPRI); in strioctl() 5086 STRUCT_FSET(strpeek, flags, 0); in strioctl() 5113 STRUCT_FSET(strpeek, ctlbuf.len, -1); in strioctl() 5115 STRUCT_FSET(strpeek, ctlbuf.len, 0); in strioctl() 5143 STRUCT_FSET(strpeek, ctlbuf.len, -1); in strioctl() 5145 STRUCT_FSET(strpeek, ctlbuf.len, in strioctl() 5156 STRUCT_FSET(strpeek, databuf.len, -1); in strioctl() 5158 STRUCT_FSET(strpeek, databuf.len, 0); in strioctl() 5185 STRUCT_FSET(strpeek, databuf.len, -1); in strioctl() 5187 STRUCT_FSET(strpeek, databuf.len, in strioctl() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | model.h | 132 #define STRUCT_FSET(handle, field, val) \ macro 182 #define STRUCT_FSET(handle, field, val) ((handle).ptr->field = (val)) macro 184 #define STRUCT_FSETP STRUCT_FSET
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | ucode_drv.c | 172 STRUCT_FSET(h, ugv_errno, rc); in ucode_ioctl() 226 STRUCT_FSET(h, uw_errno, rc); in ucode_ioctl() 239 STRUCT_FSET(h, uw_errno, rc); in ucode_ioctl()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rds_ioctl.c | 231 STRUCT_FSET(ifc, ifc_len, MBLKL(mp1)); in rds_ioctl_copyin_done() 260 STRUCT_FSET(sb, len, (int)sizeof (sin_t)); in rds_ioctl_copyin_done()
|
/illumos-gate/usr/src/uts/common/inet/ipd/ |
H A D | ipd.c | 832 STRUCT_FSET(h, ipil_nzones, rzones); in ipd_ioctl_list() 876 STRUCT_FSET(h, ipil_nzones, 0); in ipd_ioctl_list() 878 STRUCT_FSET(h, ipil_nzones, cur); in ipd_ioctl_list()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockparams.c | 859 STRUCT_FSET(st, num_of_entries, count); in sockparams_copyout_socktable() 899 STRUCT_FSET(st, num_of_entries, i); in sockparams_copyout_socktable()
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_ctl.c | 316 STRUCT_FSET(st, ctst_nbytes, len); in ctfs_stat_ioctl()
|
/illumos-gate/usr/src/uts/common/fs/fifofs/ |
H A D | fifovnops.c | 1269 STRUCT_FSET(strpeek, databuf.len, len); in fifo_fastioctl() 1292 STRUCT_FSET(strpeek, databuf.len, len - uio.uio_resid); in fifo_fastioctl() 1294 STRUCT_FSET(strpeek, flags, 0); in fifo_fastioctl() 1295 STRUCT_FSET(strpeek, ctlbuf.len, -1); in fifo_fastioctl()
|
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm.c | 525 STRUCT_FSET(dpwr, level, level); in ppm_ioctl() 728 STRUCT_FSET(norm, norm, level); in ppm_ioctl()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | rts.c | 1132 STRUCT_FSET(sb, len, (int)sizeof (sin_t)); in rts_wput_iocdata()
|
H A D | keysock.c | 952 STRUCT_FSET(sb, len, addrlen); in keysock_spdsock_wput_iocdata()
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksctp.c | 1611 STRUCT_FSET(opt, sopt_len, optlen); in sosctp_ioctl()
|
/illumos-gate/usr/src/man/man9f/ |
H A D | Makefile | 608 STRUCT_FSET.9f \ 1407 STRUCT_FSET.9f := LINKSRC = STRUCT_DECL.9f
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_disk.c | 3019 STRUCT_FSET(ds_arg, is_size, length); in ata_copy_dk_ioc_string()
|