/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | lldiv.c | 42 lldiv_t sd; local 44 sd.quot = numer / denom; 45 sd.rem = numer % denom; 46 return (sd);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_qinfo_sec.c | 39 smb_sd_t sd; local 63 status = smb_sd_read(sr, &sd, secinfo); 67 sdlen = smb_sd_len(&sd, secinfo); 88 smb_encode_sd(&sr->raw_data, &sd, secinfo); 92 smb_sd_term(&sd);
|
H A D | smb2_setinfo_sec.c | 39 smb_sd_t sd; local 67 status = smb_decode_sd(&si->si_data, &sd); 71 if (((secinfo & SMB_OWNER_SECINFO) && (sd.sd_owner == NULL)) || 72 ((secinfo & SMB_GROUP_SECINFO) && (sd.sd_group == NULL))) 76 status = smb_sd_write(sr, &sd, secinfo); 78 smb_sd_term(&sd);
|
H A D | smb_nt_transact_create.c | 62 smb_sd_t sd; local 105 status = smb_decode_sd(&xa->req_data_mb, &sd); 110 op->sd = kmem_alloc(sizeof (smb_sd_t), KM_SLEEP); 111 *op->sd = sd; 113 op->sd = NULL; 125 smb_sd_t *sd = sr->arg.open.sd; local 130 if (sd) { 131 smb_sd_term(sd); [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_resync.c | 82 md_set_desc *sd; local 94 if ((sd = metaget_setdesc(sp, ep)) == NULL) 98 if (!(MD_MNSET_DESC(sd)))
|
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | bindresvport.c | 38 bindresvport(int sd, struct sockaddr_in *sin) argument 67 res = bind(sd, sin, sizeof(struct sockaddr_in));
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | acl_print.c | 108 smbfs_acl_print_sd(FILE *fp, i_ntsd_t *sd) argument 112 sd->sd_revision, sd->sd_flags); 114 fprint_sid(fp, sd->sd_owner); 116 fprint_sid(fp, sd->sd_group); 118 fprint_ntacl(fp, sd->sd_sacl); 120 fprint_ntacl(fp, sd->sd_dacl);
|
H A D | acl_api.c | 171 smbfs_acl_setsd(int fd, uint32_t selector, i_ntsd_t *sd) argument 186 error = mb_put_ntsd(mbp, sd); 209 i_ntsd_t *sd = NULL; local 236 error = smbfs_acl_getsd(fd, selector, &sd); 239 /* Note: sd now holds allocated data. */ 252 error = smbfs_acl_sd2zfs(sd, acl, uidp, gidp); 265 smbfs_acl_free_sd(sd); 278 i_ntsd_t *sd = NULL; local 315 * Returns allocated data in sd 317 error = smbfs_acl_zfs2sd(acl, uid, gid, selector, &sd); [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | bindresvport.c | 55 bindresvport(int sd, struct sockaddr_in *sin) argument 74 if (getsockopt(sd, SOL_SOCKET, SO_TYPE, &optval, &len) < 0) { 93 if (setsockopt(sd, level, optname, &optval, sizeof (optval)) < 0) { 98 ret = bind(sd, (struct sockaddr *)bindaddr, 107 (void) setsockopt(sd, level, optname, &optval, sizeof (optval)); 124 (void) getsockname(sd, (struct sockaddr *)bindaddr, &len);
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/lsacl/ |
H A D | lsacl.c | 98 struct i_ntsd *sd; local 111 error = smbfs_acl_getsd(fd, selector, &sd); 128 smbfs_acl_print_sd(stdout, sd); 136 error = smbfs_acl_sd2zfs(sd, acl, &uid, &gid); 142 smbfs_acl_free_sd(sd);
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | medstat.c | 60 md_set_desc *sd; local 128 if ((sd = metaget_setdesc(sp, ep)) == NULL) { 133 if (sd->sd_med.n_cnt == 0) { 147 if (sd->sd_med.n_lst[i].a_cnt == 0) 152 mdh = sd->sd_med.n_lst[i]; 156 sd->sd_med.n_lst[i].a_nm[0]); 201 if (medok < ((sd->sd_med.n_cnt / 2) + 1))
|
H A D | metadevadm.c | 68 md_set_desc *sd; local 143 if ((sd = metaget_setdesc(sp, ep)) == NULL) { 148 if (MD_MNSET_DESC(sd)) {
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/chacl/ |
H A D | chacl.c | 163 struct i_ntsd *sd = NULL; local 197 error = smbfs_acl_zfs2sd(acl, uid, gid, selector, &sd); 224 smbfs_acl_print_sd(stdout, sd); 228 error = smbfs_acl_setsd(fd, selector, sd); 237 smbfs_acl_free_sd(sd);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | sym.c | 76 symmetric_device_probe(struct scsi_device *sd, struct scsi_inquiry *stdinq, argument 111 symmetric_device_unprobe(struct scsi_device *sd, void *ctpriv) argument 120 symmetric_path_activate(struct scsi_device *sd, char *pathclass, void *ctpriv) argument 127 symmetric_path_deactivate(struct scsi_device *sd, char *pathclass, argument 135 symmetric_path_get_opinfo(struct scsi_device *sd, argument 152 symmetric_path_ping(struct scsi_device *sd, void *ctpriv) argument 159 symmetric_analyze_sense(struct scsi_device *sd, argument
|
H A D | tape.c | 57 tape_device_probe(struct scsi_device *sd, struct scsi_inquiry *inquiry, argument 122 (mdi_set_lb_policy(sd->sd_dev, LOAD_BALANCE_NONE) != 135 tape_device_unprobe(struct scsi_device *sd, void *ctpriv) argument 145 tape_path_activate(struct scsi_device *sd, char *pathclass, void *ctpriv) argument 152 tape_path_deactivate(struct scsi_device *sd, char *pathclass, void *ctpriv) argument 159 tape_path_get_opinfo(struct scsi_device *sd, struct scsi_path_opinfo *opinfo, argument 176 tape_path_ping(struct scsi_device *sd, void *ctpriv) argument 183 tape_analyze_sense(struct scsi_device *sd, uint8_t *sense, argument
|
H A D | tpgs_tape.c | 43 static int tpgs_tape_device_probe(struct scsi_device *sd, 96 tpgs_tape_device_probe(struct scsi_device *sd, struct scsi_inquiry *inq, argument 118 } else if (vhci_tpgs_get_target_fo_mode(sd, &mode, &state, &xlf, 121 "mode: sd(%p)", (void *) sd)); 155 (mdi_set_lb_policy(sd->sd_dev, LOAD_BALANCE_NONE) !=
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_fm.c | 50 scsi_fm_init(struct scsi_device *sd) argument 52 dev_info_t *dip = sd->sd_dev; 61 sd->sd_fm_capable = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 73 if (sd->sd_fm_capable != DDI_FM_NOT_CAPABLE) 74 ddi_fm_init(dip, &sd->sd_fm_capable, NULL); 81 scsi_fm_fini(struct scsi_device *sd) argument 83 dev_info_t *dip = sd->sd_dev; 85 if (sd->sd_fm_capable != DDI_FM_NOT_CAPABLE) 94 scsi_fm_ereport_post(struct scsi_device *sd, int path_instance, argument 99 dev_info_t *dip = sd [all...] |
/illumos-gate/usr/src/lib/libc/i386/fp/ |
H A D | _X_cplx_div_ix.c | 100 long double c, d, sc, sd, r; local 159 sd = d * scl[ew + 4].e; 160 r = sc * sc + sd * sd; 183 sd = scl[3].e; 186 sd = scl[5].e; 189 d *= sd;
|
H A D | _X_cplx_div_rx.c | 100 long double c, d, sc, sd, r; local 159 sd = d * scl[ew + 4].e; 160 r = sc * sc + sd * sd; 183 sd = scl[3].e; 186 sd = scl[5].e; 189 d *= sd;
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _D_cplx_div_ix.c | 102 double c, d, sc, sd, r; local 176 sd = d * scl[hw + 4].d; 177 r = sc * sc + sd * sd; 200 sd = scl[3].d; 203 sd = scl[5].d; 206 d *= sd;
|
H A D | _D_cplx_div_rx.c | 102 double c, d, sc, sd, r; local 176 sd = d * scl[hw + 4].d; 177 r = sc * sc + sd * sd; 200 sd = scl[3].d; 203 sd = scl[5].d; 206 d *= sd;
|
H A D | _Q_cplx_div_ix.c | 94 long double b, c, d, sc, sd, r; local 156 sd = d; 158 _Q_scl(&sd, -hw); 159 r = sc * sc + sd * sd;
|
H A D | _Q_cplx_div_rx.c | 94 long double a, c, d, sc, sd, r; local 156 sd = d; 158 _Q_scl(&sd, -hw); 159 r = sc * sc + sd * sd;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_strio.c | 51 str_data_t *sd = io->io_data; local 52 size_t left = sd->str_base + sd->str_len - sd->str_ptr; 56 (void) strncpy(buf, sd->str_ptr, obytes); 57 sd->str_ptr += obytes; 67 str_data_t *sd = io->io_data; local 75 nptr = sd->str_base + offset; 78 nptr = sd->str_ptr + offset; 81 nptr = sd 97 str_data_t *sd = io->io_data; local 130 str_data_t *sd = mdb_alloc(sizeof (str_data_t), UM_SLEEP); local [all...] |
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem_read.c | 130 seeprom_seg_sd_t *sd; local 133 if (seridsz < sizeof (sd->seesd_sun_sno) + 1) 136 if ((sd = seeprom_seg_lookup(buf, bufsz, "SD", &segsz)) == NULL) 142 bcopy(sd->seesd_sun_sno, serid, sizeof (sd->seesd_sun_sno)); 143 serid[sizeof (sd->seesd_sun_sno)] = '\0';
|