Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_auth.c45 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 Ddapl_get_consumer_context.c74 (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 Ddapl_get_handle_type.c73 (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 Ddapl_set_consumer_context.c75 (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 Ddapl_cr_util.c81 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 Ddapl_sp_util.c85 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 Ddapl_srq_util.c73 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 Dadb_openclose.c51 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 Dpolicy_db.h62 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 Dmimetype.c39 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 Dscr_ll_dump.c52 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 Dscr_reset.c82 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 Dsynch.h69 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 Ddhcp_hostconf.c105 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 Dadb.h50 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 Dprof_tree.c37 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 Dprof_int.h38 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 Dreader.c37 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 Dlibpolkit-rbac.c47 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 Dvdbeaux.c50 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 Dsdbc_ioctl.h54 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 Dasn1_k_decode.c455 (*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 Dmboot_extra.c80 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 Dsynch32.h39 #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 Dsynch32.h39 #define mutex_magic flags.magic
58 #define cond_magic flags.magic
71 #define rwlock_magic magic

12345678910>>...16