/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_flush.c | 78 smb_llist_t *flist; local 95 flist = &sr->tid_tree->t_ofile_list; 96 smb_llist_enter(flist, RW_READER); 97 file = smb_llist_head(flist); 102 file = smb_llist_next(flist, file); 104 smb_llist_exit(flist);
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | printlist.c | 39 struct stringlist *flist = &fhead; variable in typeref:struct:stringlist
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_init.c | 355 profile_filespec_t *flist = 0; local 373 flist = (profile_filespec_t *) malloc(sizeof(profile_filespec_t) * (fcount + 1)); 374 if (!flist) 377 memset(flist, 0, sizeof(char *) * (fcount+1)); 380 flist[i] = (char *) malloc((size_t) (tmp+1)); 381 if (!flist[i]) 383 memcpy(flist[i], bp, (size_t) tmp); 384 flist[i][tmp] = '\0'; 396 if ((retval = profile_init((const_profile_filespec_t *) flist, 404 if (flist) { [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | malloc.c | 97 static void *flist[FREESIZE]; /* list of blocks to be freed on next malloc */ variable 98 static int freeidx; /* index of free blocks in flist % FREESIZE */ 208 flist[freeidx] = Lfree = NULL; 216 flist[freeidx] = Lfree = NULL; 847 * by old. The pointer to old is saved on a list, flist, 849 * blocks pointed to in flist are actually freed via 888 if (old == flist[i]) 891 if (flist[freeidx] != NULL) 892 realfree(flist[freeidx]); 893 flist[freeid [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_conn.c | 303 uchar_t *flist; local 310 flist = kmem_alloc(fsize, KM_NOSLEEP); 311 if (slist == NULL || flist == NULL) { 314 if (flist != NULL) 315 kmem_free(flist, fsize); 323 sctp_get_faddr_list(eager, flist, fsize); 325 eager->sctp_nsaddrs, econnp->conn_lport, flist, 625 uchar_t *flist; local 632 flist = kmem_alloc(fsize, KM_SLEEP); 635 sctp_get_faddr_list(sctp, flist, fsiz [all...] |
H A D | sctp_hash.c | 164 uchar_t *flist; local 189 flist = kmem_alloc(fsize, cansleep ? KM_SLEEP : KM_NOSLEEP); 190 if (slist == NULL || flist == NULL) { 194 if (flist != NULL) 195 kmem_free(flist, fsize); 201 sctp_get_faddr_list(sctp, flist, fsize); 215 cl_sctpi.cl_sctpi_faddrp = flist; 218 kmem_free(flist, fsize);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_decl.c | 300 * Examine the list of formal parameters 'flist' and determine if the formal 302 * If 'fnp' is in 'flist', do not search beyond 'fnp' itself in 'flist'. 305 dt_decl_protoform(dt_node_t *fnp, dt_node_t *flist) argument 309 for (dnp = flist; dnp != fnp && dnp != NULL; dnp = dnp->dn_list) { 321 * against which to compare the prototype is specified as 'flist'. If plist 322 * and flist are the same, we require that named parameters are unique. If 323 * plist and flist are different, we require that named parameters in plist 324 * match a name that is present in flist. 328 dt_node_t *flist, cons 327 dt_decl_prototype(dt_node_t *plist, dt_node_t *flist, const char *kind, uint_t flags) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockparams.c | 770 list_t *flist; local 776 flist = (ent->sofe_flags & SOFEF_AUTO) ? 778 for (fil = list_head(flist); fil != NULL; 779 fil = list_next(flist, fil)) { 781 list_remove(flist, fil);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | new_host.c | 119 struct ST_FCN_LIST *flist = (struct ST_FCN_LIST *)FunctionList; local 159 if (flist != NULL) 160 (*flist) = function_list;
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem.c | 822 int hb, flist, resv; local 880 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); 887 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); 890 for (vbest = NULL, vsp = (flist == 0) ? NULL : 891 vmp->vm_freelist[flist - 1].vs_knext; 905 flist = lowbit(P2ALIGN(vmp->vm_freemap, 907 if (flist-- == 0) 909 vsp = (vmem_seg_t *)&vmp->vm_freelist[flist]; 1071 int flist = 0; local 1099 flist [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | msg.c | 1260 msg_wakeup_rdr(kmsqid_t *qp, msg_select_t **flist, long type) argument 1262 msg_select_t *walker = *flist; 1271 } while (!wakeup && walker != *flist); 1273 *flist = (*flist)->next_selection;
|
H A D | vmem.c | 920 int flist = 0; local 924 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); 926 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); 928 return (flist); 946 int hb, flist, resv; local 997 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); 1004 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); 1007 for (vbest = NULL, vsp = (flist == 0) ? NULL : 1008 vmp->vm_freelist[flist - 1].vs_knext; 1022 flist 1268 int flist = 0; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | igmp.c | 84 mcast_record_t rtype, slist_t *flist); 85 static mrec_t *mcast_merge_rtx(ilm_t *ilm, mrec_t *rp, slist_t *flist); 1018 igmp_statechange(ilm_t *ilm, mcast_record_t fmode, slist_t *flist) argument 1056 l_difference(ilm->ilm_filter, flist, a_minus_b); 1057 l_difference(flist, ilm->ilm_filter, b_minus_a); 1076 rp = mcast_bldmrec(CHANGE_TO_EXCLUDE, &ilm->ilm_v6addr, flist, 1080 rp = mcast_bldmrec(CHANGE_TO_INCLUDE, &ilm->ilm_v6addr, flist, 1089 rp = mcast_merge_rtx(ilm, rp, flist); 1109 mld_statechange(ilm_t *ilm, mcast_record_t fmode, slist_t *flist) argument 1147 l_difference(ilm->ilm_filter, flist, a_minus_ 2741 mcast_init_rtx(ill_t *ill, rtx_state_t *rtxp, mcast_record_t rtype, slist_t *flist) argument 2800 mcast_merge_rtx(ilm_t *ilm, mrec_t *mreclist, slist_t *flist) argument [all...] |
H A D | ip_multi.c | 66 slist_t *flist); 352 ilm_gen_filter(ilm_t *ilm, mcast_record_t *fmode, slist_t *flist) argument 370 flist->sl_numsrc = 0; 377 flist->sl_numsrc = 0; 389 l_copy(&fbld.fbld_in, flist); 392 l_difference(&fbld.fbld_ex, &fbld.fbld_in, flist); 403 slist_t *flist; local 419 if ((flist = l_alloc()) == NULL) 424 l_free(flist); 443 flist 484 slist_t *flist; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | platform.c | 935 char **flist; local 956 flist = platform_get_files(dirlist, fname, nodups); 962 return (flist); 1424 platform_free_eft_files(char **flist) argument 1428 if (flist == NULL || *flist == NULL) 1431 f = flist; 1436 FREE(flist);
|
/illumos-gate/usr/src/cmd/ls/ |
H A D | ls.c | 230 static int nfiles = 0; /* number of flist entries in current use */ 231 static int nargs = 0; /* number of flist entries used for arguments */ 232 static int maxfils = 0; /* number of flist/lbuf entries allocated */ 233 static int maxn = 0; /* number of flist entries with lbufs asigned */ 237 static struct lbuf **flist; /* ptr to list of lbuf pointers */ variable in typeref:struct:lbuf 1017 /* allocate space for flist and the associated */ 1020 if (((flist = malloc(maxfils * sizeof (struct lbuf *))) == NULL) || 1091 nargs++; /* count good arguments stored in flist */ 1097 qsort(flist, (unsigned)nargs, sizeof (struct lbuf *), 1100 if ((flist[ [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 7036 ipqos_conf_filter_t **flist, 7204 * number and add to flist filter list. 7214 ADD_TO_LIST(flist, nfilter); 7237 * add to flist filter list. 7245 ADD_TO_LIST(flist, nfilter); 7265 * add to flist filter list. 7273 ADD_TO_LIST(flist, nfilter); 7034 domultihome( ipqos_conf_filter_t *filter, ipqos_conf_filter_t **flist, boolean_t last_retry) argument
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 1739 filelist_t flist; local 1740 filelist_t *flistp = &flist; 3138 filelist_t flist; local 3139 filelist_t *flistp = &flist; 3197 ret = walk_list(root, &flist); 3260 check_cmdline(filelist_t flist) argument 3264 for (lp = flist.head; lp; lp = lp->next) { 3276 dump_errormsg(filelist_t flist) argument 3280 for (lp = flist.head; lp; lp = lp->next) 3368 filelist_t flist local 3487 filelist_t flist = {0}; local 3646 filelist_t flist = {0}; local 4213 filelist_t flist = {0}; local 5848 filelist_t flist = {0}; local 5941 filelist_t flist = {0}; local 6133 filelist_t flist = {0}; local 6467 filelist_t flist = {0}; local 7846 filelist_t flist = {0}; local 8065 filelist_t flist = {0}; local [all...] |