Searched defs:index (Results 626 - 650 of 945) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_import.c284 * disk based on the locator block device id array index.
412 * block device id array index.
1091 int index = cnames->min_count++; local
1100 cnames->min_names[index] =
1638 int index; local
1640 for (index = 0; index <= MAX_DEVID_LEN; index++) {
1641 repl_disk = &replicated_disk_list[index];
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare.c741 char *index; local
742 index = get_node_attr((void *)parent, "id");
743 if (index != NULL) {
745 proto ? proto : "default", index);
746 sa_free_attr_string(index);
3730 * get the next resource index number (one greater then current largest)
3737 int index = 0; local
3747 if (val > index)
3748 index = val;
3752 return (index
3772 int index; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dname.c98 short index; member in struct:Namcache
1224 xp = &nvcache.entries[nvcache.index];
1250 nvcache.index = (nvcache.index+1)&(NVCACHE-1);
1351 * current index is assigned to.
2438 * the value associated with the current index.
2905 int index= -1; local
2924 index=nv_aindex(np);
2941 if(!mp && index>=0 && nv_isvtree(nr))
2943 sfprintf(shp->strbuf,"%s[%d]%c",nv_name(np),index,
3062 sh_getscope(int index, int whence) argument
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c1268 *type = defconfig[i].index;
1302 *type = defconfig[i].index;
1319 *type = defconfig[i].index;
1332 if (defconfig[i].index == type) {
1345 if (defconfig[i].index == type) {
1364 if (defconfig[i].index == type &&
1496 ParamIndexType index = 0; local
1502 if (__s_api_get_type(name, &index) != 0) {
1508 def = get_defconfig(cfg, index);
1523 switch (index) {
3017 __s_api_strValue(ns_config_t *cfg, ParamIndexType index, ns_strfmt_t fmt) argument
3370 ParamIndexType index = 0; local
[all...]
H A Dns_writes.c1637 int index = 0; local
1639 while ((*str != '\0') && (index < (RDNSIZE - 1))) {
1643 (*str == '#' && index == 0)) {
1646 index += 2;
1649 index++;
2056 * the index of the description in the aliases list
/illumos-gate/usr/src/lib/libpam/
H A Dpam_framework.c621 register int index = 0; local
658 username[index] = *ptr;
659 index++;
665 if ((*ret_username = malloc(index + 1)) == NULL)
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool.c2216 * Get the index for a result set of elements.
2225 * Set the index for a result set of elements.
2228 pool_rs_set_index(pool_result_set_t *set, int index) argument
2230 return (set->prs_set_index(set, index));
H A Dpool_xml.c197 static int pool_xml_rs_set_index(pool_result_set_t *set, int index);
1806 * Sets the current index in a result set.
1810 pool_xml_rs_set_index(pool_result_set_t *set, int index) argument
1815 if (index < 0 || index >= xset->pxr_path->nodesetval->nodeNr) {
1819 xset->prs_index = index;
1824 * Return the current index in a result set.
1825 * Returns current index
/illumos-gate/usr/src/lib/libpp/common/
H A Dpplib.h149 struct ppindex* index; /* checkpoint include index */ member in struct:ppinstk
155 short hide; /* hide index (from pp.hide) */
249 int hide; /* current include hide index */ \
267 struct ppindex* firstindex; /* first include index entry */ \
268 struct ppindex* lastindex; /* last include index entry */ \
273 unsigned char arg_file; /* arg file index */ \
366 unsigned char index; /* prefix,local,standard index */ \
716 struct ppindex /* checkpoint include index */
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/
H A Dmontecarlo.c342 static int scsb_ioc_reg_read(int fd, uchar_t index,
479 int index; local
504 for (index = 0; index < nlist; index++) {
505 out_array[index].ldatap = &list_array[index];
506 out_array[index].req = 0;
509 for (index = 0; index < nlis
559 int index; local
1369 int i, index; local
2430 scsb_ioc_reg_read(int fd, uchar_t index, scsb_ioc_rdwr_t *ioc_rd, int num) argument
[all...]
/illumos-gate/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c1041 read_prop(scf_handle_t *h, inetd_prop_t *iprop, int index, const char *inst, argument
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dcertop.c334 int index; local
355 index = kmf_find_attr(KMF_KEY_HANDLE_ATTR, attrlist, cur_num);
356 if (index == -1) {
363 kmf_set_attr_at_index(attrlist, index,
368 index = kmf_find_attr(KMF_CERT_DATA_ATTR, attrlist, cur_num);
369 if (index == -1) {
376 kmf_set_attr_at_index(attrlist, index,
557 * for an algorithm index identifier instead.
748 * Get the algorithm index attribute and its oid. If this attribute
882 /* We only need the algorithm index i
[all...]
H A Dgeneralop.c894 int index = 0; local
926 if (buf[index++] != 0x30)
929 if (buf[index] & 0x80) {
930 length_octets = buf[index++] & 0x0F; /* long form */
935 index += length_octets;
936 if (index >= buf_len)
940 if (memcmp(buf + index, pkcs12_version, sizeof (pkcs12_version)) != 0)
943 index += sizeof (pkcs12_version);
944 if (index >= buf_len)
951 if ((buf[index
1577 int nbytes, index; local
2373 kmf_set_attr_at_index(KMF_ATTRIBUTE *attlist, int index, KMF_ATTR_TYPE type, void *pValue, uint32_t len) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpcnet32.c292 static u16 pcnet32_wio_read_csr(unsigned long addr, int index) argument
294 outw(index, addr + PCNET32_WIO_RAP);
298 static void pcnet32_wio_write_csr(unsigned long addr, int index, u16 val) argument
300 outw(index, addr + PCNET32_WIO_RAP);
304 static u16 pcnet32_wio_read_bcr(unsigned long addr, int index) argument
306 outw(index, addr + PCNET32_WIO_RAP);
310 static void pcnet32_wio_write_bcr(unsigned long addr, int index, u16 val) argument
312 outw(index, addr + PCNET32_WIO_RAP);
347 static u16 pcnet32_dwio_read_csr(unsigned long addr, int index) argument
349 outl(index, add
353 pcnet32_dwio_write_csr(unsigned long addr, int index, u16 val) argument
359 pcnet32_dwio_read_bcr(unsigned long addr, int index) argument
365 pcnet32_dwio_write_bcr(unsigned long addr, int index, u16 val) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Djfs.h111 #define BT_TYPE 0x07 /* B+-tree index */
304 * For legacy filesystems, name contains 13 unichars -- no index field
311 u32 index; /* 4: index into dir_table */ member in struct:__anon2196
330 index of next entry when this entry was deleted */
349 s8 stbl[8]; /* 8: sorted entry index table */
360 * sorted entry slot index table (stbl):
374 * N.B. index is 0-based; index fields refer to slot index
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tar3.c355 * index(input) - If not zero is the DAR entry position
364 ndmp_lbr_params_t *nlp, int index)
380 if (index) { /* DAR, just one entry */
392 start = index-1;
3290 * fh_info (input) - index from the beginning of the backup stream
363 setupsels(ndmpd_session_t *session, ndmpd_module_params_t *params, ndmp_lbr_params_t *nlp, int index) argument
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_config.h40 * object. 'index' provides a way to quickly locate
43 * to obtain the index.
46 int index; member in struct:__anon999
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c673 ps_reset_prev_failed(int index) argument
678 ps_prev_id[index][i] = NULL;
679 ps_prev_failed[index][i] = 0;
774 * Used to index the xxx_addr arrays
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvd.c1414 uint8_t *index; local
1435 index = (uint8_t *)&smartpage;
1438 checksum += index[i];
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c1489 int target, index; local
1510 index = pmdevp->full_power - pmdevp->cur_power;
1511 if (index <= 0)
1515 if (index >= threshp->policy_entries)
1516 index = threshp->policy_entries - 1;
1517 if (target > threshp->policy_data[index])
1518 target = threshp->policy_data[index];
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c631 int index; local
679 index = cont_info->num_sections;
680 cont_info->section_info[index].encoding = ENC_STANDARD;
682 cont_info->section_info[index].description.
685 cont_info->section_info[index].description.
693 cont_info->section_info[index].description.
706 cont_info->section_info[index].address = atoi(token);
722 cont_info->section_info[index].size =
726 cont_info->section_info[index].
923 * index numbe
[all...]
/illumos-gate/usr/src/cmd/prtconf/
H A Dpdevinfo.c1860 int out, len, index1, index, endswap = 0; local
1888 for (index = 0; index < len; index++) {
1889 if (index && (index % 4 == 0))
1892 out = prop_valp[index +
1893 (3 - 2 * (index % 4))] & 0xff;
1895 out = prop_valp[index] & 0xff;
/illumos-gate/usr/src/cmd/raidctl/
H A Draidctl.c162 uint32_t index, uint32_t ctl_num);
208 /* operation index */
229 /* index and temporary variables */
1096 * do_flash(f_flag, filep, ctls_argpp, index, ctl_num)
1102 uint32_t index, uint32_t ctl_num)
1113 for (i = 0, j = index; i < ctl_num; i++, j++) {
1101 do_flash(uint8_t f_flag, char *filep, char **ctls_argpp, uint32_t index, uint32_t ctl_num) argument
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c579 statefd->index = 0;
643 statefd->index = statefd->state_file->max_elements;
649 * Given index into state element array, get the pointer to the actual
656 get_state_element(state_file_descr_t *statefd, int index, int *flag) argument
661 (index < statefd->state_file->max_elements)) {
665 index * statefd->element_size;
682 * If index is non-null set *index to index into the state element array
686 allocate_state_element(state_file_descr_t *statefd, int *index) argument
[all...]
H A Dsvm_rcm.c2189 * uint32_t *i hash table index of prev entry
2192 * uint32_t *i updated hash table index
2257 uint32_t index; local
2268 for (index = 0; index < realcache->size; index++) {
2269 free_deventry(&realcache->hashline[index]);
2334 * A rotating hashing function that converts a string 's' to an index
2895 uint_t smi = 0; /* index into submirror array */

Completed in 338 milliseconds

<<21222324252627282930>>