Home
last modified time | relevance | path

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

12345678910>>...15

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c44 int magic) in osa_adb_create_db() argument
74 int magic) in osa_adb_destroy_db() argument
98 (void) osa_adb_fini_db(fromdb, magic); in osa_adb_rename_db()
103 (void) osa_adb_fini_db(todb, magic); in osa_adb_rename_db()
108 (void) osa_adb_fini_db(todb, magic); in osa_adb_rename_db()
113 (void) osa_adb_fini_db(todb, magic); in osa_adb_rename_db()
122 (void) osa_adb_fini_db(todb, magic); in osa_adb_rename_db()
132 char *lockfilename, int magic) in osa_adb_init_db() argument
239 db->magic = magic; in osa_adb_init_db()
248 if (db->magic != magic) in osa_adb_fini_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);
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
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_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_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()
/illumos-gate/usr/src/cmd/mandoc/
H A Ddbm_map.c63 const int32_t *magic; in dbm_map() local
81 magic = dbm_getint(0); in dbm_map()
82 if (be32toh(*magic) != MANDOCDB_MAGIC) { in dbm_map()
86 fname, be32toh(*magic), MANDOCDB_MAGIC); in dbm_map()
94 magic = dbm_getint(1); in dbm_map()
95 if (be32toh(*magic) != MANDOCDB_VERSION) { in dbm_map()
97 fname, be32toh(*magic), MANDOCDB_VERSION); in dbm_map()
108 if ((magic = dbm_get(*dbm_getint(3))) == NULL) { in dbm_map()
112 if (be32toh(*magic) != MANDOCDB_MAGIC) { in dbm_map()
114 fname, be32toh(*magic), MANDOCDB_MAGIC); in dbm_map()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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()
/illumos-gate/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.c80 short magic; in scr_reset() local
98 if (fread((char *)&magic, sizeof (short), 1, filep) != 1) in scr_reset()
100 if (magic != SVR3_DUMP_MAGIC_NUMBER) in scr_reset()
129 (fread((char *)&magic, sizeof (int), 1, filep) != 1)) in scr_reset()
136 if (magic) { in scr_reset()
181 if (fread((char *)&magic, sizeof (int), 1, filep) != 1) in scr_reset()
184 if (magic) { in scr_reset()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dsiena_flash.h62 efx_dword_t magic; member
67 efx_dword_t magic; member
107 efx_dword_t magic; /* = SIENA_MC_BOOT_MAGIC */ member
134 efx_dword_t magic; /* = SIENA_MC_STATIC_CONFIG_MAGIC */ member
169 efx_dword_t magic; /* = SIENA_MC_DYNAMIC_CONFIG_MAGIC */ member
185 efx_dword_t magic; /* = SIENA_MC_EXPROM_COMBO_MAGIC or SIENA_MC_EXPROM_COMBO_V2_MAGIC */ member
/illumos-gate/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()
/illumos-gate/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);
/illumos-gate/usr/src/uts/common/sys/
H A Dsynch.h67 uint16_t magic; member
93 uint16_t magic; member
104 uint16_t magic; member
119 uint16_t magic; member
/illumos-gate/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…
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dvdbeaux.c47 p->magic = VDBE_MAGIC_INIT; in sqliteVdbeCreate()
80 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeAddOp()
152 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeMakeLabel()
178 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeResolveLabel()
193 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeCurrentAddr()
203 assert( p->magic==VDBE_MAGIC_INIT ); in sqliteVdbeAddOpList()
643 p->magic = VDBE_MAGIC_RUN; in sqliteVdbeMakeReady()
838 if( p->magic!=VDBE_MAGIC_RUN && p->magic!=VDBE_MAGIC_HALT ){ in sqliteVdbeReset()
912 p->magic = VDBE_MAGIC_INIT; in sqliteVdbeReset()
924 if( p->magic!=VDBE_MAGIC_RUN && p->magic!=VDBE_MAGIC_HALT ){ in sqliteVdbeFinalize()
[all …]
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.c467 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()
598 val->magic = KV5M_TICKET; in asn1_decode_ticket()
619 val->magic = KV5M_KDC_REQ; in asn1_decode_kdc_req()
668 val->magic = KV5M_KDC_REQ; in asn1_decode_kdc_req_body()
688 val->magic = KV5M_SAFE; in asn1_decode_krb_safe_body()
700 val->magic = KV5M_ADDRESS; in asn1_decode_host_address()
721 val->magic = KV5M_KDC_REP; in asn1_decode_kdc_rep()
830 val->magic = KV5M_PA_DATA; in asn1_decode_pa_data()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmmopen.c89 { unsigned int magic; /* magic bytes */ member
124 sprintf(mesg, "Magic: %10d\n", mmdc->mmvm->magic); write(fd, mesg, strlen(mesg)); in _vmmdump()
208 if(asocasint(&mmvm->magic, 0, MM_LETMEDOIT) == 0 ) /* lucky winner: us! */ in mminit()
227 if(mmvm->magic != MM_LETMEDOIT && mmvm->magic != MM_MAGIC) in mminit()
231 { if(asocasint(&mmvm->magic, MM_MAGIC, MM_MAGIC) == MM_MAGIC ) in mminit()
354 /**/ASSERT(mmdc->mmvm->magic == MM_LETMEDOIT);
359 /**/ASSERT(mmdc->mmvm->magic == MM_MAGIC);
368 { /**/ASSERT(mmdc->mmvm->magic == MM_LETMEDOIT);
369 asocasint(&mmdc->mmvm->magic, MM_LETMEDOIT, MM_MAGIC);
373 } /**/ASSERT(mmdc->mmvm->magic == MM_MAGIC);
[all …]
/illumos-gate/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()
/illumos-gate/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
/illumos-gate/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>>...15