/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | CryptoAlg.c | 91 mDNSexport AlgContext *AlgCreate(AlgType type, mDNSu8 alg) argument 96 if (type == CRYPTO_ALG) 101 else if (type == DIGEST_ALG) 106 else if (type == ENC_ALG) 129 ctx->type = type; 141 if (ctx->type == CRYPTO_ALG) 143 else if (ctx->type == DIGEST_ALG) 145 else if (ctx->type == ENC_ALG) 166 if (ctx->type [all...] |
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_fa.c | 54 s1394_fa_claim_addr(s1394_hal_t *hal, s1394_fa_type_t type, argument 58 s1394_fa_hal_t *falp = &hal->hal_fa[type]; 83 "", tnf_int, type, type, tnf_int, ret, ret); 97 s1394_fa_free_addr(s1394_hal_t *hal, s1394_fa_type_t type) argument 99 s1394_fa_hal_t *falp = &hal->hal_fa[type]; 124 s1394_fa_type_t type) 126 s1394_fa_hal_t *fal = &hal->hal_fa[type]; 132 fal->fal_tail->target_fa[type].fat_next = target; 145 s1394_fa_type_t type) 123 s1394_fa_list_add(s1394_hal_t *hal, s1394_target_t *target, s1394_fa_type_t type) argument 144 s1394_fa_list_remove(s1394_hal_t *hal, s1394_target_t *target, s1394_fa_type_t type) argument 171 s1394_fa_list_is_empty(s1394_hal_t *hal, s1394_fa_type_t type) argument 184 s1394_fa_list_gen(s1394_hal_t *hal, s1394_fa_type_t type) argument 196 s1394_fa_init_cmd(s1394_cmd_priv_t *s_priv, s1394_fa_type_t type) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | objects.c | 185 nwamd_get_object_list(nwam_object_type_t type) argument 187 assert(type < sizeof (object_lists) / sizeof (object_lists[0])); 188 return (&object_lists[type]); 192 nwamd_object_list_lock(nwam_object_type_t type) argument 194 nwamd_object_list_t *object_list = nwamd_get_object_list(type); 201 nwamd_object_list_rlock(nwam_object_type_t type) argument 203 nwamd_object_list_t *object_list = nwamd_get_object_list(type); 214 nwamd_object_list_unlock(nwam_object_type_t type) argument 216 nwamd_object_list_t *object_list = nwamd_get_object_list(type); 225 nwamd_object_init(nwam_object_type_t type, cons argument 277 nwamd_object_find(nwam_object_type_t type, const char *name) argument 417 nwamd_object_set_state_timed(nwam_object_type_t type, const char *name, nwam_state_t state, nwam_aux_state_t aux_state, uint32_t when) argument 431 nwamd_object_set_state(nwam_object_type_t type, const char *name, nwam_state_t state, nwam_aux_state_t aux_state) argument 438 nwamd_object_event_methods(nwam_object_type_t type) argument 450 nwamd_walk_objects(nwam_object_type_t type, int (*cb)(nwamd_object_t, void *), void *data) argument [all...] |
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | blank.c | 51 int type, invalid; local 89 type = ALL; 92 type = SESSION; 95 type = FAST; 98 type = LEADOUT; 107 type = CLEAR; 114 type = CLEAR; 118 /* invalid blank type was passed on the command line */ 123 err_msg(gettext("Invalid blanking type specified\n")); 182 if (!blank_disc(target->d_fd, type, immediat [all...] |
/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathfind.c | 80 * if type!=0 and name has no '.' then file.type also attempted 85 pathfind(const char* name, const char* lib, const char* type, char* buf, size_t size) argument 93 type = 0; 105 if (type) 107 sfsprintf(buf, size, "%s.%s", name, type); 124 if (type) 126 sfsprintf(buf, size, "%-.*s%s%.s", s - error_info.file + 1, error_info.file, name, type); 141 if (type) 143 sfsprintf(tmp, sizeof(tmp), "%s/%s.%s", dp->dir, name, type); [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sysmacros.h | 296 * that the result is correctly calculated based on the data type of (x), 298 * type of the alignment. For example, if (x) is of type uint64_t, 305 #define P2ALIGN_TYPED(x, align, type) \ 306 ((type)(x) & -(type)(align)) 307 #define P2PHASE_TYPED(x, align, type) \ 308 ((type)(x) & ((type)(align) - 1)) 309 #define P2NPHASE_TYPED(x, align, type) \ [all...] |
H A D | beep.h | 104 enum beep_type type; member in struct:beep_params 119 extern int beeper_freq(enum beep_type type, int freq); 121 extern int beep(enum beep_type type); 123 extern int beep_polled(enum beep_type type); 125 extern int beeper_on(enum beep_type type);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_base.c | 91 for (t = typehead;t && strcmp(t->ops->type,ops->type);t = t->next) 111 char *type) 118 for (t = typehead;t && strcmp(t->ops->type,type);t = t->next) 133 return id->ops->type; 182 char *type; local 191 if (!(type = malloc(diff + 1))) 193 (void) strncpy(type, string_name, diff); 194 type[residua 110 krb5_rc_resolve_type(krb5_context context, krb5_rcache *id, char *type) argument [all...] |
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | utils.c | 101 * Return the localized name of an accounting type. 104 ac_type_name(int type) argument 106 switch (type) { 116 die(gettext("invalid type %d\n"), type); 125 * requested type. Needs euid 0 to open the root-owned accounting file. 131 open_exacct_file(const char *file, int type) argument 140 if (!verify_exacct_file(file, type)) { 142 ac_type_name(type)); 151 rc = acctctl(type | AC_FILE_SE 189 verify_exacct_file(const char *file, int type) argument [all...] |
H A D | res.c | 183 name2id(char *name, int type) argument 187 if (acname->ar_type == type && 206 id2name(int id, int type) argument 210 if (acname->ar_type == type && 219 printgroup(int type) argument 224 if (ac_groups[g].ag_type != type) 227 (void) printf("%s", id2name(ac_groups[g].ag_mem[0], type)); 229 (void) printf(",%s", id2name(id, type)); 239 printgroups(int type) argument 243 if ((type 297 str2buf(ac_res_t *buf, char *str, int state, int type) argument 345 buf2str(ac_res_t *buffer, size_t bufsz, int state, int type) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | command.h | 49 DbgMessage(pdev,VERBOSEl2sp | VERBOSEl4sp, "Writing SP prod %d, conn_and_cmd_data=%x, type=%d \n",pdev->sq_info.sq_chain.prod_idx, pending->command.hdr.conn_and_cmd_data, pending->command.hdr.type); 70 * @param type - The type of connection, can optionally 83 u16_t type, 87 /* In some cases type may already contain the func-id (VF specifically) so we add it only if it's not there... */ 88 if (!(type & SPE_HDR_T_FUNCTION_ID)) 90 type |= (FUNC_ID(pdev) << SPE_HDR_T_FUNCTION_ID_SHIFT); 95 pending->command.hdr.type = mm_cpu_to_le16(type); 79 lm_sq_post_fill_entry(struct _lm_device_t* pdev, struct sq_pending_command * pending, u32_t cid, u8_t command, u16_t type, u64_t data, u8_t release_mem_flag) argument 177 lm_command_post( struct _lm_device_t* pdev, u32_t cid, u8_t command, u8_t priority, u16_t type, u64_t data ) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | db_auto.h | 8 u_int32_t type; member in struct:_db_addrem_args 25 u_int32_t type; member in struct:_db_split_args 39 u_int32_t type; member in struct:_db_big_args 57 u_int32_t type; member in struct:_db_ovref_args 70 u_int32_t type; member in struct:_db_relink_args 87 u_int32_t type; member in struct:_db_addpage_args 101 u_int32_t type; member in struct:_db_debug_args
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | property.c | 40 int type; member in struct:_HalProperty 60 if (prop->type == HAL_PROPERTY_TYPE_STRING) { 62 } else if (prop->type == HAL_PROPERTY_TYPE_STRLIST) { 82 prop->type = HAL_PROPERTY_TYPE_STRING; 107 prop->type = HAL_PROPERTY_TYPE_INT32; 121 prop->type = HAL_PROPERTY_TYPE_UINT64; 135 prop->type = HAL_PROPERTY_TYPE_BOOLEAN; 149 prop->type = HAL_PROPERTY_TYPE_DOUBLE; 169 return prop->type; 176 g_return_val_if_fail (prop->type [all...] |
/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dtlist.c | 30 static Void_t* dtlist(reg Dt_t* dt, reg Void_t* obj, reg int type) argument 32 static Void_t* dtlist(dt, obj, type) 35 reg int type; 46 dt->type &= ~DT_FOUND; 49 { if(type&(DT_LAST|DT_FIRST) ) 51 { if(type&DT_LAST) 57 else if(type&(DT_DELETE|DT_DETACH)) 58 { if((dt->data->type&DT_LIST) || !(r = dt->data->head)) 62 else if(type&DT_CLEAR) 79 if(type [all...] |
H A D | dttree.c | 27 ** type: search type. 33 static Void_t* dttree(Dt_t* dt, Void_t* obj, int type) argument 35 static Void_t* dttree(dt,obj,type) 38 int type; 51 dt->type &= ~DT_FOUND; 55 { if(!root || !(type&(DT_CLEAR|DT_FIRST|DT_LAST)) ) 58 if(type&DT_CLEAR) /* delete all objects */ 76 { if(type&DT_LAST) 80 else /* type [all...] |
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_decl.c | 64 inj_decl_lookup(const char *name, inj_itemtype_t type) argument 66 inj_hash_t *hash = item2hash(type); 85 inj_decl_mem_create(const char *name, inj_memtype_t type) argument 90 dlm->dlm_type = type; 98 inj_itemtype_t type) 103 dlm->dlm_type = inj_item2mem(type); 105 if ((dlm->dlm_decl = inj_decl_lookup(declnm, type)) == NULL) { 106 yyerror("unknown %s %s", inj_item2str(type), declnm); 235 inj_decl_finish(inj_decl_t *decl, const char *name, inj_itemtype_t type) argument 244 inj_hash_t *hash = item2hash(type); 97 inj_decl_mem_create_defined(const char *name, const char *declnm, inj_itemtype_t type) argument [all...] |
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_hmc.h | 128 * @type: if sd entry is direct or paged 130 #define I40E_SET_PF_SD_ENTRY(hw, pa, sd_index, type) \ 136 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \ 149 * @type: if sd entry is direct or paged 151 #define I40E_CLEAR_PF_SD_ENTRY(hw, sd_index, type) \ 156 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \ 178 * @type: type of HMC resources we're searching 187 #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\ 190 fpm_addr = (hmc_info)->hmc_obj[(type)] [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | cert.c | 330 CK_CERTIFICATE_TYPE type; local 332 switch (attr->type) { 337 type = *(CK_CERTIFICATE_TYPE *)attr->pValue; 338 if (type == CKC_X_509 || type >= CKC_VENDOR_DEFINED) 396 id_attr->type = CKA_ID; 400 issuer_attr->type = CKA_ISSUER; 404 serial_attr->type = CKA_SERIAL_NUMBER; 419 switch (attr->type) {
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_look.c | 85 t_scalar_t type; local 153 type = *((t_scalar_t *)tiptr->ti_lookbufs.tl_lookcbuf); 161 if ((type == T_ORDREL_IND) && retval && 162 (pptr->type == T_DISCON_IND)) { 163 type = pptr->type; 170 type = pptr->type; 172 switch (type) { 242 * part not large enough to determine type [all...] |
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/ |
H A D | Resource.java | 40 * The type of the resource. 42 private final String type; field in class:Resource 62 Value val = getProperty("type", resource); 63 type = val.getString(); 65 val = getProperty(type + ".name", resource); 68 key = type + "." + name; 81 return (_conf.checkResource(type, name)); 170 buf.append(type); 190 if (type.compareTo(other.getType()) != 0 || 207 return (type [all...] |
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfexcept.c | 29 int _sfexcept(Sfio_t* f, int type, ssize_t io, Sfdisc_t* disc) argument 31 int _sfexcept(f,type,io,disc) 33 int type; /* io type that was performed */ 58 ev = (*(disc->exceptf))(f,type,&io,disc); 73 { if(type == SF_READ) 75 else if(type != SF_WRITE && type != SF_SEEK) 112 ((type == SF_READ && f->next >= f->endb) || 113 (type [all...] |
H A D | sfreserve.c | 30 Void_t* sfreserve(Sfio_t* f, ssize_t size, int type) argument 32 Void_t* sfreserve(f,size,type) 35 int type; /* LOCKR: lock stream, LASTR: last record */ 49 if(type < 0) 51 else if((mode = type&SF_WRITE) ) 52 type &= ~SF_WRITE; 55 if(type == SF_LASTR ) 73 if(type > 0) 74 { if(type == 1 ) /* upward compatibility mode */ 75 type [all...] |
/illumos-gate/usr/src/cmd/scsi/sestopo/common/ |
H A D | sestopo.c | 55 ses_node_type_t type; local 60 type = ses_node_type(np); 61 (void) printf("Node Type: %d\n", type); 66 if (type == SES_NODE_ELEMENT || type == SES_NODE_AGGREGATE) {
|
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmzone.c | 34 * return timezone pointer given name and type 36 * if type==0 then all time zone types match 37 * otherwise type must be one of tm_info.zone[].type 49 tmzone(register const char* name, char** end, const char* type, int* dst) argument 72 if (zp->type) 73 prev = zp->type; 74 if (!type || type == prev || !prev)
|
/illumos-gate/usr/src/cmd/acpi/acpixtract/ |
H A D | acpixtract.h | 53 #define ACPI_GLOBAL(type,name) \ 54 extern type name; \ 55 type name 58 #define ACPI_GLOBAL(type,name) \ 59 extern type name
|