Searched refs:os_ctx (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | toffset.c | 41 krb5_os_context os_ctx = context->os_context; in krb5_set_real_time() local 48 os_ctx->time_offset = seconds - sec; in krb5_set_real_time() 49 os_ctx->usec_offset = microseconds - usec; in krb5_set_real_time() 50 os_ctx->os_flags = ((os_ctx->os_flags & ~KRB5_OS_TOFFSET_TIME) | in krb5_set_real_time() 63 krb5_os_context os_ctx = context->os_context; in krb5_set_debugging_time() local 65 os_ctx->time_offset = seconds; in krb5_set_debugging_time() 66 os_ctx->usec_offset = microseconds; in krb5_set_debugging_time() 67 os_ctx->os_flags = ((os_ctx->os_flags & ~KRB5_OS_TOFFSET_VALID) | in krb5_set_debugging_time() 79 krb5_os_context os_ctx = context->os_context; in krb5_use_natural_time() local 81 os_ctx->os_flags &= ~(KRB5_OS_TOFFSET_VALID|KRB5_OS_TOFFSET_TIME); in krb5_use_natural_time() [all …]
|
H A D | timeofday.c | 48 krb5_os_context os_ctx = context->os_context; in krb5_timeofday() local 52 if (os_ctx->os_flags & KRB5_OS_TOFFSET_TIME) { in krb5_timeofday() 53 *timeret = os_ctx->time_offset; in krb5_timeofday() 71 if (os_ctx->os_flags & KRB5_OS_TOFFSET_VALID) in krb5_timeofday() 72 tval += os_ctx->time_offset; in krb5_timeofday()
|
H A D | init_os_ctx.c | 393 krb5_os_context os_ctx; in krb5_os_init_context() local 400 os_ctx = ctx->os_context; in krb5_os_init_context() 401 os_ctx->magic = KV5M_OS_CONTEXT; in krb5_os_init_context() 402 os_ctx->time_offset = 0; in krb5_os_init_context() 403 os_ctx->usec_offset = 0; in krb5_os_init_context() 404 os_ctx->os_flags = 0; in krb5_os_init_context() 405 os_ctx->default_ccname = 0; in krb5_os_init_context() 509 krb5_os_context os_ctx; in krb5_os_free_context() local 511 os_ctx = ctx->os_context; in krb5_os_free_context() 513 if (os_ctx->default_ccname) { in krb5_os_free_context() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | ccdefname.c | 79 krb5_os_context os_ctx; in krb5_cc_set_default_name() local 84 os_ctx = context->os_context; in krb5_cc_set_default_name() 118 if (os_ctx->default_ccname) in krb5_cc_set_default_name() 119 free(os_ctx->default_ccname); in krb5_cc_set_default_name() 121 os_ctx->default_ccname = new_name; in krb5_cc_set_default_name() 129 krb5_os_context os_ctx; in krb5_cc_default_name() local 134 os_ctx = context->os_context; in krb5_cc_default_name() 143 os_ctx->default_ccname); in krb5_cc_default_name() 145 return(os_ctx->default_ccname); in krb5_cc_default_name()
|
H A D | ustime.c | 39 krb5_os_context os_ctx = context->os_context; in krb5_us_timeofday() local 43 if (os_ctx->os_flags & KRB5_OS_TOFFSET_TIME) { in krb5_us_timeofday() 44 *seconds = os_ctx->time_offset; in krb5_us_timeofday() 45 *microseconds = os_ctx->usec_offset; in krb5_us_timeofday() 51 if (os_ctx->os_flags & KRB5_OS_TOFFSET_VALID) { in krb5_us_timeofday() 52 usec += os_ctx->usec_offset; in krb5_us_timeofday() 61 sec += os_ctx->time_offset; in krb5_us_timeofday()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | ser_ctx.c | 546 krb5_os_context os_ctx; in krb5_oscontext_externalize() local 555 if ((os_ctx = (krb5_os_context) arg)) { in krb5_oscontext_externalize() 560 (void) krb5_ser_pack_int32(os_ctx->time_offset, &bp, &remain); in krb5_oscontext_externalize() 561 (void) krb5_ser_pack_int32(os_ctx->usec_offset, &bp, &remain); in krb5_oscontext_externalize() 562 (void) krb5_ser_pack_int32(os_ctx->os_flags, &bp, &remain); in krb5_oscontext_externalize() 584 krb5_os_context os_ctx; in krb5_oscontext_internalize() local 592 os_ctx = (krb5_os_context) NULL; in krb5_oscontext_internalize() 600 if ((os_ctx = (krb5_os_context) in krb5_oscontext_internalize() 603 (void) memset(os_ctx, 0, sizeof(struct _krb5_os_context)); in krb5_oscontext_internalize() 604 os_ctx->magic = KV5M_OS_CONTEXT; in krb5_oscontext_internalize() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | ccdefault.c | 48 krb5_os_context os_ctx; in krb5_cc_default() local 53 os_ctx = context->os_context; in krb5_cc_default()
|
H A D | cc_file.c | 1350 krb5_os_context os_ctx = (krb5_os_context)context->os_context; in krb5_fcc_open_file() local 1455 if (os_ctx->os_flags & KRB5_OS_TOFFSET_VALID) in krb5_fcc_open_file() 1462 if (os_ctx->os_flags & KRB5_OS_TOFFSET_VALID) { in krb5_fcc_open_file() 1471 retval = krb5_fcc_store_int32(context,id,os_ctx->time_offset); in krb5_fcc_open_file() 1473 retval = krb5_fcc_store_int32(context,id,os_ctx->usec_offset); in krb5_fcc_open_file() 1525 (os_ctx->os_flags & KRB5_OS_TOFFSET_VALID)) in krb5_fcc_open_file() 1533 if (krb5_fcc_read_int32(context, id, &os_ctx->time_offset) || in krb5_fcc_open_file() 1534 krb5_fcc_read_int32(context, id, &os_ctx->usec_offset)) in krb5_fcc_open_file() 1539 os_ctx->os_flags = in krb5_fcc_open_file() 1540 ((os_ctx->os_flags & ~KRB5_OS_TOFFSET_TIME) | in krb5_fcc_open_file()
|