Home
last modified time | relevance | path

Searched refs:count (Results 151 – 175 of 2307) sorted by relevance

12345678910>>...93

/illumos-gate/usr/src/cmd/filesync/
H A Dacls.c50 static int acl(const char *name, int opcode, int count, aclent_t *acls) in acl() argument
72 { int count; in get_acls() local
77 count = acl(name, GETACL, MAX_ACL_ENTRIES, acls); in get_acls()
78 if (count <= 0) in get_acls()
82 if (count > 4) in get_acls()
86 for (i = 0; i < count; i++) in get_acls()
102 list = (aclent_t *) malloc(count * sizeof (*list)); in get_acls()
107 for (i = 0; i < count; i++) { in get_acls()
114 ip->f_numacls = count; in get_acls()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dipaddrsel.c74 int opt, status, sock, count; in main() local
116 if ((count = parseconf(conf_filename, &policy_table)) <= 0) in main()
118 status = setpolicy(sock, policy_table, count); in main()
334 setpolicy(int sock, ip6_asp_t *new_policy, int count) in setpolicy() argument
337 count * sizeof (ip6_asp_t)) < 0) { in setpolicy()
357 int count, policy_index; in printpolicy() local
360 if ((count = strioctl(sock, SIOCGIP6ADDRPOLICY, policy_ptr, in printpolicy()
365 if (count > KERN_POLICY_SIZE) { in printpolicy()
366 policy_ptr = malloc(count * sizeof (ip6_asp_t)); in printpolicy()
372 count * sizeof (ip6_asp_t))) < 0) { in printpolicy()
[all …]
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c61 long count [END+1]; variable
107 long int count; member
110 #define hmove(a, b) {(b).count = (a).count; (b).node = (a).node; }
126 count[i] = 0; in input()
231 if (heap[k].count > heap[k+1].count && k < n) in heapify()
233 if (heapsubi.count < heap[k].count) in heapify()
254 count[END] = 1; in packfile()
258 if (count[i] > 0) { in packfile()
261 heap[++n].count = count[i]; in packfile()
278 inc = heap[1].count; in packfile()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c144 int count, local
228 for (count = argc - 1; count >= optind; --count) {
229 _Num = argv[count];
245 for (count = 0;; count++) { /* count will be wait time after first
263 if (count < minutes) {
356 for (count = optind; count < argc; count++) {
380 if (count == argc)
564 int count = 0; local
575 count++;
581 return (count);
[all …]
/illumos-gate/usr/src/uts/common/xen/io/
H A Devtchn_dev.c165 ssize_t count; in evtchndrv_read() local
176 count = uio->uio_resid; in evtchndrv_read()
179 if (count == 0) in evtchndrv_read()
182 if (count > PAGESIZE) in evtchndrv_read()
183 count = PAGESIZE; in evtchndrv_read()
217 if (bytes1 > count) { in evtchndrv_read()
218 bytes1 = count; in evtchndrv_read()
241 ssize_t count; in evtchndrv_write() local
258 if (count == 0) in evtchndrv_write()
261 if (count > PAGESIZE) in evtchndrv_write()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/perf/scripts/
H A Dio.d36 @ops["read"] = count();
37 @ops["write"] = count();
38 @ops["zfs_read"] = count();
39 @ops["zfs_write"] = count();
40 @ops["zfs_write_sync"] = count();
41 @ops["zfs_write_async"] = count();
98 @ops[this->name] = count();
109 @ops[probefunc] = count();
128 @ops[this->name] = count();
/illumos-gate/usr/src/contrib/zlib/
H A Dinftrees.c54 unsigned short count[MAXBITS+1]; /* number of codes of each length */ in inflate_table() local
104 count[len] = 0; in inflate_table()
106 count[lens[sym]]++; in inflate_table()
111 if (count[max] != 0) break; in inflate_table()
123 if (count[min] != 0) break; in inflate_table()
130 left -= count[len]; in inflate_table()
139 offs[len + 1] = offs[len] + count[len]; in inflate_table()
248 if (--(count[len]) == 0) { in inflate_table()
266 left -= count[curr + drop]; in inflate_table()
/illumos-gate/usr/src/uts/intel/os/
H A Dfmsmb.c48 int count; member
111 smb_create_strcnt(int count) in smb_create_strcnt() argument
121 for (i = 0; i < count; i++) { in smb_create_strcnt()
126 for (i = 0; i < count; i++) { in smb_create_strcnt()
131 for (i = 0; i < count; i++) { in smb_create_strcnt()
151 for (i = 0; i < count; i++) { in smb_free_strcnt()
255 stype->count = cnt; in smb_strcnt()
701 tmp_idx.count = 0; in get_bboard_index()
708 tmp_idx.count++; in get_bboard_index()
721 bb_idx->count = tmp_idx.count; in get_bboard_index()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_reset_notify.c105 int i, count; in scsi_hba_reset_notify_callback() local
115 count = 0; in scsi_hba_reset_notify_callback()
117 count++; in scsi_hba_reset_notify_callback()
121 list = kmem_alloc(count * sizeof (struct notify_entry), KM_NOSLEEP); in scsi_hba_reset_notify_callback()
127 for (i = 0, p = *listp; i < count; i++, p = p->next) { in scsi_hba_reset_notify_callback()
133 for (i = 0; i < count; i++) { in scsi_hba_reset_notify_callback()
137 kmem_free(list, count * sizeof (struct notify_entry)); in scsi_hba_reset_notify_callback()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfread.c45 fread(void *ptr, size_t size, size_t count, FILE *iop) in fread() argument
70 if (count == 1) in fread()
73 s = count; in fread()
75 s = size * count; in fread()
128 return (count); in fread()
132 return (size != 0 ? count - ((s + size - 1) / size) : 0); in fread()
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_input.c94 auimpl_produce_data(audio_stream_t *sp, uint_t count) in auimpl_produce_data() argument
118 nf = min(nframes - sp->s_hidx, count); in auimpl_produce_data()
126 count -= nf; in auimpl_produce_data()
132 } while (count); in auimpl_produce_data()
202 int count; in auimpl_input_callback() local
220 count = sp->s_converter(sp, fragfr); in auimpl_input_callback()
222 count = fragfr; in auimpl_input_callback()
227 if (count > space) { in auimpl_input_callback()
230 sp->s_errors += count - space; in auimpl_input_callback()
231 count = space; in auimpl_input_callback()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c281 for (count = 0; __m_cc_compare(optr, nptr, 1); ++count) {
304 count = 0;
314 optr -= count;
315 nptr -= count;
316 col -= count;
525 ), count, __m_outc
549 int count = n; local
574 finish = count-1;
591 int count = n; local
636 int count;
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dhunt_phy.c78 __out_opt __drv_when(count > 0, __notnull)
80 __out_ecount_opt(count) __drv_when(count > 0, __notnull)
82 __in size_t count)
112 if (count > 0)
113 (void) memset(valuesp, '\0', count * sizeof (unsigned long));
119 count > EFX_BIST_MEM_ECC_FATAL) {
149 count > EFX_BIST_FAULT_CODE) {
/illumos-gate/usr/src/uts/sparc/os/
H A Ddoor_support.c43 size_t count; in door_finish_dispatch() local
47 count = MINFRAME; in door_finish_dispatch()
50 count = MINFRAME32; in door_finish_dispatch()
61 bzero(bytes, count); in door_finish_dispatch()
62 if (copyout(bytes, newsp, count) != 0) in door_finish_dispatch()
/illumos-gate/usr/src/cmd/hal/utils/
H A Dadt_data.c29 int count, bufsize; in get_audit_export_data() local
74 count = 0; in get_audit_export_data()
79 if (count == bufsize) { in get_audit_export_data()
90 buf[count++] = value; in get_audit_export_data()
97 *data_size = count; in get_audit_export_data()
98 if (count == 0) { in get_audit_export_data()
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dstrcmp.c69 int count; in strcmp() local
98 count = INT_MAX; in strcmp()
102 count = (pagesize - ((int)str1 & (pagesize - 1))) / in strcmp()
107 count = (pagesize - ((int)str2 & (pagesize - 1))) / in strcmp()
127 count -= 4; in strcmp()
128 switch (count) { in strcmp()
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dslowsend.c134 int count; /* bytes successfully written */ in writeblock() local
148 if ( (count = write(ttyo, &block[head], num)) == -1 ) in writeblock()
150 else if ( count == 0 ) in writeblock()
153 head += count; in writeblock()
154 return(count); in writeblock()
/illumos-gate/usr/src/cmd/spell/
H A Dspellin.c79 long count; in main() local
112 for (count = 0; scanf("%lo", (unsigned long *)&h) == 1; ++count) { in main()
153 argv[0], count, ignore, extra, wp); in main()
154 count -= ignore; in main()
156 argv[0], (((float)BYTE * wp) * sizeof (*table) / count), in main()
157 (BYTE * ((float)wp * sizeof (*table) + sizeof (hindex)) / count)); in main()
/illumos-gate/usr/src/cmd/coreadm/
H A Dcoreadm.c381 assert(count + 1 < size); in addprop()
382 props[count] = *pv; in addprop()
383 props[count].pv_ptr = ptr; in addprop()
411 int count = 0; in do_modify() local
420 addprop(properties, MAX_PROPS, count++, &prop_gpattern, in do_modify()
426 addprop(properties, MAX_PROPS, count++, &prop_gcontent, in do_modify()
431 addprop(properties, MAX_PROPS, count++, &prop_ipattern, in do_modify()
437 addprop(properties, MAX_PROPS, count++, &prop_icontent, in do_modify()
445 properties[count].pv_prop = NULL; in do_modify()
621 int count = 0; in do_update() local
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dring.h74 extern int ring_init(Ring *ring, unsigned char *buffer, int count);
77 extern void ring_supply_data(Ring *ring, unsigned char *buffer, int count);
79 extern void ring_consume_data(Ring *ring, unsigned char *buffer, int count);
83 extern void ring_supplied(Ring *ring, int count);
84 extern void ring_consumed(Ring *ring, int count);
/illumos-gate/usr/src/ucbcmd/whereis/
H A Dwhereis.c214 int count; variable
235 count = 0; in lookup()
243 if (uflag && print == 0 && count != 1) { in lookup()
248 count = 0; in lookup()
251 if (uflag && print == 0 && count != 1) { in lookup()
256 count = 0; in lookup()
259 if (uflag && print == 0 && count != 1) { in lookup()
322 count++; in findin()
/illumos-gate/usr/src/cmd/tcpd/
H A Dtcpdmatch.c70 int count; local
179 for (count = 0; (addr = hp->h_addr_list[count]) != 0; count++) {
191 if (count > 1) {
235 for (count = 0; (addr = hp->h_addr_list[count]) != 0; count++) {
247 if (hp->h_addr_list[count + 1])
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsec_svc.c237 allocsz = count * sizeof (caddr_t); in sec_svc_loadrootnames()
238 oallocsz = count * SIZEOF_PTR(model); in sec_svc_loadrootnames()
251 for (i = 0; i < count; i++) { in sec_svc_loadrootnames()
289 for (i = 0; i < count; i++) { in sec_svc_loadrootnames()
340 sec_svc_freerootnames(int flavor, int count, caddr_t *proots) in sec_svc_freerootnames() argument
347 for (i = 0; i < count; i++) in sec_svc_freerootnames()
353 for (i = 0; i < count; i++) { in sec_svc_freerootnames()
362 kmem_free(proots, count * sizeof (caddr_t)); in sec_svc_freerootnames()
369 sec_svc_inrootlist(int flavor, caddr_t rootname, int count, caddr_t *roots) in sec_svc_inrootlist() argument
378 for (i = 0; i < count; i++) in sec_svc_inrootlist()
[all …]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DStatistic.java289 int count = 0; in getSnapshotForInterval() local
306 count++; in getSnapshotForInterval()
308 if (count == 0) in getSnapshotForInterval()
377 int count = 0; in getSnapshotForInterval() local
393 count++; in getSnapshotForInterval()
395 if (count == 0) in getSnapshotForInterval()
398 return (new LongStatistic(new Long(total / count), first, in getSnapshotForInterval()
464 int count = 0; in getSnapshotForInterval() local
482 count++; in getSnapshotForInterval()
484 if (count == 0) in getSnapshotForInterval()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dtem.c711 cm.count = 16; in tems_reset_colormap()
1240 int count = 0; in tem_selgraph() local
1330 count++; in tem_selgraph()
1359 count++; in tem_selgraph()
1410 count++; in tem_selgraph()
1439 count++; in tem_selgraph()
1491 count++; in tem_selgraph()
2142 if (count <= 0) in tem_scroll()
2160 end - count, 0, start + count); in tem_scroll()
2281 count < 0) in tem_clear_chars()
[all …]

12345678910>>...93