Home
last modified time | relevance | path

Searched refs:ct (Results 26 – 50 of 285) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcontract.c91 contract_t ct; in cmd_contract() local
107 if (mdb_vread(&ct, sizeof (ct), addr) != sizeof (ct)) { in cmd_contract()
111 if (mdb_vread(&ctt, sizeof (ctt), (uintptr_t)ct.ct_type) != in cmd_contract()
113 mdb_warn("error reading ct_type_t at %p", ct.ct_type); in cmd_contract()
122 mdb_printf("%0?p %8d %8s %8s %?p %?p\n", addr, ct.ct_id, str, in cmd_contract()
123 (ct.ct_state == CTS_OWNED) ? "owned" : in cmd_contract()
124 (ct.ct_state == CTS_INHERITED) ? "inherit" : in cmd_contract()
125 (ct.ct_state == CTS_ORPHAN) ? "orphan" : "dead", in cmd_contract()
126 ct.ct_owner, ct.ct_regent); in cmd_contract()
171 findct(uintptr_t addr, contract_t *ct, findct_data_t *arg) in findct() argument
[all …]
/illumos-gate/usr/src/uts/common/fs/
H A Dfem.c725 ct, vsecp); in vhead_create()
734 ct, vsecp); in vhead_create()
1301 flags, cr, ct); in vhead_map()
1309 flags, cr, ct); in vhead_map()
1331 flags, cr, ct); in vhead_addmap()
1340 flags, cr, ct); in vhead_addmap()
1362 flags, cr, ct); in vhead_delmap()
2490 cr, ct)); in vnext_getpage()
2522 cr, ct)); in vnext_map()
2539 cr, ct)); in vnext_addmap()
[all …]
H A Dxattr.c152 caller_context_t *ct) in xattr_file_access() argument
480 caller_context_t *ct) in xattr_file_getattr() argument
520 caller_context_t *ct) in xattr_file_read() argument
566 caller_context_t *ct) in xattr_file_write() argument
811 caller_context_t *ct) in xattr_file_pathconf() argument
1048 caller_context_t *ct) in xattr_dir_close() argument
1080 caller_context_t *ct) in xattr_dir_getattr() argument
1145 caller_context_t *ct) in xattr_dir_setattr() argument
1168 caller_context_t *ct) in xattr_dir_access() argument
1218 cr, ct); in xattr_dir_create()
[all …]
H A Dvnode.c3366 caller_context_t *ct) in fop_open() argument
3438 caller_context_t *ct) in fop_close() argument
3469 caller_context_t *ct) in fop_read() argument
3488 caller_context_t *ct) in fop_write() argument
3509 caller_context_t *ct) in fop_ioctl() argument
3526 caller_context_t *ct) in fop_setfl() argument
3543 caller_context_t *ct) in fop_getattr() argument
3576 caller_context_t *ct) in fop_setattr() argument
3609 caller_context_t *ct) in fop_access() argument
3634 caller_context_t *ct, in fop_lookup() argument
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dratectrl.c397 ct->ct_Count = 0;
399 ++ct->ct_Count;
408 if (ct->ct_Ticks <= ticks && ct->ct_Ticks >= ticks - CHTSIZE)
409 cnt += ct->ct_Count;
441 CTime_T *ct; local
462 ct->ct_Ticks = ticks;
463 ct->ct_Count = 0;
465 ++ct->ct_Count;
471 ct = &srv_Times[i];
473 if (ct->ct_Ticks <= ticks && ct->ct_Ticks >= ticks - CHTSIZE)
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_fssub.c103 caller_context_t *ct) in fs_nosys_map() argument
112 caller_context_t *ct) in fs_nosys_addmap() argument
120 struct pollhead **phpp, caller_context_t *ct) in fs_nosys_poll() argument
264 caller_context_t *ct) in fs_pathconf() argument
276 caller_context_t *ct) in fs_dispose() argument
283 caller_context_t *ct) in fs_nodispose() argument
294 caller_context_t *ct) in fs_fab_acl() argument
306 if (error = VOP_GETATTR(vp, &vattr, 0, cr, ct)) in fs_fab_acl()
329 caller_context_t *ct) in fs_shrlock() argument
337 caller_context_t *ct) in fs_vnevent_nosupport() argument
[all …]
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_dual.c202 ct->dd_len1); in crypto_encrypt_mac()
305 ct->dd_offset1 = ct->dd_offset2; in crypto_encrypt_mac()
306 ct->dd_len1 = ct->dd_len2; in crypto_encrypt_mac()
927 ct->dd_offset1 = ct->dd_offset2; in crypto_encrypt_mac_update()
928 ct->dd_len1 = ct->dd_len2; in crypto_encrypt_mac_update()
1016 ct->dd_offset1 = ct->dd_offset2; in crypto_encrypt_mac_final()
1017 ct->dd_len1 = ct->dd_len2; in crypto_encrypt_mac_final()
1255 ct->dd_offset1 = ct->dd_offset2; in crypto_mac_decrypt_common()
1256 ct->dd_len1 = ct->dd_len2; in crypto_mac_decrypt_common()
2018 ct->dd_offset1 = ct->dd_offset2; in crypto_mac_decrypt_update()
[all …]
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_sym.c55 ctfs_create_symnode(vnode_t *pvp, contract_t *ct) in ctfs_create_symnode() argument
65 symnode->ctfs_sn_contract = ct; in ctfs_create_symnode()
67 ct->ct_type->ct_type_name, (long)ct->ct_id) + 1; in ctfs_create_symnode()
70 ct->ct_type->ct_type_name, (long)ct->ct_id) < len); in ctfs_create_symnode()
72 contract_hold(ct); in ctfs_create_symnode()
87 caller_context_t *ct) in ctfs_sym_getattr() argument
110 ctfs_sym_readlink(vnode_t *vp, uio_t *uiop, cred_t *cr, caller_context_t *ct) in ctfs_sym_readlink() argument
123 ctfs_sym_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) in ctfs_sym_inactive() argument
H A Dctfs_latest.c68 contract_t *ct = ttolwp(curthread)->lwp_ct_latest[ in ctfs_latest_nested_open() local
71 if (ct) { in ctfs_latest_nested_open()
74 cvp = ctfs_create_cdirnode(gfs_file_parent(vp), ct); in ctfs_latest_nested_open()
101 caller_context_t *ct) in ctfs_latest_access() argument
123 ctfs_latest_open(vnode_t **vpp, int flag, cred_t *cr, caller_context_t *ct) in ctfs_latest_open() argument
133 return (VOP_OPEN(vpp, flag, cr, ct)); in ctfs_latest_open()
151 caller_context_t *ct) in ctfs_latest_getattr() argument
156 int res = VOP_GETATTR(nvp, vap, flags, cr, ct); in ctfs_latest_getattr()
H A Dctfs_event.c201 contract_t *ct = evnode->ctfs_ev_contract; in ctfs_ev_access() local
207 if (error = secpolicy_contract_observer(cr, ct)) in ctfs_ev_access()
224 contract_t *ct = evnode->ctfs_ev_contract; in ctfs_ev_open() local
227 if (error = secpolicy_contract_observer(cr, ct)) in ctfs_ev_open()
242 ctfs_ev_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) in ctfs_ev_inactive() argument
270 caller_context_t *ct) in ctfs_ev_getattr() argument
300 caller_context_t *ct) in ctfs_ev_ioctl() argument
319 caller_context_t *ct) in ctfs_ev_poll() argument
429 caller_context_t *ct) in ctfs_bu_getattr() argument
460 caller_context_t *ct) in ctfs_bu_ioctl() argument
[all …]
H A Dctfs_all.c78 caller_context_t *ct) in ctfs_adir_getattr() argument
102 contract_t *ct; in ctfs_adir_do_lookup() local
108 ct = contract_ptr(i, VTOZONE(vp)->zone_uniqid); in ctfs_adir_do_lookup()
109 if (ct == NULL) in ctfs_adir_do_lookup()
112 *vpp = ctfs_create_symnode(vp, ct); in ctfs_adir_do_lookup()
113 *inop = CTFS_INO_CT_LINK(ct->ct_id); in ctfs_adir_do_lookup()
114 contract_rele(ct); in ctfs_adir_do_lookup()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmp_pc.c173 struct cpu_tables *ct; in mach_cpucontext_alloc_tables() local
195 ntss->tss_ist1 = (uintptr_t)&ct->ct_stack1[sizeof (ct->ct_stack1)]; in mach_cpucontext_alloc_tables()
200 ntss->tss_ist2 = (uintptr_t)&ct->ct_stack2[sizeof (ct->ct_stack2)]; in mach_cpucontext_alloc_tables()
205 ntss->tss_ist3 = (uintptr_t)&ct->ct_stack3[sizeof (ct->ct_stack3)]; in mach_cpucontext_alloc_tables()
255 return (ct); in mach_cpucontext_alloc_tables()
262 struct cpu_tables *ct; in mach_cpucontext_xalloc() local
318 if (ct == NULL) { in mach_cpucontext_xalloc()
354 return (ct); in mach_cpucontext_xalloc()
360 struct cpu_tables *ct = arg; in mach_cpucontext_xfree() local
383 kmem_free(ct, P2ROUNDUP(sizeof (*ct), PAGESIZE)); in mach_cpucontext_xfree()
[all …]
H A Dtrap.c636 ct->t_lofault = 0; in trap()
1098 if (ct->t_lofault) { in trap()
1350 if (ct->t_astflag | ct->t_sig_check) { in trap()
1357 astoff(ct); in trap()
1457 if (ct->t_trapret) { in trap()
1458 ct->t_trapret = 0; in trap()
1459 thread_lock(ct); in trap()
1460 CL_TRAPRET(ct); in trap()
1461 thread_unlock(ct); in trap()
1580 ct->t_preempt++; in kpreempt()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvrtc.c352 ASSERT(ct.sec >= 0 && ct.sec <= 59); in vrtc_time_to_cmos()
353 ASSERT(ct.min >= 0 && ct.min <= 59); in vrtc_time_to_cmos()
354 ASSERT(ct.hour >= 0 && ct.hour <= 23); in vrtc_time_to_cmos()
355 ASSERT(ct.dow >= 0 && ct.dow <= 6); in vrtc_time_to_cmos()
356 ASSERT(ct.day >= 1 && ct.day <= 31); in vrtc_time_to_cmos()
357 ASSERT(ct.mon >= 1 && ct.mon <= 12); in vrtc_time_to_cmos()
365 hour = ct.hour; in vrtc_time_to_cmos()
370 switch (ct.hour) { in vrtc_time_to_cmos()
554 ct.dow = -1; in vrtc_cmos_to_secs()
557 if (err || ct.day < 1 || ct.day > 31) { in vrtc_cmos_to_secs()
[all …]
/illumos-gate/usr/src/common/crypto/aes/
H A Daes_impl.c93 uint32_t ct[4]);
1179 uint32_t ct[4], int flags) { in rijndael_encrypt()
1319 uint32_t ct[4]) in rijndael_encrypt()
1406 ct[0] = s0; in rijndael_encrypt()
1413 ct[1] = s1; in rijndael_encrypt()
1420 ct[2] = s2; in rijndael_encrypt()
1427 ct[3] = s3; in rijndael_encrypt()
1456 s0 = ct[0] ^ rk[0]; in rijndael_decrypt()
1457 s1 = ct[1] ^ rk[1]; in rijndael_decrypt()
1458 s2 = ct[2] ^ rk[2]; in rijndael_decrypt()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c76 caller_context_t *ct) in fop_open() argument
99 caller_context_t *ct) in fop_close() argument
128 caller_context_t *ct) in fop_read() argument
223 caller_context_t *ct) in fop_write() argument
271 caller_context_t *ct) in fop_ioctl() argument
305 caller_context_t *ct) in fop_setfl() argument
318 caller_context_t *ct) in fop_getattr() argument
340 caller_context_t *ct) in fop_setattr() argument
386 caller_context_t *ct) in fop_access() argument
470 caller_context_t *ct, in fop_lookup() argument
[all …]
/illumos-gate/usr/src/uts/common/fs/doorfs/
H A Ddoor_vnops.c43 caller_context_t *ct);
45 offset_t offset, struct cred *cr, caller_context_t *ct);
47 int flags, struct cred *cr, caller_context_t *ct);
49 caller_context_t *ct);
51 struct cred *cr, caller_context_t *ct);
52 static int door_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct);
105 struct cred *cr, caller_context_t *ct) in door_close() argument
144 caller_context_t *ct) in door_getattr() argument
171 door_inactive(struct vnode *vp, struct cred *cr, caller_context_t *ct) in door_inactive() argument
239 caller_context_t *ct) in door_access() argument
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dgnxseq.c39 int count = 0, ct, ret; in gnxseq() local
67 ret = sscanf(buf, "%s%d", name, &ct); in gnxseq()
69 ct = 0; in gnxseq()
71 if (ct > 9998) in gnxseq()
72 ct = 0; in gnxseq()
81 count = ++ct; in gnxseq()
84 fprintf(fp1, "%s %d %d/%d-%d:%2.2d\n", name, ct, in gnxseq()
/illumos-gate/usr/src/uts/common/contract/
H A Ddevice.c793 contract_destroy(ct); in contract_device_abandon()
814 ctd = ct->ct_data; in contract_device_destroy()
824 ct->ct_id)); in contract_device_destroy()
843 mutex_exit(&ct->ct_lock); in contract_device_destroy()
858 mutex_exit(&ct->ct_lock); in contract_device_destroy()
898 mutex_exit(&ct->ct_lock); in contract_device_status()
1024 ctid = ct->ct_id; in contract_device_ack_nack()
1054 mutex_exit(&ct->ct_lock); in contract_device_ack_nack()
1096 mutex_exit(&ct->ct_lock); in contract_device_ack_nack()
1595 contract_t *ct; in contract_device_publish() local
[all …]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c120 caller_context_t *ct) in socket_vop_open() argument
139 struct cred *cr, caller_context_t *ct) in socket_vop_close() argument
175 caller_context_t *ct) in socket_vop_read() argument
189 struct cred *cr, caller_context_t *ct) in socket_vop_write() argument
226 caller_context_t *ct) in socket_vop_setfl() argument
283 struct cred *cr, caller_context_t *ct) in socket_vop_getattr() argument
378 struct cred *cr, caller_context_t *ct) in socket_vop_setattr() argument
412 caller_context_t *ct) in socket_vop_access() argument
433 caller_context_t *ct) in socket_vop_fsync() argument
482 caller_context_t *ct) in socket_vop_seek() argument
[all …]
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c75 caller_context_t *ct) in devfs_open() argument
110 struct caller_context *ct) in devfs_read() argument
125 struct caller_context *ct) in devfs_write() argument
163 caller_context_t *ct) in devfs_getattr() argument
344 caller_context_t *ct) in devfs_setattr() argument
519 dv->dv_name, cr, ct, 0); in devfs_setattr()
589 caller_context_t *ct) in devfs_pathconf() argument
729 caller_context_t *ct) in devfs_access() argument
865 caller_context_t *ct, int flags) in devfs_readdir() argument
1038 caller_context_t *ct) in devfs_fsync() argument
[all …]
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vnops.c52 caller_context_t *ct) in bootfs_close() argument
60 caller_context_t *ct) in bootfs_read() argument
138 caller_context_t *ct) in bootfs_getattr() argument
152 caller_context_t *ct) in bootfs_access() argument
208 caller_context_t *ct, int flags) in bootfs_readdir() argument
351 caller_context_t *ct) in bootfs_seek() argument
419 cred_t *cr, caller_context_t *ct) in bootfs_getpage() argument
444 caller_context_t *ct) in bootfs_map() argument
495 caller_context_t *ct) in bootfs_addmap() argument
504 caller_context_t *ct) in bootfs_delmap() argument
[all …]
/illumos-gate/usr/src/cmd/last/
H A Dlast.c126 char *ct; in main() local
303 ct = ctime(&bp->ut_xtime); in main()
315 ct, 11 + ct); in main()
319 ct, 11 + ct); in main()
448 ct = ctime(&buf[0].ut_xtime); in main()
451 ct + 11); in main()
453 (void) printf(gettext("\nwtmp begins %10.10s %5.5s \n"), ct, in main()
454 ct + 11); in main()
499 char *ct; in onintr() local
503 ct = ctime(&buf[0].ut_xtime); in onintr()
[all …]
/illumos-gate/usr/src/cmd/tbl/
H A Dt8.c18 # define realsplit ((ct=='a'||ct=='n') && table[nl][c].rcol)
38 int c, lf, ct, form, lwid, vspf, ip = -1, cmidx, exvspen, vforml; in putline() local
72 switch (ct=fullbot[nl]) in putline()
76 fullwide(nl,ct); in putline()
135 ct = c+CLEFT; in putline()
136 if (form=='a') ct = c+CMID; in putline()
138 fprintf(tabout, "\\h'|\\n(%du'", ct); in putline()
144 switch(ct=ctype(vforml, c)) in putline()
185 makeline(i,c,ct); in putline()
284 int c, s, pl, lwid, dv, lf, ct; in funnies() local
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dcallo.h153 #define CALLOUT_TABLE_NUM(ct) ((ct) - callout_table) argument
154 #define CALLOUT_TABLE_SEQID(ct) (CALLOUT_TABLE_NUM(ct) >> CALLOUT_TYPE_BITS) argument
275 #define CALLOUT_CLEANUP(ct) ((ct->ct_nreap >= callout_min_reap) && \ argument
276 (ct->ct_nreap >= (ct->ct_heap_num >> 1)))

12345678910>>...12