/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_auth.c | 45 drm_hash_magic(drm_magic_t magic) in drm_hash_magic() argument 47 return (magic & (DRM_HASH_SIZE-1)); in drm_hash_magic() 51 drm_find_file(drm_device_t *dev, drm_magic_t magic) in drm_find_file() argument 57 hash = drm_hash_magic(magic); in drm_find_file() 59 if (pt->magic == magic) { in drm_find_file() 69 drm_add_magic(drm_device_t *dev, drm_file_t *priv, drm_magic_t magic) in drm_add_magic() argument 74 hash = drm_hash_magic(magic); in drm_add_magic() 78 entry->magic = magic; in drm_add_magic() 96 drm_remove_magic(drm_device_t *dev, drm_magic_t magic) in drm_remove_magic() argument 102 DRM_DEBUG("drm_remove_magic : %d", magic); in drm_remove_magic() [all …]
|
/titanic_41/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_get_consumer_context.c | 74 (header->magic != DAPL_MAGIC_IA && in dapl_get_consumer_context() 75 header->magic != DAPL_MAGIC_EVD && in dapl_get_consumer_context() 76 header->magic != DAPL_MAGIC_EP && in dapl_get_consumer_context() 77 header->magic != DAPL_MAGIC_LMR && in dapl_get_consumer_context() 78 header->magic != DAPL_MAGIC_RMR && in dapl_get_consumer_context() 79 header->magic != DAPL_MAGIC_PZ && in dapl_get_consumer_context() 80 header->magic != DAPL_MAGIC_PSP && in dapl_get_consumer_context() 81 header->magic != DAPL_MAGIC_RSP && in dapl_get_consumer_context() 82 header->magic != DAPL_MAGIC_CR)) { in dapl_get_consumer_context()
|
H A D | dapl_get_handle_type.c | 73 (header->magic != DAPL_MAGIC_IA && in dapl_get_handle_type() 74 header->magic != DAPL_MAGIC_EVD && in dapl_get_handle_type() 75 header->magic != DAPL_MAGIC_EP && in dapl_get_handle_type() 76 header->magic != DAPL_MAGIC_LMR && in dapl_get_handle_type() 77 header->magic != DAPL_MAGIC_RMR && in dapl_get_handle_type() 78 header->magic != DAPL_MAGIC_PZ && in dapl_get_handle_type() 79 header->magic != DAPL_MAGIC_PSP && in dapl_get_handle_type() 80 header->magic != DAPL_MAGIC_RSP && in dapl_get_handle_type() 81 header->magic != DAPL_MAGIC_CR)) { in dapl_get_handle_type()
|
H A D | dapl_set_consumer_context.c | 75 (header->magic != DAPL_MAGIC_IA && in dapl_set_consumer_context() 76 header->magic != DAPL_MAGIC_EVD && in dapl_set_consumer_context() 77 header->magic != DAPL_MAGIC_EP && in dapl_set_consumer_context() 78 header->magic != DAPL_MAGIC_LMR && in dapl_set_consumer_context() 79 header->magic != DAPL_MAGIC_RMR && in dapl_set_consumer_context() 80 header->magic != DAPL_MAGIC_PZ && in dapl_set_consumer_context() 81 header->magic != DAPL_MAGIC_PSP && in dapl_set_consumer_context() 82 header->magic != DAPL_MAGIC_RSP && in dapl_set_consumer_context() 83 header->magic != DAPL_MAGIC_CR)) { in dapl_set_consumer_context()
|
H A D | dapl_cr_util.c | 81 cr_ptr->header.magic = DAPL_MAGIC_CR; in dapls_cr_alloc() 112 dapl_os_assert(cr_ptr->header.magic == DAPL_MAGIC_CR || in dapls_cr_free() 113 cr_ptr->header.magic == DAPL_MAGIC_CR_DESTROYED); in dapls_cr_free() 116 cr_ptr->header.magic = DAPL_MAGIC_INVALID; in dapls_cr_free()
|
H A D | dapl_sp_util.c | 85 sp_ptr->header.magic = DAPL_MAGIC_PSP; in dapls_sp_alloc() 88 sp_ptr->header.magic = DAPL_MAGIC_RSP; in dapls_sp_alloc() 125 dapl_os_assert(sp_ptr->header.magic == DAPL_MAGIC_PSP || in dapls_sp_free_sp() 126 sp_ptr->header.magic == DAPL_MAGIC_RSP); in dapls_sp_free_sp() 131 sp_ptr->header.magic = DAPL_MAGIC_INVALID; in dapls_sp_free_sp()
|
H A D | dapl_srq_util.c | 73 srq_ptr->header.magic = DAPL_MAGIC_SRQ; in dapl_srq_alloc() 113 dapl_os_assert(srq_ptr->header.magic == DAPL_MAGIC_SRQ); in dapl_srq_dealloc() 116 srq_ptr->header.magic = DAPL_MAGIC_INVALID; in dapl_srq_dealloc()
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | adb_openclose.c | 51 int magic) in osa_adb_create_db() argument 81 int magic) in osa_adb_destroy_db() argument 91 char *fileto, char *lockto, int magic) in osa_adb_rename_db() argument 98 if ((ret = osa_adb_create_db(fileto, lockto, magic)) && in osa_adb_rename_db() 102 if ((ret = osa_adb_init_db(&fromdb, filefrom, lockfrom, magic))) in osa_adb_rename_db() 104 if ((ret = osa_adb_init_db(&todb, fileto, lockto, magic))) { in osa_adb_rename_db() 105 (void) osa_adb_fini_db(fromdb, magic); in osa_adb_rename_db() 109 (void) osa_adb_fini_db(fromdb, magic); in osa_adb_rename_db() 110 (void) osa_adb_fini_db(todb, magic); in osa_adb_rename_db() 114 (void) osa_adb_fini_db(fromdb, magic); in osa_adb_rename_db() [all …]
|
H A D | policy_db.h | 62 int magic; member 81 krb5_error_code osa_adb_create_db(char *filename, char *lockfile, int magic); 82 krb5_error_code osa_adb_destroy_db(char *filename, char *lockfile, int magic); 84 char *fileto, char *lockto, int magic); 86 char *lockfile, int magic); 87 krb5_error_code osa_adb_fini_db(osa_adb_db_t db, int magic);
|
/titanic_41/usr/src/lib/libast/common/misc/ |
H A D | mimetype.c | 39 if (mp->magic) in drop() 41 magicclose(mp->magic); in drop() 42 mp->magic = 0; in drop() 55 if (!mp->magic) in mimetype() 60 if (!(mp->magic = magicopen(&mp->magicd))) in mimetype() 66 magicload(mp->magic, NiL, 0); in mimetype() 68 return magictype(mp->magic, fp, file, st); in mimetype()
|
/titanic_41/usr/src/lib/libcurses/screen/ |
H A D | scr_ll_dump.c | 52 short magic = SVR3_DUMP_MAGIC_NUMBER, rv = ERR; in scr_ll_dump() local 57 if (fwrite((char *) &magic, sizeof (short), 1, filep) != 1) in scr_ll_dump() 78 magic = (!slk) ? 0 : (slk->_win) ? 2 : 1; in scr_ll_dump() 79 if (fwrite((char *) &magic, sizeof (int), 1, filep) != 1) in scr_ll_dump() 81 if (magic) { in scr_ll_dump() 107 magic = ((cur_term->_pairs_tbl) ? 1 : 0); in scr_ll_dump() 108 if (fwrite((char *) &magic, sizeof (int), 1, filep) != 1) in scr_ll_dump() 110 if (magic) { in scr_ll_dump()
|
H A D | scr_reset.c | 82 short magic; in scr_reset() local 100 if (fread((char *) &magic, sizeof (short), 1, filep) != 1) in scr_reset() 102 if (magic != SVR3_DUMP_MAGIC_NUMBER) in scr_reset() 131 (fread((char *) &magic, sizeof (int), 1, filep) != 1)) in scr_reset() 138 if (magic) { in scr_reset() 183 if (fread((char *) &magic, sizeof (int), 1, filep) != 1) in scr_reset() 186 if (magic) { in scr_reset()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | synch.h | 69 uint16_t magic; member 95 uint16_t magic; member 106 uint16_t magic; member 121 uint16_t magic; member
|
/titanic_41/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_hostconf.c | 105 uint32_t magic; in read_hostconf() local 113 if (read(fd, &magic, sizeof (magic)) != sizeof (magic)) in read_hostconf() 116 if (magic != (isv6 ? DHCP_HOSTCONF_MAGIC6 : DHCP_HOSTCONF_MAGIC)) in read_hostconf() 333 uint32_t magic; in write_hostconf() local 349 magic = isv6 ? DHCP_HOSTCONF_MAGIC6 : DHCP_HOSTCONF_MAGIC; in write_hostconf() 350 iov[iovlen].iov_base = (caddr_t)&magic; in write_hostconf() 351 explen += iov[iovlen++].iov_len = sizeof (magic); in write_hostconf()
|
/titanic_41/usr/src/lib/krb5/kadm5/ |
H A D | adb.h | 50 int magic; member 108 osa_adb_ret_t osa_adb_create_db(char *filename, char *lockfile, int magic); 109 osa_adb_ret_t osa_adb_destroy_db(char *filename, char *lockfile, int magic); 111 char *fileto, char *lockto, int magic); 115 char *lockfile, int magic); 116 osa_adb_ret_t osa_adb_fini_db(osa_adb_db_t db, int magic);
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_tree.c | 37 errcode_t magic; member 49 if ((node)->magic != PROF_MAGIC_NODE) \ 59 if (node->magic != PROF_MAGIC_NODE) in profile_free_node() 71 node->magic = 0; in profile_free_node() 113 new->magic = PROF_MAGIC_NODE; in profile_create_node() 394 prf_magic_t magic; member 415 if (profile->magic != PROF_MAGIC_PROFILE) in profile_node_iterator_create() 428 iter->magic = PROF_MAGIC_ITERATOR; in profile_node_iterator_create() 447 if (!iter || iter->magic != PROF_MAGIC_ITERATOR) in profile_node_iterator_free() 469 if (!iter || iter->magic != PROF_MAGIC_ITERATOR) in profile_node_iterator() [all …]
|
H A D | prof_int.h | 38 prf_magic_t magic; member 74 prf_magic_t magic; member 94 prf_magic_t magic; member 236 #define profile_flush_file(P) (((P) && (P)->magic == PROF_MAGIC_FILE) ? profile_flush_file_data((P)… 240 #define profile_flush_file_to_file(P,F) (((P) && (P)->magic == PROF_MAGIC_FILE) ? profile_flush_fil…
|
/titanic_41/usr/src/lib/libtnf/ |
H A D | reader.c | 37 tnf_uint32_t magic; in tnf_reader_begin() local 50 if ((magic = *(tnf_uint32_t *)base) == TNF_MAGIC) in tnf_reader_begin() 52 else if (magic == TNF_MAGIC_1) in tnf_reader_begin() 64 tnf->file_magic = magic; in tnf_reader_begin() 75 fhdr = (tnf_ref32_t *)(base + sizeof (magic)); /* second word */ in tnf_reader_begin()
|
/titanic_41/usr/src/lib/policykit/libpolkit/common/ |
H A D | libpolkit-rbac.c | 47 if (_ctx_->magic != LIBPOLKIT_MAGIC) { \ 49 __FUNCTION__, _ctx_->magic, LIBPOLKIT_MAGIC); \ 57 guint32 magic; member 70 ctx->magic = LIBPOLKIT_MAGIC; in libpolkit_new_context() 85 ctx->magic = 0; in libpolkit_free_context()
|
/titanic_41/usr/src/lib/libsqlite/src/ |
H A D | vdbeaux.c | 50 p->magic = VDBE_MAGIC_INIT; in sqliteVdbeCreate() 83 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeAddOp() 155 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeMakeLabel() 181 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeResolveLabel() 196 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeCurrentAddr() 206 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeAddOpList() 249 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeChangeP1() 261 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeChangeP2() 286 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeChangeP3() 320 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeDequoteP3() [all …]
|
/titanic_41/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sdbc_ioctl.h | 54 long magic; member 65 int32_t magic; member 258 ushort_t magic; /* Check for proper sd_cadmin */ member 267 ushort_t magic; member
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_k_decode.c | 455 (*val)->magic = KV5M_PRINCIPAL; in asn1_decode_principal_name() 467 val->magic = KV5M_CHECKSUM; in asn1_decode_checksum() 479 val->magic = KV5M_KEYBLOCK; in asn1_decode_encryption_key() 492 val->magic = KV5M_ENC_DATA; in asn1_decode_encrypted_data() 554 val->magic = KV5M_TRANSITED; in asn1_decode_transited_encoding() 579 val->magic = KV5M_ENC_KDC_REP_PART; in asn1_decode_enc_kdc_rep_part() 598 val->magic = KV5M_TICKET; in asn1_decode_ticket() 619 val->magic = KV5M_KDC_REQ; in asn1_decode_kdc_req() 660 val->authorization_data.magic = KV5M_ENC_DATA; in asn1_decode_kdc_req_body() 668 val->magic = KV5M_KDC_REQ; in asn1_decode_kdc_req_body() [all …]
|
/titanic_41/usr/src/cmd/boot/common/ |
H A D | mboot_extra.c | 80 if (mboot->magic != MB_HEADER_MAGIC) in find_multiboot() 84 cksum = -(mboot->flags + mboot->magic); in find_multiboot() 141 if (memcmp(einfo->magic, EINFO_MAGIC, EINFO_MAGIC_SIZE) != 0) { in find_einfo() 144 BOOT_DEBUG("Found %s, expected %s\n", einfo->magic, in find_einfo()
|
/titanic_41/usr/src/uts/intel/sys/ |
H A D | synch32.h | 39 #define mutex_magic flags.magic 58 #define cond_magic flags.magic 71 #define rwlock_magic magic
|
/titanic_41/usr/src/uts/sparc/sys/ |
H A D | synch32.h | 39 #define mutex_magic flags.magic 58 #define cond_magic flags.magic 71 #define rwlock_magic magic
|