/titanic_41/usr/src/cmd/smbsrv/dtrace/ |
H A D | msrpc.d | 102 smb_tree*:entry, 103 smb_com_*:entry, 105 smb_com_session_setup_andx:entry, 106 smb_com_logoff_andx:entry, 108 smb_tree_disconnect:entry, 110 smb_opipe_open:entry, 111 smb_opipe_door_call:entry, 112 smb_opipe_door_upcall:entry, 113 door_ki_upcall:entry 137 smb_tree_connect:entry [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/libinst/ |
H A D | isreloc.c | 51 static int has_rel_path(char *entry); 52 static int is_relative(char *entry); 135 has_rel_path(char *entry) in has_rel_path() argument 140 if (*entry == NULL || strchr(IGNORE_START, *entry)) in has_rel_path() 144 if (isdigit(*entry)) { in has_rel_path() 145 while (*entry && !isspace(*entry)) { in has_rel_path() 146 entry++; in has_rel_path() 151 while (*entry && isspace(*entry)) { in has_rel_path() 152 entry++; in has_rel_path() 161 if (*entry == NULL || strchr(IGNORE_TYPE, *entry)) in has_rel_path() [all …]
|
/titanic_41/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_llist.c | 75 dapl_llist_init_entry(DAPL_LLIST_ENTRY *entry) in dapl_llist_init_entry() argument 77 entry->blink = NULL; in dapl_llist_init_entry() 78 entry->flink = NULL; in dapl_llist_init_entry() 79 entry->data = 0; in dapl_llist_init_entry() 80 entry->list_head = NULL; in dapl_llist_init_entry() 101 DAPL_LLIST_ENTRY *entry, in dapl_llist_add_head() argument 108 entry->flink = entry; in dapl_llist_add_head() 109 entry->blink = entry; in dapl_llist_add_head() 112 entry->flink = first; in dapl_llist_add_head() 113 entry->blink = first->blink; in dapl_llist_add_head() [all …]
|
/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_linux_list.h | 49 #define list_entry(entry, type, member) (type *)(uintptr_t)(entry->contain_ptr) argument 57 #define list_add(entry, head, con_ptr) { \ argument 58 (head)->next->prev = entry; \ 59 (entry)->next = (head)->next; \ 60 (entry)->prev = head; \ 61 (head)->next = entry; \ 62 (entry)->contain_ptr = con_ptr; \ 65 #define list_add_tail(entry, head, con_ptr) { \ argument 66 (entry)->prev = (head)->prev; \ 67 (entry)->next = head; \ [all …]
|
H A D | drm_scatter.c | 55 drm_sg_cleanup(drm_device_t *dev, drm_sg_mem_t *entry) in drm_sg_cleanup() argument 57 int pages = entry->pages; in drm_sg_cleanup() 59 if (entry->busaddr) { in drm_sg_cleanup() 60 kmem_free(entry->busaddr, sizeof (*entry->busaddr) * pages); in drm_sg_cleanup() 61 entry->busaddr = NULL; in drm_sg_cleanup() 64 ASSERT(entry->umem_cookie == NULL); in drm_sg_cleanup() 66 if (entry->dmah_sg) { in drm_sg_cleanup() 67 drm_pci_free(dev, entry->dmah_sg); in drm_sg_cleanup() 68 entry->dmah_sg = NULL; in drm_sg_cleanup() 71 if (entry->dmah_gart) { in drm_sg_cleanup() [all …]
|
H A D | drm_mm.c | 57 struct drm_mm_node *entry; in drm_mm_tail_space() local 60 entry = list_entry(tail_node, struct drm_mm_node, ml_entry); in drm_mm_tail_space() 61 if (!entry->free) in drm_mm_tail_space() 64 return (entry->size); in drm_mm_tail_space() 71 struct drm_mm_node *entry; in drm_mm_remove_space_from_tail() local 74 entry = list_entry(tail_node, struct drm_mm_node, ml_entry); in drm_mm_remove_space_from_tail() 75 if (!entry->free) in drm_mm_remove_space_from_tail() 78 if (entry->size <= size) in drm_mm_remove_space_from_tail() 81 entry->size -= size; in drm_mm_remove_space_from_tail() 114 struct drm_mm_node *entry; in drm_mm_add_space_to_tail() local [all …]
|
H A D | drm_agpsupport.c | 217 drm_agp_mem_t *entry; in drm_agp_alloc() local 228 entry = kmem_zalloc(sizeof (*entry), KM_SLEEP); in drm_agp_alloc() 237 kmem_free(entry, sizeof (*entry)); in drm_agp_alloc() 241 entry->bound = 0; in drm_agp_alloc() 242 entry->pages = pages; in drm_agp_alloc() 243 entry->handle = (void*)(uintptr_t)(alloc.agpa_key + DRM_AGP_KEY_OFFSET); in drm_agp_alloc() 244 entry->prev = NULL; in drm_agp_alloc() 245 entry->phys_addr = (void*)(uintptr_t)alloc.agpa_physical; in drm_agp_alloc() 246 entry->next = dev->agp->memory; in drm_agp_alloc() 248 dev->agp->memory->prev = entry; in drm_agp_alloc() [all …]
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_xdr.c | 62 krb5_encode_princ_contents(context, content, entry) in krb5_encode_princ_contents() argument 65 krb5_db_entry * entry; 93 content->length = entry->len + entry->e_length; 95 if ((retval = krb5_unparse_name(context, entry->princ, &unparse_princ))) 104 for (tl_data = entry->tl_data; tl_data; tl_data = tl_data->tl_data_next) { 110 if (i != entry->n_tl_data) { 116 for (i = 0; i < entry->n_key_data; i++) { 118 for (j = 0; j < entry->key_data[i].key_data_ver; j++) { 119 content->length += entry->key_data[i].key_data_length[j]; 136 krb5_kdb_encode_int16(entry->len, nextloc); [all …]
|
/titanic_41/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_policy.c | 64 kadm5_policy_ent_t entry, long mask) in kadm5_create_policy() argument 73 return kadm5_create_policy_internal(server_handle, entry, mask); in kadm5_create_policy() 98 kadm5_policy_ent_t entry, long mask) in kadm5_create_policy_internal() argument 107 if ((entry == (kadm5_policy_ent_t) NULL) || (entry->policy == NULL)) in kadm5_create_policy_internal() 109 if(strlen(entry->policy) == 0) in kadm5_create_policy_internal() 114 pent.name = entry->policy; in kadm5_create_policy_internal() 115 p = entry->policy; in kadm5_create_policy_internal() 125 pent.pw_max_life = entry->pw_max_life; in kadm5_create_policy_internal() 130 if(entry->pw_min_life > entry->pw_max_life && entry->pw_max_life != 0) in kadm5_create_policy_internal() 133 pent.pw_min_life = entry->pw_min_life; in kadm5_create_policy_internal() [all …]
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_db.c | 55 rfs4_dbe_getid(rfs4_dbe_t *entry) in rfs4_dbe_getid() argument 57 return (entry->dbe_id); in rfs4_dbe_getid() 61 rfs4_dbe_hold(rfs4_dbe_t *entry) in rfs4_dbe_hold() argument 63 atomic_inc_32(&entry->dbe_refcnt); in rfs4_dbe_hold() 70 rfs4_dbe_rele_nolock(rfs4_dbe_t *entry) in rfs4_dbe_rele_nolock() argument 72 atomic_dec_32(&entry->dbe_refcnt); in rfs4_dbe_rele_nolock() 77 rfs4_dbe_refcnt(rfs4_dbe_t *entry) in rfs4_dbe_refcnt() argument 79 return (entry->dbe_refcnt); in rfs4_dbe_refcnt() 87 rfs4_dbe_invalidate(rfs4_dbe_t *entry) in rfs4_dbe_invalidate() argument 89 entry->dbe_invalid = TRUE; in rfs4_dbe_invalidate() [all …]
|
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ofs_gen_util.c | 79 void delete_genlist(genlist_t *list, genlist_entry_t *entry) { in delete_genlist() argument 81 ASSERT(entry); in delete_genlist() 83 if (entry->prev) { in delete_genlist() 84 entry->prev->next = entry->next; in delete_genlist() 86 list->head = entry->next; in delete_genlist() 89 if (entry->next) { in delete_genlist() 90 entry->next->prev = entry->prev; in delete_genlist() 92 list->tail = entry->prev; in delete_genlist() 96 entry->prev = entry->next = NULL; in delete_genlist() 97 kmem_free((void *)entry, sizeof (genlist_entry_t)); in delete_genlist() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_cache.c | 93 struct name_entry *entry; in smb_netbios_cache_getfirst() local 102 entry = (struct name_entry *)item->hi_data; in smb_netbios_cache_getfirst() 103 (void) mutex_lock(&entry->mtx); in smb_netbios_cache_getfirst() 104 iter->nbc_entry = smb_netbios_name_dup(entry, 1); in smb_netbios_cache_getfirst() 105 (void) mutex_unlock(&entry->mtx); in smb_netbios_cache_getfirst() 116 struct name_entry *entry; in smb_netbios_cache_getnext() local 125 entry = (struct name_entry *)item->hi_data; in smb_netbios_cache_getnext() 126 (void) mutex_lock(&entry->mtx); in smb_netbios_cache_getnext() 127 iter->nbc_entry = smb_netbios_name_dup(entry, 1); in smb_netbios_cache_getnext() 128 (void) mutex_unlock(&entry->mtx); in smb_netbios_cache_getnext() [all …]
|
/titanic_41/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 61 struct entry { struct 70 static struct entry *entry; argument 82 static int hcompare(const struct entry *, const struct entry *); 83 static int icompare(const struct entry *, const struct entry *); 84 static int ucompare(const struct entry *, const struct entry *); 110 entry = malloc(sizeof (struct entry) * total_entries); in main() 165 free(entry); in main() 190 free(entry); in main() 202 struct entry *tmp; in singlehost() 205 if ((tmp = realloc(entry, sizeof (struct entry) in singlehost() [all …]
|
H A D | rup.c | 59 struct entry { struct 70 struct entry *entry; argument 93 entry = malloc(sizeof (struct entry) * total_entries); in main() 130 free(entry); in main() 133 free(entry); in main() 184 free(entry); in main() 200 struct entry *tmp; 203 tmp = realloc((struct entry *)entry, sizeof (struct entry) 208 entry = tmp; 235 entry[curentry].machine = host; [all …]
|
/titanic_41/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_logon.c | 84 smb_audit_t *entry; in smbd_user_auth_logon() local 161 if ((entry = malloc(sizeof (smb_audit_t))) == NULL) { in smbd_user_auth_logon() 168 entry->sa_handle = ah; in smbd_user_auth_logon() 169 entry->sa_uid = uid; in smbd_user_auth_logon() 170 entry->sa_gid = gid; in smbd_user_auth_logon() 171 entry->sa_username = strdup(username); in smbd_user_auth_logon() 172 entry->sa_domain = strdup(domain); in smbd_user_auth_logon() 175 smbd_audit_link(entry); in smbd_user_auth_logon() 176 token->tkn_audit_sid = entry->sa_audit_sid; in smbd_user_auth_logon() 189 smb_audit_t *entry; in smbd_user_nonauth_logon() local [all …]
|
/titanic_41/usr/src/cmd/acct/ |
H A D | acctdusg.c | 82 struct disk *entry; in main() local 105 if ((entry = hash_find(pw->pw_uid)) == NULL) in main() 106 entry = hash_insert(pw->pw_uid); in main() 107 validate_entry(entry, pw); in main() 184 struct disk *entry; in output() local 187 for (entry = usglist[index]; in output() 188 entry != NULL; entry = entry->next) { in output() 189 if (entry->dsk_du != 0) { in output() 191 entry->dsk_uid, in output() 192 entry->dsk_name, in output() [all …]
|
/titanic_41/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil_funcs.c | 58 retval = krb5_kt_free_entry(context, lp->entry); 59 free((char *)lp->entry); 109 krb5_keytab_entry *entry; local 143 entry = (krb5_keytab_entry *) malloc(sizeof(krb5_keytab_entry)); 144 if (!entry) { 147 memset((char *) entry, 0, sizeof(*entry)); 163 lp->entry = entry; 188 memcpy(&lp->entry->key, &key, sizeof(krb5_keyblock)); 207 lp->entry->key.enctype = enctype; 208 lp->entry->key.contents = (krb5_octet *) malloc((strlen(buf) + 1) / 2); [all …]
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_event.c | 36 static void emlxs_event_destroy(emlxs_hba_t *hba, emlxs_event_entry_t *entry); 151 emlxs_event_destroy(emlxs_hba_t *hba, emlxs_event_entry_t *entry) in emlxs_event_destroy() argument 157 port = (emlxs_port_t *)entry->port; in emlxs_event_destroy() 164 if (entry->prev) { in emlxs_event_destroy() 165 entry->prev->next = entry->next; in emlxs_event_destroy() 167 if (entry->next) { in emlxs_event_destroy() 168 entry->next->prev = entry->prev; in emlxs_event_destroy() 170 if (eventq->first == entry) { in emlxs_event_destroy() 171 eventq->first = entry->next; in emlxs_event_destroy() 173 if (eventq->last == entry) { in emlxs_event_destroy() [all …]
|
H A D | emlxs_msg.c | 38 static void emlxs_msg_sprintf(char *buffer, emlxs_msg_entry_t *entry); 49 if (log->entry) { in emlxs_msg_log_create() 59 log->entry = (emlxs_msg_entry_t *)kmem_zalloc(size, KM_SLEEP); in emlxs_msg_log_create() 92 if (!log->entry) { in emlxs_msg_lock_reinit() 117 if (!log->entry) { in emlxs_msg_log_destroy() 130 kmem_free(log->entry, size); in emlxs_msg_log_destroy() 145 emlxs_msg_entry_t *entry; in emlxs_msg_log() local 156 if (log->entry == NULL) { in emlxs_msg_log() 168 entry = &log->entry[last]; in emlxs_msg_log() 171 if ((entry->instance == log->instance) && in emlxs_msg_log() [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/installf/ |
H A D | dofinal.c | 59 struct cfextra entry; in dofinal() local 63 entry.cf_ent.pinfo = NULL; in dofinal() 64 entry.fsys_value = BADFSYS; in dofinal() 65 entry.fsys_base = BADFSYS; in dofinal() 76 while (n = srchcfile(&(entry.cf_ent), "*", server)) { in dofinal() 81 (entry.cf_ent.path && *(entry.cf_ent.path)) ? in dofinal() 82 entry.cf_ent.path : "Unknown"); in dofinal() 87 save_path = check_db_entry(vfpo, &entry, rmflag, myclass, in dofinal() 92 entry.cf_ent.path = save_path; in dofinal() 103 check_db_entry(VFP_T *vfpo, struct cfextra *entry, int rmflag, char *myclass, in check_db_entry() argument [all …]
|
/titanic_41/usr/src/cmd/vscan/vscand/ |
H A D | vscan.d | 134 fbt:vscan:vscan_svc_reql_insert:entry 150 fbt:vscan:vscan_svc_insert_req:entry 160 fbt:vscan:vscan_svc_delete_req:entry 168 fbt:vscan:vscan_svc_reql_handler:entry, 173 fbt:vscan:vscan_svc_taskq_callback:entry, 174 fbt:vscan:vscan_svc_do_scan:entry 181 fbt:vscan:vscan_svc_scan_complete:entry 208 fbt:vscan:vscan_svc_enable:entry, 210 fbt:vscan:vscan_svc_disable:entry, 212 fbt:vscan:vscan_svc_configure:entry, [all …]
|
/titanic_41/usr/src/cmd/gss/gsscred/ |
H A D | gsscred_file.c | 59 static int matchEntry(const char *entry, const gss_buffer_t name, 104 char entry[MAX_ENTRY_LEN+1]; in file_getGssCredEntry() local 109 (void) snprintf(entry, sizeof (entry), in file_getGssCredEntry() 112 *errDetails = strdup(entry); in file_getGssCredEntry() 119 while (fgets(entry, MAX_ENTRY_LEN, fp) != NULL) { in file_getGssCredEntry() 122 (void) fprintf(stdout, "%s", entry); in file_getGssCredEntry() 126 if (matchEntry(entry, name, uid, NULL)) in file_getGssCredEntry() 127 (void) fprintf(stdout, "%s", entry); in file_getGssCredEntry() 148 char entry[MAX_ENTRY_LEN+1]; in file_getGssCredUid() local 155 while (fgets(entry, MAX_ENTRY_LEN, fp) != NULL) { in file_getGssCredUid() [all …]
|
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_event.c | 132 llist_head_t *entry; in sol_uverbs_event_file_read() local 182 entry = ufile->event_list.nxt; in sol_uverbs_event_file_read() 183 evt = entry->ptr; in sol_uverbs_event_file_read() 187 entry, evt, &evt->ev_list); in sol_uverbs_event_file_read() 374 llist_head_t *entry; in uverbs_release_event_file() local 392 entry = ufile->event_list.nxt; in uverbs_release_event_file() 393 list_tmp = entry->nxt; in uverbs_release_event_file() 394 while (entry != &ufile->event_list) { in uverbs_release_event_file() 395 ASSERT(entry); in uverbs_release_event_file() 396 evt = (uverbs_event_t *)entry->ptr; in uverbs_release_event_file() [all …]
|
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | dm_platform.c | 189 ipmi_cache_entry_t *entry; in platform_update_fru() local 241 for (entry = uu_list_first(g_ipmi_cache); entry != NULL; in platform_update_fru() 242 entry = uu_list_next(g_ipmi_cache, entry)) { in platform_update_fru() 243 if (entry->ic_type == IPMI_CACHE_FRU && in platform_update_fru() 244 entry->ic_data.ic_fru.isf_type == gid && in platform_update_fru() 245 entry->ic_data.ic_fru.isf_id == hdd) in platform_update_fru() 249 if (entry == NULL) { in platform_update_fru() 250 entry = dzmalloc(sizeof (ipmi_cache_entry_t)); in platform_update_fru() 251 entry->ic_type = IPMI_CACHE_FRU; in platform_update_fru() 252 (void) uu_list_insert_before(g_ipmi_cache, NULL, entry); in platform_update_fru() [all …]
|
/titanic_41/usr/src/lib/udapl/libdat/common/ |
H A D | udat_sr_parser.c | 146 DAT_SR_CONF_ENTRY *entry); 150 DAT_SR_CONF_ENTRY *entry); 167 DAT_SR_CONF_ENTRY *entry); 172 DAT_SR_CONF_ENTRY *entry); 177 DAT_SR_CONF_ENTRY *entry); 182 DAT_SR_CONF_ENTRY *entry); 187 DAT_SR_CONF_ENTRY *entry); 192 DAT_SR_CONF_ENTRY *entry); 197 DAT_SR_CONF_ENTRY *entry); 202 DAT_SR_CONF_ENTRY *entry); [all …]
|