Home
last modified time | relevance | path

Searched refs:new_entry (Results 1 – 25 of 26) sorted by relevance

12

/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ofs_gen_util.c53 genlist_entry_t *new_entry; in add_genlist() local
55 new_entry = (genlist_entry_t *)(kmem_zalloc(sizeof (genlist_entry_t), in add_genlist()
58 if (new_entry != NULL) { in add_genlist()
59 new_entry->data_context = data_context; in add_genlist()
60 new_entry->data = data; in add_genlist()
61 new_entry->next = NULL; in add_genlist()
62 new_entry->prev = list->tail; in add_genlist()
65 list->tail = new_entry; in add_genlist()
66 list->head = new_entry; in add_genlist()
68 list->tail->next = new_entry; in add_genlist()
[all …]
/titanic_50/usr/src/lib/libfsmgt/common/
H A Dfs_dfstab.c161 create_share_cmd(dfstab_entry_t *new_entry, char *temp_line, int *err) in create_share_cmd() argument
172 if (new_entry->fstype) { in create_share_cmd()
173 sprintf(tempstr, "-F %s ", new_entry->fstype); in create_share_cmd()
176 if (new_entry->options) { in create_share_cmd()
177 sprintf(tempstr, "-o %s ", new_entry->options); in create_share_cmd()
180 if (new_entry->description) { in create_share_cmd()
182 new_entry->description); in create_share_cmd()
185 sprintf(tempstr, "%s\n", new_entry->path); in create_share_cmd()
306 dfstab_entry_t *new_entry, in change_dfstab_ent() argument
342 if (new_entry != NULL && (new_cmd = in change_dfstab_ent()
[all …]
H A Dfs_mount_defaults.c214 struct vfstab *new_entry; in fs_add_mount_default() local
217 new_entry = create_vfstab_filter(newp, errp); in fs_add_mount_default()
218 if (new_entry != NULL) { in fs_add_mount_default()
221 putvfsent(fp, new_entry); in fs_add_mount_default()
222 free_vfstab_entry(new_entry); in fs_add_mount_default()
228 free_vfstab_entry(new_entry); in fs_add_mount_default()
/titanic_50/usr/src/cmd/sendmail/aux/
H A Dvacation.c322 struct entry *first = NULL, *last = NULL, *new_entry, *curr; in dumplist() local
326 new_entry = (struct entry *)malloc(sizeof (struct entry)); in dumplist()
327 if (new_entry == NULL) in dumplist()
329 new_entry->next = NULL; in dumplist()
330 new_entry->who = (char *)malloc(key.dsize); in dumplist()
331 if (new_entry->who == NULL) in dumplist()
333 new_entry->who_size = key.dsize; in dumplist()
334 (void) strlcpy(new_entry->who, key.dptr, key.dsize); in dumplist()
335 bcopy(content.dptr, (char *)&(new_entry->when), in dumplist()
336 sizeof (new_entry->when)); in dumplist()
[all …]
/titanic_50/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_llist.c160 DAPL_LLIST_ENTRY * new_entry, in dapl_llist_add_entry() argument
172 entry->blink = new_entry; in dapl_llist_add_entry()
173 last->flink = new_entry; in dapl_llist_add_entry()
175 new_entry->flink = entry; in dapl_llist_add_entry()
176 new_entry->blink = last; in dapl_llist_add_entry()
179 new_entry->data = data; in dapl_llist_add_entry()
180 new_entry->list_head = head; in dapl_llist_add_entry()
/titanic_50/usr/src/lib/libnisdb/
H A Ddb_entry_c.x94 %extern "C" entry_object * new_entry( entry_object*);
99 %extern entry_object * new_entry( entry_object*);
109 %extern void new_entry();
H A Ddb_mindex.cc345 new_entry(table->get_entry(res->getlocation())); in prepare_results()
460 *answer = new_entry(ptr); in first()
486 *answer = new_entry(ptr); in next()
568 *answer = new_entry(ptr); in first()
604 *answer = new_entry(ptr); in next()
710 answer[0] = new_entry(ptr); in all()
718 answer[i] = new_entry(ptr); in all()
H A Dnisdb_mt.cc127 eObj = new_entry((entry_object *)obj); in saveOldObjForModify()
H A Ddb_entry.cc78 new_entry(entry_object *old) in new_entry() function
H A Ddb_table.cc675 tab[where] = new_entry(obj); in add_entry()
/titanic_50/usr/src/cmd/modload/
H A Dadd_drv.c652 struct dev_list *new_entry; in devfs_node() local
692 new_entry = (struct dev_list *)calloc(1, in devfs_node()
694 if (new_entry == (struct dev_list *)NULL) { in devfs_node()
699 if ((new_entry->dev_name = strdup(strbuf)) == NULL) { in devfs_node()
701 free(new_entry); in devfs_node()
705 if ((new_entry->driver_name = strdup(di_driver_name(node))) in devfs_node()
708 free(new_entry->dev_name); in devfs_node()
709 free(new_entry); in devfs_node()
714 new_entry->clone = 1; in devfs_node()
717 new_entry->next = conflict_lst; in devfs_node()
[all …]
/titanic_50/usr/src/uts/common/crypto/core/
H A Dkcf_cryptoadm.c1051 kcf_soft_conf_entry_t *prev = NULL, *entry = NULL, *new_entry, *p; in add_soft_config() local
1059 new_entry = kmem_zalloc(sizeof (kcf_soft_conf_entry_t), KM_SLEEP); in add_soft_config()
1060 new_entry->ce_name = kmem_alloc(name_len, KM_SLEEP); in add_soft_config()
1061 (void) strcpy(new_entry->ce_name, name); in add_soft_config()
1077 kmem_free(new_entry->ce_name, name_len); in add_soft_config()
1078 kmem_free(new_entry, sizeof (kcf_soft_conf_entry_t)); in add_soft_config()
1084 kmem_free(new_entry->ce_name, name_len); in add_soft_config()
1085 kmem_free(new_entry, sizeof (kcf_soft_conf_entry_t)); in add_soft_config()
1091 new_entry->ce_next = soft_config_list; in add_soft_config()
1092 soft_config_list = new_entry; in add_soft_config()
[all …]
/titanic_50/usr/src/cmd/krb5/kadmin/cli/
H A Dkeytab.c266 krb5_keytab_entry new_entry; in add_principal() local
383 memset((char *) &new_entry, 0, sizeof(new_entry)); in add_principal()
384 new_entry.principal = princ; in add_principal()
385 new_entry.key = keys[i]; in add_principal()
386 new_entry.vno = princ_rec.kvno; in add_principal()
388 code = krb5_kt_add_entry(context, keytab, &new_entry); in add_principal()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c263 krb5_keytab_entry cur_entry, new_entry; in krb5_ktfile_get_entry() local
288 if ((kerror = krb5_ktfileint_read_entry(context, id, &new_entry))) in krb5_ktfile_get_entry()
306 new_entry.principal)) { in krb5_ktfile_get_entry()
307 krb5_kt_free_entry(context, &new_entry); in krb5_ktfile_get_entry()
311 new_entry.principal)) { in krb5_ktfile_get_entry()
312 krb5_kt_free_entry(context, &new_entry); in krb5_ktfile_get_entry()
321 new_entry.key.enctype, in krb5_ktfile_get_entry()
323 krb5_kt_free_entry(context, &new_entry); in krb5_ktfile_get_entry()
328 krb5_kt_free_entry(context, &new_entry); in krb5_ktfile_get_entry()
335 new_entry.key.enctype = enctype; in krb5_ktfile_get_entry()
[all …]
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinit_sec_context.c1154 krb5_keytab_entry cur_entry, new_entry; local
1178 if ((kerror = krb5_ktfileint_read_entry(context, id, &new_entry)))
1193 new_entry.principal)) {
1194 krb5_kt_free_entry(context, &new_entry);
1205 new_entry.key.enctype,
1207 krb5_kt_free_entry(context, &new_entry);
1212 krb5_kt_free_entry(context, &new_entry);
1219 new_entry.key.enctype = enctype;
1244 if (new_entry.vno > 240)
1247 M(new_entry.vno) > M(cur_entry.vno)) {
[all …]
/titanic_50/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c1851 struct name_list *new_entry, *prev_entry; in insert_alias_list() local
1855 if ((new_entry = in insert_alias_list()
1860 if ((new_entry->name = strdup(alias_name)) == NULL) { in insert_alias_list()
1861 free(new_entry); in insert_alias_list()
1864 new_entry->next = NULL; in insert_alias_list()
1867 *list = new_entry; in insert_alias_list()
1885 free(new_entry->name); in insert_alias_list()
1886 free(new_entry); in insert_alias_list()
1893 new_entry->next = entry; in insert_alias_list()
1896 *list = new_entry; in insert_alias_list()
[all …]
/titanic_50/usr/src/cmd/ldap/common/
H A Dldapmodify.c450 int deleteoldrdn, saw_replica, use_record, new_entry, delete_entry; local
454 new_entry = newval;
586 new_entry = 0;
589 new_entry = 1;
612 new_entry = 1;
754 rc = domodify( ld, dn, pmods, new_entry );
756 rc = domodify( dn, pmods, new_entry );
/titanic_50/usr/src/lib/pyzfs/common/
H A Duserspace.py63 def new_entry(options, isgroup, domain, rid): function
123 v = new_entry(options, isgroup, domain, rid)
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.c886 genlist_entry_t *entry, *new_entry; in sol_uverbs_close() local
1014 new_entry = add_genlist(&tmp_genlist, entry->data, in sol_uverbs_close()
1016 uqp->list_entry = new_entry; in sol_uverbs_close()
1047 new_entry = add_genlist(&tmp_genlist, entry->data, in sol_uverbs_close()
1049 ucq->list_entry = new_entry; in sol_uverbs_close()
1081 new_entry = add_genlist(&tmp_genlist, entry->data, in sol_uverbs_close()
1083 usrq->list_entry = new_entry; in sol_uverbs_close()
1125 new_entry = add_genlist(&tmp_genlist, entry->data, in sol_uverbs_close()
1127 upd->list_entry = new_entry; in sol_uverbs_close()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dlocaltime.c885 state_t *entry, *new_entry; in ltzset_u() local
910 new_entry = malloc(sizeof (state_t)); in ltzset_u()
919 new_entry = NULL; in ltzset_u()
938 entry = new_entry; in ltzset_u()
1005 new_entry = NULL; in ltzset_u()
1021 return (new_entry); in ltzset_u()
/titanic_50/usr/src/cmd/cpio/
H A Dcpio.c851 struct Lnk *new_entry, *sublist; in add_lnk() local
863 new_entry = e_zalloc(E_EXIT, sizeof (struct Lnk)); in add_lnk()
865 new_entry->L_lnk_p = NULL; in add_lnk()
866 new_entry->L_gen = *G_p; /* structure copy */ in add_lnk()
868 new_entry->L_gen.g_nam_p = e_zalloc(E_EXIT, (size_t)G_p->g_namesz); in add_lnk()
870 (void) strcpy(new_entry->L_gen.g_nam_p, G_p->g_nam_p); in add_lnk()
874 new_entry->L_nxt_p = &Lnk_hd; in add_lnk()
875 new_entry->L_bck_p = Lnk_hd.L_bck_p; in add_lnk()
876 Lnk_hd.L_bck_p = new_entry->L_bck_p->L_nxt_p = new_entry; in add_lnk()
877 new_entry->L_lnk_p = NULL; in add_lnk()
[all …]
/titanic_50/usr/src/lib/libbsm/common/
H A Ddevalloc.c1743 int new_entry = 0; in da_add_list() local
1810 new_entry = 1; in da_add_list()
1863 if (new_entry) { in da_add_list()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c1877 uint8_t new_entry; /* index to current entry */ in ql_enqueue_aen() local
1911 new_entry = xp->aen_q_tail; in ql_enqueue_aen()
1912 aen_queue[new_entry].AsyncEventCode = event_code; in ql_enqueue_aen()
1927 aen_queue[new_entry].Payload.RSCN.RSCNInfo[0] = in ql_enqueue_aen()
1930 aen_queue[new_entry].Payload.RSCN.RSCNInfo[1] = in ql_enqueue_aen()
1933 aen_queue[new_entry].Payload.RSCN.RSCNInfo[2] = in ql_enqueue_aen()
1936 BIG_ENDIAN_24(&aen_queue[new_entry]. in ql_enqueue_aen()
1939 aen_queue[new_entry].Payload.RSCN.AddrFormat = in ql_enqueue_aen()
1947 aen_queue[new_entry].AsyncEventCode = 0; in ql_enqueue_aen()
/titanic_50/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl.h1145 DAPL_LLIST_ENTRY *new_entry,
/titanic_50/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c16046 struct fcp_black_list_entry *new_entry = NULL; in fcp_add_one_mask() local
16060 new_entry = (struct fcp_black_list_entry *)kmem_zalloc in fcp_add_one_mask()
16062 bcopy(&wwn, &new_entry->wwn, sizeof (la_wwn_t)); in fcp_add_one_mask()
16063 new_entry->lun = lun_id; in fcp_add_one_mask()
16064 new_entry->masked = 0; in fcp_add_one_mask()
16065 new_entry->next = *pplun_blacklist; in fcp_add_one_mask()
16066 *pplun_blacklist = new_entry; in fcp_add_one_mask()

12