| /illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/ |
| H A D | fcoet_eth.c | 220 * sol ct rsp 471 mod_hash_val_t val = NULL; local 474 (mod_hash_key_t)(intptr_t)xch->xch_rxid, &val) == 0) { 482 ASSERT((fcoet_exchange_t *)val == xch); 495 mod_hash_val_t val = NULL; local 499 (mod_hash_key_t)(intptr_t)xch->xch_oxid, &val); 500 ASSERT((fcoet_exchange_t *)val == xch); 848 fct_sol_ct_t *ct = NULL; local 868 ct = CMD2CT(xch->xch_cmd); 869 ct [all...] |
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | schedctl.c | 232 schedctl_fork(kthread_t *pt, kthread_t *ct) argument 235 proc_t *cp = ttoproc(ct); 238 ASSERT(ct->t_schedctl == NULL); 272 schedctl_set_nopreempt(kthread_t *t, short val) argument 275 t->t_schedctl->sc_preemptctl.sc_nopreempt = val; 287 schedctl_set_yield(kthread_t *t, short val) argument 290 t->t_schedctl->sc_preemptctl.sc_yield = val;
|
| H A D | lwp.c | 1803 kthread_t *ct; local 1808 int val; local 1832 ct = clwp->lwp_thread; 1846 init_mstate(ct, LMS_STOPPED); 1859 clwp->lwp_thread = ct; 1860 ct->t_sysnum = t->t_sysnum; 1877 forkctx(t, ct); 1881 door_fork(t, ct); 1889 ct->t_proc_flag &= ~TP_HOLDLWP; 1891 ct [all...] |
| /illumos-gate/usr/src/cmd/localedef/ |
| H A D | ctype.c | 156 add_ctype(int val) argument 160 if ((ctn = get_ctype(val)) == NULL) { 233 add_caseconv(int val, int wc) argument 237 ctn = get_ctype(val); 262 _FileRuneEntry *ct = NULL; local 379 ct[rl.runetype_ext_nranges-1].max = wc; 383 ct = realloc(ct, 384 sizeof (*ct) * rl.runetype_ext_nranges); 385 ct[r [all...] |
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
| H A D | piclenvd.c | 525 struct timeval ct; local 561 (void) gettimeofday(&ct, NULL); 562 if ((ct.tv_sec - sensorp->warning_tstamp) >= 568 sensorp->warning_tstamp = ct.tv_sec; 573 (void) gettimeofday(&ct, NULL); 575 sensorp->shutdown_tstamp = ct.tv_sec; 582 if ((ct.tv_sec - sensorp->shutdown_tstamp) >= 617 struct timeval ct; local 630 (void) gettimeofday(&ct, NULL); 647 to.tv_sec = ct 790 int line, len, val, toklen; local [all...] |
| /illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
| H A D | fcoei_lv.c | 101 fcoei_xch_abort(mod_hash_key_t key, mod_hash_val_t *val, void *arg); 839 fc_ct_header_t *ct = (fc_ct_header_t *)(void *)fpkt->pkt_cmd; local 878 FCOE_V2B_1(ct->ct_rev, FPLD + offset); 881 FCOE_V2B_3(ct->ct_inid, FPLD + offset); 884 FCOE_V2B_1(ct->ct_fcstype, FPLD + offset); 887 FCOE_V2B_1(ct->ct_fcssubtype, FPLD + offset); 890 FCOE_V2B_1(ct->ct_options, FPLD + offset); 893 FCOE_V2B_2(ct->ct_cmdrsp, FPLD + offset); 896 FCOE_V2B_2(ct->ct_aiusize, FPLD + offset); 899 FCOE_V2B_1(ct 1919 fcoei_xch_abort(mod_hash_key_t key, mod_hash_val_t *val, void *arg) argument [all...] |
| /illumos-gate/usr/src/uts/common/fs/fifofs/ |
| H A D | fifovnops.c | 222 fifo_open(vnode_t **vpp, int flag, cred_t *crp, caller_context_t *ct) argument 366 (void) fifo_close(*vpp, flag, 1, 0, crp, ct); 386 (void) fifo_close(*vpp, flag, 1, 0, crp, ct); 404 (void) fifo_close(*vpp, flag, 1, 0, crp, ct); 438 caller_context_t *ct) 659 caller_context_t *ct) 845 caller_context_t *ct) 1116 cred_t *cr, int *rvalp, caller_context_t *ct) 1444 caller_context_t *ct) 1456 if (error = VOP_GETATTR(fnp->fn_realvp, vap, flags, crp, ct)) 437 fifo_close(vnode_t *vp, int flag, int count, offset_t offset, cred_t *crp, caller_context_t *ct) argument 658 fifo_read(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *crp, caller_context_t *ct) argument 844 fifo_write(vnode_t *vp, uio_t *uiop, int ioflag, cred_t *crp, caller_context_t *ct) argument 1115 fifo_ioctl(vnode_t *vp, int cmd, intptr_t arg, int mode, cred_t *cr, int *rvalp, caller_context_t *ct) argument 1443 fifo_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *crp, caller_context_t *ct) argument 1551 fifo_access(vnode_t *vp, int mode, int flags, cred_t *crp, caller_context_t *ct) argument 1565 fifo_create(struct vnode *dvp, char *name, vattr_t *vap, enum vcexcl excl, int mode, struct vnode **vpp, struct cred *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument 1586 fifo_fsync(vnode_t *vp, int syncflag, cred_t *crp, caller_context_t *ct) argument 1617 fifo_inactive(vnode_t *vp, cred_t *crp, caller_context_t *ct) argument 1702 fifo_fid(vnode_t *vp, fid_t *fidfnp, caller_context_t *ct) argument 1734 fifo_seek(vnode_t *vp, offset_t ooff, offset_t *noffp, caller_context_t *ct) argument 1743 fifo_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument 1762 fifo_poll(vnode_t *vp, short events, int anyyet, short *reventsp, pollhead_t **phpp, caller_context_t *ct) argument 1875 fifo_pathconf(vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, caller_context_t *ct) argument 1878 ulong_t val; local 1949 fifo_setsecattr(struct vnode *vp, vsecattr_t *vsap, int flag, struct cred *crp, caller_context_t *ct) argument 1974 fifo_getsecattr(struct vnode *vp, vsecattr_t *vsap, int flag, struct cred *crp, caller_context_t *ct) argument [all...] |
| /illumos-gate/usr/src/uts/common/fs/dev/ |
| H A D | sdev_zvolops.c | 347 long val = 0; local 354 rc = ddi_strtol(ptr, NULL, 10, &val); 356 ASSERT(rc == 0 && val != 0); 357 lminor = (minor_t)val; 695 caller_context_t *ct, int *direntflags, pathname_t *realpnp) 706 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) 817 caller_context_t *ct, vsecattr_t *vsecp) 824 error = devzvol_lookup(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, 832 error = VOP_ACCESS(vp, mode, 0, cred, ct); 693 devzvol_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, struct pathname *pnp, int flags, struct vnode *rdir, struct cred *cred, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument 815 devzvol_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, int mode, struct vnode **vpp, struct cred *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
|
| /illumos-gate/usr/src/cmd/svc/svcadm/ |
| H A D | svcadm.c | 247 scf_value_t *val; local 251 (val = scf_value_create(h)) == NULL) 274 if (scf_property_get_value(prop, val) == 0) { 300 if (scf_value_get_boolean(val, bp) != 0) { 309 scf_value_destroy(val); 470 ctid_t ct; local 473 if ((ct = getctid()) == -1) 476 fd = contract_open(ct, "process", "status", O_RDONLY); 480 "%ld: %s.\n"), ct, strerror(errno)); 484 "%ld: %s.\n"), ct, strerro 1492 scf_value_t *val; local 1567 scf_value_t *val; local [all...] |
| /illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
| H A D | fake_vop.c | 60 caller_context_t *ct) 83 caller_context_t *ct) 112 caller_context_t *ct) 167 caller_context_t *ct) 215 caller_context_t *ct) 227 caller_context_t *ct) 240 caller_context_t *ct) 262 caller_context_t *ct) 303 caller_context_t *ct) 318 caller_context_t *ct, 56 fop_open( vnode_t **vpp, int mode, cred_t *cr, caller_context_t *ct) argument 77 fop_close( vnode_t *vp, int flag, int count, offset_t offset, cred_t *cr, caller_context_t *ct) argument 107 fop_read( vnode_t *vp, uio_t *uio, int ioflag, cred_t *cr, caller_context_t *ct) argument 162 fop_write( vnode_t *vp, uio_t *uio, int ioflag, cred_t *cr, caller_context_t *ct) argument 208 fop_ioctl( vnode_t *vp, int cmd, intptr_t arg, int flag, cred_t *cr, int *rvalp, caller_context_t *ct) argument 222 fop_setfl( vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument 235 fop_getattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument 257 fop_setattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument 298 fop_access( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 310 fop_lookup( vnode_t *dvp, char *name, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *deflags, pathname_t *ppnp) argument 376 fop_create( vnode_t *dvp, char *name, vattr_t *vap, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flags, caller_context_t *ct, vsecattr_t *vsecp) argument 462 fop_remove( vnode_t *dvp, char *name, cred_t *cr, caller_context_t *ct, int flags) argument 478 fop_link( vnode_t *to_dvp, vnode_t *fr_vp, char *to_name, cred_t *cr, caller_context_t *ct, int flags) argument 502 fop_rename( vnode_t *from_dvp, char *from_name, vnode_t *to_dvp, char *to_name, cred_t *cr, caller_context_t *ct, int flags) argument 536 fop_mkdir( vnode_t *dvp, char *name, vattr_t *vap, vnode_t **vpp, cred_t *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument 574 fop_rmdir( vnode_t *dvp, char *name, vnode_t *cdir, cred_t *cr, caller_context_t *ct, int flags) argument 591 fop_readdir( vnode_t *vp, uio_t *uiop, cred_t *cr, int *eofp, caller_context_t *ct, int flags) argument 639 fop_symlink( vnode_t *dvp, char *linkname, vattr_t *vap, char *target, cred_t *cr, caller_context_t *ct, int flags) argument 653 fop_readlink( vnode_t *vp, uio_t *uiop, cred_t *cr, caller_context_t *ct) argument 664 fop_fsync( vnode_t *vp, int syncflag, cred_t *cr, caller_context_t *ct) argument 679 fop_inactive( vnode_t *vp, cred_t *cr, caller_context_t *ct) argument 689 fop_fid( vnode_t *vp, fid_t *fidp, caller_context_t *ct) argument 699 fop_rwlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument 710 fop_rwunlock( vnode_t *vp, int write_lock, caller_context_t *ct) argument 720 fop_seek( vnode_t *vp, offset_t ooff, offset_t *noffp, caller_context_t *ct) argument 731 fop_cmp( vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument 742 fop_frlock( vnode_t *vp, int cmd, flock64_t *bfp, int flag, offset_t offset, struct flk_callback *flk_cbp, cred_t *cr, caller_context_t *ct) argument 772 fop_space( vnode_t *vp, int cmd, flock64_t *bfp, int flag, offset_t offset, cred_t *cr, caller_context_t *ct) argument 799 fop_realvp( vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument 809 fop_getpage( vnode_t *vp, offset_t off, size_t len, uint_t *protp, struct page **plarr, size_t plsz, struct seg *seg, caddr_t addr, enum seg_rw rw, cred_t *cr, caller_context_t *ct) argument 827 fop_putpage( vnode_t *vp, offset_t off, size_t len, int flags, cred_t *cr, caller_context_t *ct) argument 840 fop_map( vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 857 fop_addmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 874 fop_delmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 891 fop_poll( vnode_t *vp, short events, int anyyet, short *reventsp, struct pollhead **phpp, caller_context_t *ct) argument 917 fop_dump( vnode_t *vp, caddr_t addr, offset_t lbdn, offset_t dblks, caller_context_t *ct) argument 932 fop_pathconf( vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, caller_context_t *ct) argument 939 register ulong_t val; local 1014 fop_pageio( vnode_t *vp, struct page *pp, u_offset_t io_off, size_t io_len, int flags, cred_t *cr, caller_context_t *ct) argument 1028 fop_dumpctl( vnode_t *vp, int action, offset_t *blkp, caller_context_t *ct) argument 1039 fop_dispose( vnode_t *vp, struct page *pp, int flag, int dn, cred_t *cr, caller_context_t *ct) argument 1051 fop_setsecattr( vnode_t *vp, vsecattr_t *vsap, int flag, cred_t *cr, caller_context_t *ct) argument 1066 fop_getsecattr( vnode_t *vp, vsecattr_t *vsecattr, int flag, cred_t *cr, caller_context_t *ct) argument 1112 fop_shrlock( vnode_t *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, caller_context_t *ct) argument 1141 fop_vnevent(vnode_t *vp, vnevent_t vnevent, vnode_t *dvp, char *fnm, caller_context_t *ct) argument 1149 fop_reqzcbuf(vnode_t *vp, enum uio_rw ioflag, xuio_t *uiop, cred_t *cr, caller_context_t *ct) argument 1157 fop_retzcbuf(vnode_t *vp, xuio_t *uiop, cred_t *cr, caller_context_t *ct) argument [all...] |
| /illumos-gate/usr/src/uts/common/fs/ |
| H A D | fs_subr.c | 125 caller_context_t *ct) 141 caller_context_t *ct) 153 caller_context_t *ct) 175 fs_fsync(vnode_t *vp, int syncflag, cred_t *cr, caller_context_t *ct) argument 223 fs_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument 233 fs_seek(vnode_t *vp, offset_t ooff, offset_t *noffp, caller_context_t *ct) argument 245 caller_context_t *ct) 424 caller_context_t *ct) 442 caller_context_t *ct) 469 caller_context_t *ct) 116 fs_nosys_map(struct vnode *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument 132 fs_nosys_addmap(struct vnode *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument 148 fs_nosys_poll(vnode_t *vp, register short events, int anyyet, register short *reventsp, struct pollhead **phpp, caller_context_t *ct) argument 243 fs_frlock(register vnode_t *vp, int cmd, struct flock64 *bfp, int flag, offset_t offset, flk_callback_t *flk_cbp, cred_t *cr, caller_context_t *ct) argument 419 fs_setfl( vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) argument 437 fs_poll(vnode_t *vp, register short events, int anyyet, register short *reventsp, struct pollhead **phpp, caller_context_t *ct) argument 464 fs_pathconf( vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, caller_context_t *ct) argument 471 register ulong_t val; local 571 fs_dispose( struct vnode *vp, page_t *pp, int fl, int dn, struct cred *cr, caller_context_t *ct) argument 590 fs_nodispose( struct vnode *vp, page_t *pp, int fl, int dn, struct cred *cr, caller_context_t *ct) argument 606 fs_fab_acl( vnode_t *vp, vsecattr_t *vsecattr, int flag, cred_t *cr, caller_context_t *ct) argument 667 fs_shrlock( struct vnode *vp, int cmd, struct shrlock *shr, int flag, cred_t *cr, caller_context_t *ct) argument 737 fs_vnevent_nosupport(vnode_t *vp, vnevent_t e, vnode_t *dvp, char *fnm, caller_context_t *ct) argument 746 fs_vnevent_support(vnode_t *vp, vnevent_t e, vnode_t *dvp, char *fnm, caller_context_t *ct) argument [all...] |
| H A D | xattr.c | 139 xattr_file_open(vnode_t **vpp, int flags, cred_t *cr, caller_context_t *ct) argument 152 caller_context_t *ct) 165 cred_t *cr, caller_context_t *ct) 173 xattr_common_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) argument 196 error = VOP_FID(pvp, fidp, ct); 212 cred_t *cr, caller_context_t *ct) 290 fsid = (((uint64_t)vp->v_vfsp->vfs_fsid.val[0] << 32) | 291 (uint64_t)(vp->v_vfsp->vfs_fsid.val[1] & 313 error = VOP_GETATTR(ppvp, &xvattr.xva_vattr, 0, cr, ct); 459 cred_t *cr, caller_context_t *ct) 151 xattr_file_access(vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 164 xattr_file_close(vnode_t *vp, int flags, int count, offset_t off, cred_t *cr, caller_context_t *ct) argument 211 xattr_fill_nvlist(vnode_t *vp, xattr_view_t xattr_view, nvlist_t *nvlp, cred_t *cr, caller_context_t *ct) argument 458 xattr_file_size(vnode_t *vp, xattr_view_t xattr_view, size_t *size, cred_t *cr, caller_context_t *ct) argument 479 xattr_file_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument 519 xattr_file_read(vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, caller_context_t *ct) argument 565 xattr_file_write(vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, caller_context_t *ct) argument 810 xattr_file_pathconf(vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, caller_context_t *ct) argument 909 xattr_copy(vnode_t *sdvp, char *snm, vnode_t *tdvp, char *tnm, cred_t *cr, caller_context_t *ct) argument 956 xattr_dir_realdir(vnode_t *gfs_dvp, vnode_t **ret_vpp, int flags, cred_t *cr, caller_context_t *ct) argument 1021 xattr_dir_open(vnode_t **vpp, int flags, cred_t *cr, caller_context_t *ct) argument 1047 xattr_dir_close(vnode_t *vp, int flags, int count, offset_t off, cred_t *cr, caller_context_t *ct) argument 1079 xattr_dir_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument 1144 xattr_dir_setattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument 1167 xattr_dir_access(vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 1192 xattr_dir_create(vnode_t *dvp, char *name, vattr_t *vap, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument 1218 xattr_dir_remove(vnode_t *dvp, char *name, cred_t *cr, caller_context_t *ct, int flags) argument 1236 xattr_dir_link(vnode_t *tdvp, vnode_t *svp, char *name, cred_t *cr, caller_context_t *ct, int flags) argument 1254 xattr_dir_rename(vnode_t *sdvp, char *snm, vnode_t *tdvp, char *tnm, cred_t *cr, caller_context_t *ct, int flags) argument 1303 readdir_xattr_casecmp(vnode_t *dvp, char *nm, cred_t *cr, caller_context_t *ct, int *eflags) argument 1329 xattr_dir_readdir(vnode_t *dvp, uio_t *uiop, cred_t *cr, int *eofp, caller_context_t *ct, int flags) argument 1449 xattr_dir_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) argument 1471 xattr_dir_pathconf(vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr, caller_context_t *ct) argument 1487 xattr_dir_realvp(vnode_t *vp, vnode_t **realvp, caller_context_t *ct) argument 1609 ulong_t val; local [all...] |
| H A D | vfs.c | 2792 caller_context_t *ct) 2800 caller_context_t *ct) 2812 caller_context_t *ct) 3359 vfs_make_fsid(fsid_t *fsi, dev_t dev, int val) argument 3361 if (!cmpldev((dev32_t *)&fsi->val[0], dev)) 3363 fsi->val[1] = val; 3453 dev = expldev(vfsp->vfs_fsid.val[0]); 3492 dev = expldev(vfsp->vfs_fsid.val[0]); 3679 int val0 = fsid->val[ 2791 vfs_mntdummyread(vnode_t *vp, uio_t *uio, int ioflag, cred_t *cred, caller_context_t *ct) argument 2799 vfs_mntdummywrite(vnode_t *vp, uio_t *uio, int ioflag, cred_t *cred, caller_context_t *ct) argument 2811 vfs_mntdummygetattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument [all...] |
| /illumos-gate/usr/src/cmd/cron/ |
| H A D | at.c | 167 struct tm *ct; local 345 if ((ct = getdate(argpbuf)) == NULL) 348 when = mktime(ct); 579 char *val; local 616 } else if (((Shell = val = getenv("SHELL")) != NULL) && 617 (*val != '\0')) { 619 if ((strstr(val, "/sh") != NULL) || 620 (strstr(val, "/ksh") != NULL)) 654 if ((val = strchr(*ep, '=')) == NULL) 656 *val [all...] |
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
| H A D | piclenvd.c | 472 * 'tbl' specifies the table to use, 'val' specifies the 'x', returns 'y' 1636 time_t ct; local 1689 ct = (time_t)(gethrtime() / NANOSEC); 1690 if ((ct - sensorp->warning_tstamp) >= 1697 sensorp->warning_tstamp = ct; 1713 ct = (time_t)(gethrtime() / NANOSEC); 1715 sensorp->shutdown_tstamp = ct; 1716 if ((ct - sensorp->shutdown_tstamp) >= 2053 time_t ct; local 2151 ct 2407 int fd, val; local 2491 int fd, val; local 2575 int fd, val; local 2653 int fd, val; local [all...] |
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
| H A D | piclenvd.c | 535 * 'tbl' specifies the table to use, 'val' specifies the 'x', returns 'y' 1797 time_t ct; local 1843 ct = (time_t)(gethrtime() / NANOSEC); 1845 sensorp->warning_start = ct; 1846 if (((ct - sensorp->warning_start) >= 1848 (ct - wtstamp) >= warning_interval)) { 1853 sensorp->warning_tstamp = ct; 1860 ct = (time_t)(gethrtime() / NANOSEC); 1862 sensorp->shutdown_tstamp = ct; 1869 if ((ct 2299 long val; local 2400 long val; local 2586 int val; local [all...] |
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
| H A D | piclenvd.c | 334 * 'tbl' specifies the table to use, 'val' specifies the 'x', returns 'y' 1271 time_t ct; local 1318 ct = (time_t)(gethrtime() / NANOSEC); 1319 if ((ct - sensorp->warning_tstamp) >= 1326 sensorp->warning_tstamp = ct; 1342 ct = (time_t)(gethrtime() / NANOSEC); 1344 sensorp->shutdown_tstamp = ct; 1345 if ((ct - sensorp->shutdown_tstamp) >= 1664 int fd, val; local 1687 (void) memcpy(&val, (caddr_ 1746 int fd, val; local [all...] |
| /illumos-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs3_srv.c | 164 caller_context_t ct; local 253 ct.cc_sysid = 0; 254 ct.cc_pid = 0; 255 ct.cc_caller_id = nfs3_srv_caller_id; 256 ct.cc_flags = CC_DONTBLOCK; 303 (offset_t)ava.va_size, cr, &ct); 308 error = VOP_SETATTR(vp, &ava, flag, cr, &ct); 311 if (error == EAGAIN && (ct.cc_flags & CC_WOULDBLOCK)) { 322 (void) VOP_FSYNC(vp, FNODSYNC, cr, &ct); 930 caller_context_t ct; local 1274 caller_context_t ct; local 3928 ulong_t val; local [all...] |
| /illumos-gate/usr/src/uts/common/fs/doorfs/ |
| H A D | door_sys.c | 507 door_client_t *ct; /* curthread door_data */ local 523 ct = door_my_client(1); 530 if (copyin(args, &ct->d_args, sizeof (door_arg_t)) != 0) 537 ct->d_args.data_ptr = 539 ct->d_args.data_size = da32.data_size; 540 ct->d_args.desc_ptr = 542 ct->d_args.desc_num = da32.desc_num; 543 ct->d_args.rbuf = 545 ct->d_args.rsize = da32.rsize; 549 ct 945 door_setparam_common(door_node_t *dp, int from_kernel, int type, size_t val) argument 1025 door_setparam(int did, int type, size_t val) argument 1047 size_t val = 0; local 1195 door_server_dispatch(door_client_t *ct, door_node_t *dp) argument 1366 door_client_t *ct; /* caller door_data */ local 1665 door_client_t *ct; local 1990 door_client_t *ct; local 2306 door_client_t *ct = DOOR_CLIENT(caller->t_door); local 2430 door_client_t *ct = DOOR_CLIENT(curthread->t_door); local 2588 door_client_t *ct = DOOR_CLIENT(curthread->t_door); local 2659 door_client_t *ct = DOOR_CLIENT(curthread->t_door); local 2729 door_client_t *ct = DOOR_CLIENT(caller->t_door); local 3092 door_client_t *ct; /* curthread door_data */ local 3539 door_ki_setparam(door_handle_t dh, int type, size_t val) argument [all...] |
| /illumos-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | fsys_zfs.c | 596 uint64_t *ct; local 599 for (ct = table + i, *ct = i, j = 8; j > 0; j--) 600 *ct = (*ct >> 1) ^ (-(*ct & 1) & 765 zap_lookup(dnode_phys_t *zap_dnode, const char *name, uint64_t *val, argument 783 return (mzap_lookup(zapbuf, size, name, val)); 787 val, stack)); 1350 nvpair_value(char *nvp, void *val, in argument 1409 nvlist_lookup_value(char *nvlist, char *name, void *val, int valtype, int *nelmp) argument [all...] |
| /illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
| H A D | zfssubr.c | 50 uint64_t *ct; local 59 for (ct = zfs_crc64_table + i, *ct = i, j = 8; j > 0; j--) 60 *ct = (*ct >> 1) ^ (-(*ct & 1) & ZFS_CRC64_POLY); 954 uint8_t log, val; local 1003 val = 0; 1007 val = vdev_raidz_pow2[ll]; 1011 dst[cc][x] = val; [all...] |
| /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
| H A D | commands.c | 557 register int val = 0; local 587 val = cpp - telopts; 592 val *= 10; 593 val += *cp - '0'; 601 } else if (val < 0 || val > 255) { 612 (*func)(val, 1); 666 togbinary(val) 667 int val; 671 if (val > 1051 struct setlist *ct; local 1131 struct setlist *ct; local [all...] |
| /illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
| H A D | qlt.c | 314 uint16_t val; local 445 val = 0; 447 val = 1; 449 val = 2; 451 val = 3; 460 mr = (uint16_t)(mr | (val << 2)); 465 val = 0; 467 val = 1; 469 val = 2; 471 val 2839 uint32_t val, *ptr; local 4350 fct_sol_ct_t *ct; local 4903 fct_sol_ct_t *ct; local 6168 int val; local [all...] |
| /illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
| H A D | fp.c | 7288 fc_port_dev_t *val; local 7302 if (fcio->fcio_olen != sizeof (*val) || 7309 val = kmem_zalloc(sizeof (*val), KM_SLEEP); 7312 val->dev_did = port->fp_port_id; 7313 val->dev_hard_addr = port->fp_hard_addr; 7314 val->dev_pwwn = port->fp_service_params.nport_ww_name; 7315 val->dev_nwwn = port->fp_service_params.node_ww_name; 7316 val->dev_state = port->fp_state; 7329 val 7418 fc_hba_adapter_attributes_t *val; local 7723 fc_hba_port_npiv_attributes_t *val; local 7760 fc_hba_port_attributes_t *val; local 7962 fc_hba_port_attributes_t *val; local 8105 fc_hba_port_attributes_t *val; local 12958 fc_ct_header_t ct; local [all...] |
| /illumos-gate/usr/src/uts/i86pc/os/ |
| H A D | cpuid.c | 3661 uint32_t val) 3670 (void) ndi_prop_update_int(DDI_DEV_T_NONE, devi, buf, val); 3819 find_cacheent(const struct cachetab *ct, uint_t code) argument 3822 for (; ct->ct_code != 0; ct++) 3823 if (ct->ct_code <= code) 3825 if (ct->ct_code == code) 3826 return (ct); 3838 intel_cpuid_4_cache_info(struct cachetab *ct, struct cpuid_info *cpi) argument 3847 ct 3660 add_cache_prop(dev_info_t *devi, const char *label, const char *type, uint32_t val) argument 3875 const struct cachetab *ct; local 3924 const struct cachetab *ct; local 3955 add_cacheent_props(void *arg, const struct cachetab *ct) argument 4455 intel_l2cinfo(void *arg, const struct cachetab *ct) argument [all...] |