/illumos-gate/usr/src/cmd/dc/ |
H A D | dc.c | 1322 while (ct > 1) { in add0() 1324 ct -= 2; in add0() 1331 if (ct == 1) { in add0() 1401 char ct; in chsign() local 1409 ct -= 100; in chsign() 1426 if (ct == 0) in chsign() 1559 ct = 0; in print() 2300 int ct; in garbage() local 2322 ct = 0; in garbage() 2324 ct++; in garbage() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vnops.c | 346 caller_context_t *ct) in nfs3_close() argument 421 cr, ct); in nfs3_close() 542 caller_context_t *ct) in nfs3_read() argument 651 caller_context_t *ct) in nfs3_write() argument 1239 caller_context_t *ct) in nfs3_ioctl() argument 1255 caller_context_t *ct) in nfs3_getattr() argument 1316 caller_context_t *ct) in nfs3_setattr() argument 1865 cr, ct); in nfs3_inactive() 3048 vnevent_link(svp, ct); in nfs3_link() 3073 caller_context_t *ct) in nfs3rename() argument [all …]
|
H A D | nfs3_srv.c | 182 caller_context_t ct; in rfs3_setattr() local 272 ct.cc_sysid = 0; in rfs3_setattr() 273 ct.cc_pid = 0; in rfs3_setattr() 275 ct.cc_flags = CC_DONTBLOCK; in rfs3_setattr() 978 caller_context_t ct; in rfs3_read() local 1024 ct.cc_sysid = 0; in rfs3_read() 1025 ct.cc_pid = 0; in rfs3_read() 1027 ct.cc_flags = CC_DONTBLOCK; in rfs3_read() 1327 caller_context_t ct; in rfs3_write() local 1359 ct.cc_sysid = 0; in rfs3_write() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | physmem.c | 98 enum seg_rw rw, struct cred *cr, caller_context_t *ct); 102 struct cred *cred, caller_context_t *ct); 106 struct cred *cred, caller_context_t *ct); 108 static void physmem_inactive(vnode_t *vp, cred_t *crp, caller_context_t *ct); 645 struct cred *cr, caller_context_t *ct) in physmem_getpage() argument 676 struct cred *cred, caller_context_t *ct) in physmem_addmap() argument 689 struct cred *cred, caller_context_t *ct) in physmem_delmap() argument 705 physmem_inactive(vnode_t *vp, cred_t *crp, caller_context_t *ct) in physmem_inactive() argument
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | processor_bind.c | 199 contract_t *ct; in processor_bind() local 323 if ((ct = contract_type_ptr(process_type, id, in processor_bind() 328 ret = cpu_bind_contract(ct->ct_data, in processor_bind() 331 contract_rele(ct); in processor_bind()
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vtops.c | 186 caller_context_t *ct, int *direntflags, pathname_t *realpnp) in devvt_lookup() argument 429 int *eofp, caller_context_t *ct, int flags) in devvt_readdir() argument 448 caller_context_t *ct, vsecattr_t *vsecp) in devvt_create() argument 455 if ((error = devvt_lookup(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, in devvt_create() 467 error = VOP_ACCESS(vp, mode, 0, cred, ct); in devvt_create()
|
H A D | sdev_netops.c | 114 caller_context_t *ct, int *direntflags, pathname_t *realpnp) in devnet_lookup() argument 316 int *eofp, caller_context_t *ct, int flags) in devnet_readdir() argument 357 devnet_inactive(struct vnode *dvp, struct cred *cred, caller_context_t *ct) in devnet_inactive() argument
|
H A D | sdev_ipnetops.c | 107 caller_context_t *ct, int *direntflags, pathname_t *realpnp) in devipnet_lookup() argument 211 int *eofp, caller_context_t *ct, int flags) in devipnet_readdir() argument
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 757 callout_table_t ct; member 1261 callout_table_t *ct = &(cotwd->ct); in callout_t_cb() local 1289 (ct->ct_heap == NULL) || (ct->ct_cyclic == 0))) { in callout_t_cb() 1313 ct->ct_free, ct->ct_lfree, ct->ct_cyclic, in callout_t_cb() 1314 ct->ct_heap); in callout_t_cb() 1319 ct->ct_heap_num, ct->ct_heap_max, in callout_t_cb() 1320 ct->ct_taskq, ct->ct_expired.ch_head, in callout_t_cb() 1325 ct->ct_mutex); in callout_t_cb() 1402 coptr = ct->ct_free; in callout_t_cb() 1668 callout_table_t ct; in calloutid() local [all …]
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 1186 tnode_t *ct; in pad_process() local 1305 ct != NULL; in pad_process() 1306 ct = topo_child_next(rd->rd_pn, ct)) { in pad_process() 1308 if (strcmp(topo_node_name(ct), in pad_process() 1312 inst = topo_node_instance(ct); in pad_process() 1737 tnode_t *ct; in topo_xml_range_process() local 1829 ct = topo_child_first(rd->rd_pn); in topo_xml_range_process() 1830 while (ct != NULL) { in topo_xml_range_process() 1833 ct = topo_child_next(rd->rd_pn, ct); in topo_xml_range_process() 1840 if (fac_process(mp, rn, rd, ct) < 0) in topo_xml_range_process() [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | cpuid.c | 6984 for (; ct->ct_code != 0; ct++) in find_cacheent() 6988 return (ct); in find_cacheent() 7009 ct->ct_assoc = in intel_cpuid_4_cache_info() 7011 ct->ct_line_size = in intel_cpuid_4_cache_info() 7013 ct->ct_size = ct->ct_assoc * in intel_cpuid_4_cache_info() 7055 ct = &des_49_ct; in intel_walk_cacheinfo() 7067 ct = &des_b1_ct; in intel_walk_cacheinfo() 7122 add_cache_prop(devi, ct->ct_label, assoc_str, ct->ct_assoc); in add_cacheent_props() 7126 add_cache_prop(devi, ct->ct_label, size_str, ct->ct_size); in add_cacheent_props() 7645 *ip = ct->ct_size; in intel_l2cinfo() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/dummy/ |
H A D | dmech.c | 353 dummy_gss_import_sec_context(ct, minor_status, interprocess_token, in dummy_gss_import_sec_context() argument 355 void *ct; in dummy_gss_import_sec_context() 387 dummy_gss_delete_sec_context(ct, minor_status, in dummy_gss_delete_sec_context() argument 390 void *ct; in dummy_gss_delete_sec_context()
|
/illumos-gate/usr/src/common/crypto/aes/ |
H A D | aes_impl.h | 135 extern int aes_encrypt_block(const void *ks, const uint8_t *pt, uint8_t *ct); 136 extern int aes_decrypt_block(const void *ks, const uint8_t *ct, uint8_t *pt);
|
/illumos-gate/usr/src/uts/common/fs/mntfs/ |
H A D | mntvnops.c | 838 mntopen(vnode_t **vpp, int flag, cred_t *cr, caller_context_t *ct) in mntopen() argument 863 caller_context_t *ct) in mntclose() argument 996 caller_context_t *ct) in mntgetattr() argument 1010 if (error = VOP_GETATTR(mnp->mnt_mountvp, vap, flags, cr, ct)) in mntgetattr() 1116 caller_context_t *ct) in mntaccess() argument 1126 return (VOP_ACCESS(mnp->mnt_mountvp, mode, flags, cr, ct)); in mntaccess() 1170 mntfsync(vnode_t *vp, int syncflag, cred_t *cr, caller_context_t *ct) in mntfsync() argument 1177 mntinactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) in mntinactive() argument 1215 caller_context_t *ct) in mntpoll() argument 1469 int *rvalp, caller_context_t *ct) in mntioctl() argument [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | lwp.c | 1798 kthread_t *ct; in forklwp() local 1827 ct = clwp->lwp_thread; in forklwp() 1841 init_mstate(ct, LMS_STOPPED); in forklwp() 1854 clwp->lwp_thread = ct; in forklwp() 1855 ct->t_sysnum = t->t_sysnum; in forklwp() 1872 forkctx(t, ct); in forklwp() 1876 door_fork(t, ct); in forklwp() 1886 ct->t_proc_flag |= TP_MSACCT; in forklwp() 1911 ct->t_unpark = t->t_unpark; in forklwp() 1912 ct->t_clfuncs = t->t_clfuncs; in forklwp() [all …]
|
H A D | share.c | 561 nbl_share_conflict(vnode_t *vp, nbl_op_t op, caller_context_t *ct) in nbl_share_conflict() argument 570 if (ct == NULL) { in nbl_share_conflict() 574 pid = ct->cc_pid; in nbl_share_conflict() 575 sysid = ct->cc_sysid; in nbl_share_conflict()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 1636 time_t ct; in handle_overtemp_interrupt() local 1689 ct = (time_t)(gethrtime() / NANOSEC); in handle_overtemp_interrupt() 1690 if ((ct - sensorp->warning_tstamp) >= in handle_overtemp_interrupt() 1697 sensorp->warning_tstamp = ct; in handle_overtemp_interrupt() 1715 sensorp->shutdown_tstamp = ct; in handle_overtemp_interrupt() 2052 time_t ct; in disk_temp_thr() local 2161 diskp->warning_start = ct; in disk_temp_thr() 2162 if (((ct - diskp->warning_start) >= in disk_temp_thr() 2169 diskp->warning_tstamp = ct; in disk_temp_thr() 2179 diskp->shutdown_tstamp = ct; in disk_temp_thr() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | contract_impl.h | 339 int contract_ack(contract_t *ct, uint64_t evid, int cmd); 340 int contract_qack(contract_t *ct, uint64_t evid); 341 int contract_newct(contract_t *ct);
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 2094 kthread_t *ct; in pr_agent() local 2167 ct = lwptot(clwp); in pr_agent() 2179 ct->t_sysnum = 0; in pr_agent() 2180 ct->t_post_sys = 1; in pr_agent() 2181 ct->t_sig_check = 1; in pr_agent() 2182 p->p_agenttp = ct; in pr_agent() 2188 lwp_create_done(ct); in pr_agent() 2227 thread_lock(ct); in pr_agent() 2229 if (ISTOPPED(ct)) { in pr_agent() 2230 thread_unlock(ct); in pr_agent() [all …]
|
H A D | prvnops.c | 428 caller_context_t *ct) in prclose() argument 3013 caller_context_t *ct) in prgetattr() argument 4670 contract_t *ct; in pr_lookup_ctdir() local 4689 if (ct == NULL) in pr_lookup_ctdir() 4696 contract_rele(ct); in pr_lookup_ctdir() 4706 if ((ct->ct_owner != p) && in pr_lookup_ctdir() 4713 contract_rele(ct); in pr_lookup_ctdir() 4718 pnp->pr_contract = ct; in pr_lookup_ctdir() 6220 contract_t *ct; in prreadlink() local 6244 ct = pnp->pr_contract; in prreadlink() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_tsearchhash.c | 173 calculate_allowed_fill(unsigned long fill_percent, unsigned long ct) in calculate_allowed_fill() argument 176 if(ct < 100000) { in calculate_allowed_fill() 177 unsigned long v2 = (ct *fill_percent)/100; in calculate_allowed_fill() 180 v = (ct /100)*fill_percent; in calculate_allowed_fill()
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 457 caller_context_t *ct) in objfs_data_getattr() argument 483 caller_context_t *ct) in objfs_data_access() argument 494 caller_context_t *ct) in objfs_data_open() argument 560 caller_context_t *ct) in objfs_data_read() argument 750 caller_context_t *ct) in objfs_data_seek() argument
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_hw_eth.h | 169 uint32_t ct:2; member 191 uint32_t ct:2; 243 uint32_t ct:2; member 290 uint32_t ct:2;
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | glob.c | 22 int ct; /* pointer to lp */ variable
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 625 ctid_t ct; in mount_early_fs() local 725 if (contract_latest(&ct) == -1) in mount_early_fs() 726 ct = -1; in mount_early_fs() 731 (void) contract_abandon_id(ct); in mount_early_fs() 734 (void) contract_abandon_id(ct); in mount_early_fs() 1032 ctid_t ct; in zone_graceful_shutdown() local 1087 if (contract_latest(&ct) == -1) in zone_graceful_shutdown() 1088 ct = -1; in zone_graceful_shutdown() 1094 (void) contract_abandon_id(ct); in zone_graceful_shutdown() 1098 (void) contract_abandon_id(ct); in zone_graceful_shutdown()
|