/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_utils.c | 126 * need pool name, menu.lst has entries from our pool only 625 char *entries[BUFSIZ]; local 753 entries[num_lines] = strdup(str); 761 entries[num_lines] = tmp_entries[i]; 771 entries[num_lines] = strdup(str); 784 entries[num_lines] = 788 entries[num_lines] = strdup(temp_line); 837 (void) fprintf(menu_fp, "%s", entries[i]); 838 free(entries[i]); 885 free(entries[ 1374 int default_entry = 0, entries = 0; local 1533 int fd, entries = 0; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | metaslab.c | 187 * Maximum entries that the metaslab allocation tracing facility will keep 189 * of entries in non-debug mode to prevent us from using up too much memory. 2038 uint64_t size, entries, segsz, object_size, optimal_size, record_size; local 2056 * Calculate the number of 64-bit entries this segment would 2062 entries = size / (MIN(size, SM_RUN_MAX)); 2063 segsz = entries * sizeof (uint64_t); 2079 * the entries of the free range tree. 2530 panic("too many entries in allocation list");
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 924 int len, size, entries = 0; local 937 entries++; 943 return (entries); 3240 * and the number of entries (count) as the function return value; 3290 * and the number of entries (count) as the function return value;
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | df.c | 773 * If the mnt point is lofs, search from the top of entries from 776 * of the entries in /etc/mnttab that matches on the devid field 859 run_fs_specific_df(struct df_request request_list[], int entries) argument 870 if (entries == 0) 880 * Argv entries: 887 size = (5 + entries) * sizeof (char *); 910 for (i = 0; i < entries; i++) { 1774 * valid entries in the requests[] array: 1856 * so that the corresponding mount table entries will exist
|
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiadm.c | 2060 * parse the dsvol entries to see if we need to place 3901 /* count entries */ 3936 /* loop through config file entries */ 4116 int set, entries; local 4130 entries = cfg_get_section(cfg, &entry, "ii"); 4131 for (set = 1; set <= entries; set++) { 4208 while (set < entries) 4210 if (entries) 4334 int entries; local 4352 entries [all...] |
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndradm.c | 292 /* get sndr entries until shost, sfile match */ 864 /* get ndr_ii entries until a match is found */ 942 /* get ndr_ii entries in case a match is found */ 1069 int entries; local 1084 entries = cfg_get_section(cfg, &entry, "ii"); 1085 for (i = 0; i < entries; i++) { 1107 if (entries) 1115 entries = cfg_get_section(cfg, &entry, "sndr"); 1116 for (i = 0; i < entries; i++) { 1212 if (entries) 1675 int entries; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | pcic.c | 5883 int len, entries, rlen; local 5890 * need to translate address space entries from pcmcia 5893 entries = len / sizeof (pcm_regs_t); 5894 pci_avail_p = kmem_alloc(sizeof (pci_regspec_t) * entries, 5897 entries) == DDI_SUCCESS) 5899 entries); 5901 kmem_free(pci_avail_p, entries * sizeof (pci_regspec_t)); 6019 pci_regspec_t *pci_p, int entries) 6034 for (i = 0; i < entries; i++, pcic_p++, pci_p++) { 6018 pcic_apply_avail_ranges(dev_info_t *dip, pcm_regs_t *pcic_p, pci_regspec_t *pci_p, int entries) argument
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 550 * have ENOUGH or more entries. 591 * look for entries on this subnet 612 * add the rest of the entries at the end 683 int entries = 0; local 2291 entries++; 2304 if (!entries) 2582 * has timed out. Free up all the entries that 2706 * once again here to check and see if there are duplicate entries 3805 * Free a cache entry and all entries 4308 * If no entries ther [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vnops.c | 3974 * Get space to change directory entries into fs independent format. 4033 /* Skip to requested offset and skip empty entries */ 4037 /* Buffer too small for any entries */ 4075 /* Read whole block, but got no entries, read another if not eof */ 6249 int i, entry, entries; local 6278 entries = (int)lblkno(fs, blkroundup(fs, ip->i_size)); 6280 (entries - 1) * sizeof (daddr32_t), KM_NOSLEEP); 6287 dump_info->fsbs = entries; 6292 for (entry = 0; entry < NDADDR && entry < entries; entry++) 6306 storeblk, dblk, i, entries)) 6383 save_dblks(struct inode *ip, struct ufsvfs *ufsvfsp, daddr32_t *storeblk, daddr32_t *dblk, int level, int entries) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 291 int maxnum; /* entries in array */ 292 int num; /* entries in use */ 2147 int entries = 0; local 2186 entries = sysinfo.maxHPU; 2187 len = offsetof(idp_lkup_t, idp) + entries * sizeof (id_props_t); 2196 idprop->maxnum = entries; 2206 while ((res == 0) && (index < entries) &&
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 576 /* free all session table entries starting with 1 */ 974 * This ioctl returns an array of crypto_mech_name_t entries. 982 crypto_mech_name_t *entries; local 995 entries = crypto_get_mech_list(&count, KM_SLEEP); 997 /* Number of entries caller thinks we have */ 1014 * If only requesting number of entries or buffer too small or an 1023 /* copyout entries */ 1026 if (copyout(entries, arg + offset, copyout_size) != 0) { 1031 crypto_free_mech_list(entries, count); 1120 /* Number of entries calle 1230 crypto_provider_entry_t *entries; local 1516 crypto_mech_name_t *entries; local [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt.c | 126 static int qlt_dump_queue(qlt_state_t *qlt, caddr_t qadr, int entries, 2091 * Return a pointer to n entries in the request queue. Assumes that 2093 * less/zero entries are available. Retuns NULL if it still cannot 2127 /* We dont change anything until the entries are sumitted */ 2146 * Return a pointer to n entries in the priority request queue. Assumes that 2148 * less/zero entries are available. Retuns NULL if it still cannot 2183 /* We dont change anything until the entries are sumitted */ 3921 * Verify that we have enough entries. Without additional CDB 5762 qlt_dump_queue(qlt_state_t *qlt, caddr_t qadr, int entries, caddr_t buf, argument 5772 words = entries * 3 [all...] |
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_ti.c | 5324 * number of entries filled in the array is returned in 5327 * entries_p The number of ibt_mcg_attr_t entries returned. 5337 * pointer to the array (mcgs_p) and the number of entries in the array 5619 * entries The number of ibt_mcg_info_t entries to free. 5622 ibt_free_mcg_info(ibt_mcg_info_t *mcgs_info, uint_t entries) argument 5625 "Free <%d> entries from 0x%p", entries, mcgs_info); 5627 if ((mcgs_info != NULL) && (entries > 0)) 5628 kmem_free(mcgs_info, entries * sizeo 6611 ibt_free_srcip_info(ibt_srcip_info_t *src_info, uint_t entries) argument [all...] |
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 100 #define PCICFG_RANGE_LEN 2 /* Number of range entries */ 2936 * Workaround for Devconf (x86) bug to skip extra entries 6212 DEBUG2("pcicfg_alloc_new_resources() reg size=%x entries=%x\n", 6360 int assigned_len, entries, i; local 6368 entries = assigned_len / (sizeof (pci_regspec_t)); 6371 * Walk through the assigned-addresses entries. If there is 6374 for (i = 0; i < entries; i++) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 397 static int makedir(struct direct *protodir, int entries); 2838 * construct a set of directory entries in "buf". 2842 makedir(struct direct *protodir, int entries) argument 2849 for (cp = buf, i = 0; i < entries - 1; i++) {
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs.h | 622 uint32_t rdok_size; /* size in bytes of entries */ 624 struct dirent64 *rdok_entries; /* variable number of entries */ 1815 entry3 *entries; member in struct:dirlist3 1850 dirent64_t *entries; /* decoded dirent64s */ member in struct:READDIR3vres 1851 uint_t size; /* actual size of entries */ 1852 uint_t entries_size; /* max size of entries */ 1879 entryplus3 *entries; member in struct:dirlistplus3 1922 char *d_name; /* back pointer into entries */ 1929 dirent64_t *entries; /* decoded dirent64s */ member in struct:READDIRPLUS3vres 1930 uint_t size; /* actual size of entries */ [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_dfclib.h | 1883 DFC_FCoEFCFConnectEntry_t entries[1]; member in struct:DFC_FCoEFCFConnectList 1910 DFC_FCoEFCFInfo_t entries[1]; member in struct:DFC_FCoEFCFList
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | lm5710.h | 664 u8_t num_of_cos; //valid COS entries 1172 * It is a separate area than areas the have arrays for clients / status-blocks. Technically, the driver can decide to have separate entries 1173 * for producers + dhc entries (it has to do with permissions in PXP for VFs..., for now there is no reason to do this. And we'll use the same 1429 lm_nig_mirror_entry_t entries[MAX_MAC_OFFSET_IN_NIG]; member in struct:_lm_nig_mirror_t 2091 2. All entries must always contain a valid COS value that will be between "num_of_opr_cos -1". 2777 /* structures to support searcher hash table entries */
|