/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | char_io.c | 355 void cl_backward (int count) in real_get_cmdline() 357 lpos -= count; in real_get_cmdline() 367 xpos -= count; in real_get_cmdline() 382 void cl_forward (int count) in real_get_cmdline() 384 lpos += count; in real_get_cmdline() 391 xpos += count; in real_get_cmdline() 551 void cl_delete (int count) in real_get_cmdline() 553 grub_memmove (buf + lpos, buf + lpos + count, llen - count + 1); in real_get_cmdline() 554 llen -= count; in real_get_cmdline() 676 int count = lpos; in real_get_cmdline() local [all …]
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | expand.c | 58 int count; in expand() local 153 count = 0; in expand() 179 count++; in expand() 189 if (count) { in expand() 190 count = 0; in expand() 192 count += expand(rchain->argval, in expand() 203 return (count); in expand()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_table_c.x | 64 long count; member 75 % long count; 80 % count = 0; 133 long count; /* measures fullness of table */ member 152 % long count; /* measures fullness of table */ 191 % long fullness() { return count; } 279 % void setEnumMode(long count);
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_dio.c | 150 int count; in add_prom_string_prop() local 156 count = di_prom_prop_lookup_strings(ph, di, alt_name, &pp_data); in add_prom_string_prop() 159 count = di_prom_prop_lookup_strings(ph, di, name, &pp_data); in add_prom_string_prop() 162 if (count > 0 && pp_data != NULL) { in add_prom_string_prop() 163 for (str = pp_data; count > 0; str += strlen(str) + 1) in add_prom_string_prop() 164 count--; in add_prom_string_prop() 181 int count; in add_prom_int_prop() local 186 count = di_prom_prop_lookup_ints(ph, di, alt_name, &pp_data); in add_prom_int_prop() 189 count = di_prom_prop_lookup_ints(ph, di, name, &pp_data); in add_prom_int_prop() 196 if (count > 0 && pp_data != NULL) { in add_prom_int_prop() [all …]
|
/illumos-gate/usr/src/boot/sys/i386/include/ |
H A D | cpufunc.h | 231 insb(u_int port, void *addr, size_t count) in insb() argument 234 : "+D" (addr), "+c" (count) in insb() 240 insw(u_int port, void *addr, size_t count) in insw() argument 243 : "+D" (addr), "+c" (count) in insw() 249 insl(u_int port, void *addr, size_t count) in insl() argument 252 : "+D" (addr), "+c" (count) in insl() 285 outsb(u_int port, const void *addr, size_t count) in outsb() argument 288 : "+S" (addr), "+c" (count) in outsb() 293 outsw(u_int port, const void *addr, size_t count) in outsw() argument 296 : "+S" (addr), "+c" (count) in outsw() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getdn.c | 194 int state, count = 0, endquote, len, goteq; in ldap_explode() local 255 ++count; in ldap_explode() 260 } else if ( count >= 8 ) { in ldap_explode() 262 rdns, (count+1) * in ldap_explode() 266 rdns[ count ] = NULL; in ldap_explode() 287 if (( rdns[ count-1 ] = (char *)NSLDAPI_CALLOC( in ldap_explode() 289 SAFEMEMCPY( rdns[ count-1 ], rdnstart, in ldap_explode() 295 &rdns[count-1][len-1] )) { in ldap_explode() 299 rdns[ count-1 ][ len ] = '\0'; in ldap_explode()
|
H A D | control.c | 339 int count; in nsldapi_dup_controls() local 350 for ( count = 0; newctrls[ count ] != NULL; ++count ) { in nsldapi_dup_controls() 354 if (( *ldctrls = (LDAPControl **)NSLDAPI_MALLOC(( count + 1 ) * in nsldapi_dup_controls() 359 (*ldctrls)[ count ] = NULL; in nsldapi_dup_controls() 361 for ( count = 0; newctrls[ count ] != NULL; ++count ) { in nsldapi_dup_controls() 362 if (( (*ldctrls)[ count ] = in nsldapi_dup_controls() 363 ldap_control_dup( newctrls[ count ] )) == NULL ) { in nsldapi_dup_controls()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | get_krbhst.c | 66 int i, count; in krb5_get_krbhst() local 102 count = cpp - values; in krb5_get_krbhst() 103 rethosts = malloc(sizeof(char *) * (count + 1)); in krb5_get_krbhst() 108 for (i = 0; i < count; i++) { in krb5_get_krbhst() 117 rethosts[count] = 0; in krb5_get_krbhst()
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_privilege.c | 195 int count; in smb_privset_validate() local 202 count = SE_MAX_LUID - SE_MIN_LUID + 1; in smb_privset_validate() 204 if (privset->priv_cnt != count) { in smb_privset_validate() 208 for (i = 0; i < count; i++) { in smb_privset_validate() 230 int count; in smb_privset_init() local 236 count = SE_MAX_LUID - SE_MIN_LUID + 1; in smb_privset_init() 238 privset->priv_cnt = count; in smb_privset_init() 240 for (i = 0; i < count; i++) { in smb_privset_init()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | systeminfo.c | 55 systeminfo(int command, char *buf, long count) in systeminfo() argument 62 if (count < 0 && command != SI_SET_HOSTNAME && in systeminfo() 136 if (count > 0) { in systeminfo() 137 if (count <= strcnt) { in systeminfo() 138 getcnt = count - 1; in systeminfo() 199 if (count > 0) { in systeminfo() 200 if (count <= strcnt) { in systeminfo() 201 getcnt = count - 1; in systeminfo()
|
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | ctr.c | 240 ctr_init_ctx(ctr_ctx_t *ctr_ctx, ulong_t count, uint8_t *cb, in ctr_init_ctx() argument 247 if (count == 0 || count > 128) { in ctr_init_ctx() 251 if (count >= 64) { in ctr_init_ctx() 252 count -= 64; in ctr_init_ctx() 253 upper_mask = (count == 64) ? UINT64_MAX : (1ULL << count) - 1; in ctr_init_ctx() 257 lower_mask = (1ULL << count) - 1; in ctr_init_ctx()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_inherit_003_pos.ksh | 127 typeset -i i=0 count=0 inherited=0 138 ((count = maxaces + 1)) 146 ((count = maxaces + 1)) 190 aclcur=$(get_ACE $node $count compact) 195 log_fail "$inherit $i #$count" \ 200 ((count = count + 1)) 204 if ((count == maxaces + 1)); then
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_ud_dest.c | 147 uint32_t count; in ibmf_i_populate_ud_dest_list() local 174 count = cip->ci_ud_dest_list_count; in ibmf_i_populate_ud_dest_list() 232 count = cip->ci_ud_dest_list_count; in ibmf_i_populate_ud_dest_list() 254 uint32_t count; in ibmf_i_clean_ud_dest_list() local 266 count = cip->ci_ud_dest_list_count; in ibmf_i_clean_ud_dest_list() 268 count = cip->ci_ud_dest_list_count - in ibmf_i_clean_ud_dest_list() 271 count = 0; in ibmf_i_clean_ud_dest_list() 273 while (count) { in ibmf_i_clean_ud_dest_list() 304 count = cip->ci_ud_dest_list_count; in ibmf_i_clean_ud_dest_list() 307 count = cip->ci_ud_dest_list_count - in ibmf_i_clean_ud_dest_list() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 224 int count, int type) in apix_alloc_nvectors_oncpu() argument 238 msibits = count - 1; in apix_alloc_nvectors_oncpu() 257 if (++navail == count) in apix_alloc_nvectors_oncpu() 324 count, 0xff); in apix_pci_msi_enable_vector() 1400 count++; in apix_bind_cpu() 1402 count++; in apix_bind_cpu() 1483 if (count == 1) in apix_rebind() 1503 ASSERT(count == 1); in apix_rebind() 1649 if (count > 1) { in apix_alloc_msi() 1654 count = 1; in apix_alloc_msi() [all …]
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_alloc.c | 437 *count = bb_count - start; in ud_check_free_and_mark_used() 438 ASSERT(*count > 0); in ud_check_free_and_mark_used() 442 *count) != *count) { in ud_check_free_and_mark_used() 457 for (i = 0; i < count; i++) { in ud_check_free() 474 for (i = 0; i < count; i++) { in ud_mark_used() 485 for (i = 0; i < count; i++) { in ud_mark_free() 798 count = blkcount; in ud_free_space_bmap() 811 beginblk += count; in ud_free_space_bmap() 812 blkcount -= count; in ud_free_space_bmap() 815 ud_part->udp_nfree += count; in ud_free_space_bmap() [all …]
|
/illumos-gate/usr/src/uts/common/io/sdcard/adapters/sdhost/ |
H A D | sdhost.c | 550 int count; in sdhost_set_clock() local 600 for (count = 100000; count; count -= 10) { in sdhost_set_clock() 622 int count; in sdhost_soft_reset() local 645 for (count = 100000; count != 0; count -= 10) { in sdhost_soft_reset() 731 int count; in sdhost_setup_intr() local 739 (count == 0)) { in sdhost_setup_intr() 751 if (count > 1) { in sdhost_setup_intr() 759 (count != 1)) { in sdhost_setup_intr() 834 int count; in sdhost_slot_intr() local 891 ASSERT(count > 0); in sdhost_slot_intr() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | intpkey.test | 260 count { 265 count { 270 count { 280 count { 286 count { 291 count { 296 count { 304 count { 309 count { 314 count { [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | refcount.c | 128 int64_t count; in zfs_refcount_add_many() local 140 count = rc->rc_count; in zfs_refcount_add_many() 143 return (count); in zfs_refcount_add_many() 168 int64_t count; in zfs_refcount_remove_many() local 175 count = rc->rc_count; in zfs_refcount_remove_many() 177 return (count); in zfs_refcount_remove_many() 202 count = rc->rc_count; in zfs_refcount_remove_many() 204 return (count); in zfs_refcount_remove_many() 232 int64_t count, removed_count; in zfs_refcount_transfer() local 241 count = src->rc_count; in zfs_refcount_transfer() [all …]
|
/illumos-gate/usr/src/cmd/eeprom/sparc/ |
H A D | loadlogo.c | 48 int count; in loadlogo() local 99 for (count = ((w + (bits - 1)) / bits) * h; count > 0; count--) { in loadlogo() 118 if (count > 0) in loadlogo()
|
/illumos-gate/usr/src/lib/liblgrp/common/ |
H A D | lgrp.c | 243 int count; in prune_cpus() local 276 for (count = 0; count < lgrp_ncpus; count++) { in prune_cpus() 609 uint_t count) in lgrp_parents() argument 642 if (parents == NULL || count < 1) in lgrp_parents() 686 uint_t count) in lgrp_children() argument 718 if (children == NULL || count < 1) in lgrp_children() 812 if (cpuids && *cpuids && count) { in lgrp_cpus_hier() 814 if (*count) { in lgrp_cpus_hier() 817 (*count)--; in lgrp_cpus_hier() 889 if (i < count) in lgrp_cpus() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | mark_function_ptrs_searchable.pl | 18 my ($update, $sth, $fn_ptr, $ptr_to_ptr, $count); 25 …$count = $db->selectrow_array("select count(*) from return_states join function_ptr where return_s… 27 if ($count > 1000) { 31 if ($count == 0) {
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | pread.c | 63 int count, got; local 65 count = (rsize < BUFSIZE ? rsize : BUFSIZE); 67 got = read(fd, buf, count); 76 if (got < count)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_missing_001_pos.ksh | 108 typeset -i count=0 127 count=0 151 (( count = count + 1 )) 154 'mirror') (( count == $GROUP_NUM )) && \ 157 'raidz') (( count > 1 )) && \
|
H A D | zpool_import_missing_002_pos.ksh | 119 typeset -i count=0 142 count=0 167 (( count = count + 1 )) 171 'mirror') (( count < $GROUP_NUM )) && \ 174 'raidz') (( count == 1 )) && \
|
/illumos-gate/usr/src/cmd/lp/cmd/lptest/ |
H A D | lptest.c | 24 int len, count; in main() local 34 count = atoi(argv[2]); in main() 36 count = 200; in main() 38 for (i = 0; i < count; i++) { in main()
|