Home
last modified time | relevance | path

Searched refs:cntp (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_resource.c179 uint_t mask, uint_t value, acpidev_regspec_t *regp, uint_t *cntp) in acpidev_resource_get_regs() argument
184 ASSERT(cntp != NULL); in acpidev_resource_get_regs()
185 if (rhdl == NULL || cntp == NULL || (regp == NULL && *cntp != 0)) { in acpidev_resource_get_regs()
190 if (j < *cntp) { in acpidev_resource_get_regs()
196 if (j >= *cntp) { in acpidev_resource_get_regs()
197 *cntp = j; in acpidev_resource_get_regs()
200 *cntp = j; in acpidev_resource_get_regs()
239 uint_t mask, uint_t value, acpidev_ranges_t *rangep, uint_t *cntp) in acpidev_resource_get_ranges() argument
244 ASSERT(cntp != NULL); in acpidev_resource_get_ranges()
245 if (rhdl == NULL || cntp == NULL || (rangep == NULL && *cntp != 0)) { in acpidev_resource_get_ranges()
[all …]
H A Dacpidev_cpu.c158 uint32_t *cntp; in acpidev_cpu_count_MADT() local
162 cntp = (uint32_t *)context; in acpidev_cpu_count_MADT()
168 (*cntp)++; in acpidev_cpu_count_MADT()
175 (*cntp)++; in acpidev_cpu_count_MADT()
190 uint32_t *cntp; in acpidev_cpu_parse_MADT() local
194 cntp = (uint32_t *)context; in acpidev_cpu_parse_MADT()
200 ASSERT(*cntp < acpidev_cpu_map_count); in acpidev_cpu_parse_MADT()
201 acpidev_cpu_map[*cntp].proc_id = mpa->ProcessorId; in acpidev_cpu_parse_MADT()
202 acpidev_cpu_map[*cntp].apic_id = mpa->Id; in acpidev_cpu_parse_MADT()
203 (*cntp)++; in acpidev_cpu_parse_MADT()
[all …]
H A Dacpidev_dr.c897 acpidev_regspec_t **regpp, uint_t *cntp) in acpidev_dr_device_get_regspec() argument
906 ASSERT(regpp != NULL && cntp != NULL); in acpidev_dr_device_get_regspec()
907 if (hdl == NULL || regpp == NULL || cntp == NULL) { in acpidev_dr_device_get_regspec()
915 *cntp = 0; in acpidev_dr_device_get_regspec()
944 *cntp = count / (sizeof (**regpp) / sizeof (int)); in acpidev_dr_device_get_regspec()
/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_dir.c47 __os_dirlist(dir, namesp, cntp) in __os_dirlist() argument
50 int *cntp;
58 return (__db_jump.j_dirlist(dir, namesp, cntp));
76 *cntp = cnt;
/titanic_41/usr/src/uts/i86pc/sys/
H A Dacpidev_rsc.h150 uint_t mask, uint_t value, acpidev_regspec_t *regp, uint_t *cntp);
157 uint_t mask, uint_t value, acpidev_ranges_t *rangep, uint_t *cntp);
164 acpidev_bus_range_t *busp, uint_t *cntp);
170 uint_t *dmap, uint_t *cntp);
176 uint_t *irqp, uint_t *cntp);
H A Dacpidev_dr.h159 boolean_t assigned, acpidev_regspec_t **regpp, uint_t *cntp);
/titanic_41/usr/src/cmd/setfacl/
H A Dsetfacl.c405 convert_to_aclent_t(char *entryp, int *cntp, aclent_t **aclpp, int mode) in convert_to_aclent_t() argument
417 if (*cntp > 1) in convert_to_aclent_t()
419 sizeof (aclent_t) * (*cntp)); in convert_to_aclent_t()
421 new_aclp = (aclent_t *) malloc(sizeof (aclent_t) * (*cntp)); in convert_to_aclent_t()
424 gettext("Insufficient memory for acl %d\n"), *cntp); in convert_to_aclent_t()
445 cur_cnt = *cntp - 1; in convert_to_aclent_t()
453 *cntp -= 1; in convert_to_aclent_t()
459 memcpy(new_aclp + *cntp -1, &tmpacl, sizeof (aclent_t)); in convert_to_aclent_t()
473 *cntp = *cntp - 2; in convert_to_aclent_t()
478 *cntp -= 1; in convert_to_aclent_t()
[all …]
/titanic_41/usr/src/ucbcmd/whereis/
H A Dwhereis.c198 getlist(int *argcp, char ***argvp, char ***flagp, int *cntp) in getlist() argument
203 *cntp = 0; in getlist()
205 (*cntp)++, (*argvp)++; in getlist()
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_dir.c592 u_offset_t *last_offp, uint_t *cntp, uint_t bufsize, in cachefs_dir_getentrys() argument
624 *cntp = bufsize; in cachefs_dir_getentrys()
628 *cntp = 0; in cachefs_dir_getentrys()
637 *cntp = 0; in cachefs_dir_getentrys()
666 *cntp = 0; in cachefs_dir_getentrys()
736 *cntp -= bufsize; in cachefs_dir_getentrys()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_nm.c373 size_t *cntp = (size_t *)data; in nm_cnt_any() local
374 (*cntp)++; in nm_cnt_any()
/titanic_41/usr/src/cmd/th_tools/
H A Dth_define.c881 struct acc_log_elem **llp, size_t *cntp) /* output args */ in reduce_log() argument
888 if (llp == 0 || cntp == 0) /* subroutine interface violated */ in reduce_log()
896 nitems = *cntp; in reduce_log()
943 *cntp = 0; in reduce_log()
1046 *cntp = cnt; in reduce_log()
/titanic_41/usr/src/uts/intel/io/acpica/
H A Dosl.c1350 int *cntp = (int *)ctxp; in acpica_query_bbn_walker() local
1369 bbn == 0 && ++(*cntp) > 1) { in acpica_query_bbn_walker()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Ddman.c5366 man_prep_dests_for_switch(man_pg_t *mpg, man_dest_t **mdpp, int *cntp) in man_prep_dests_for_switch() argument
5433 *cntp = sdp_cnt; in man_prep_dests_for_switch()
/titanic_41/usr/src/lib/libdladm/common/
H A Dlinkprop.c84 datalink_id_t, char **propstp, uint_t *cntp,