Home
last modified time | relevance | path

Searched refs:maxcount (Results 1 – 25 of 29) sorted by relevance

12

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_find.c220 uint16_t count, maxcount, index; in smb_com_search() local
246 if (smbsr_decode_vwv(sr, "ww", &maxcount, &sattr) != 0) in smb_com_search()
327 if (maxcount > SMB_MAX_SEARCH) in smb_com_search()
328 maxcount = SMB_MAX_SEARCH; in smb_com_search()
330 while (count < maxcount) { in smb_com_search()
404 uint16_t count, maxcount, index; in smb_com_find() local
419 if (smbsr_decode_vwv(sr, "ww", &maxcount, &sattr) != 0) in smb_com_find()
473 if (maxcount > SMB_MAX_SEARCH) in smb_com_find()
474 maxcount = SMB_MAX_SEARCH; in smb_com_find()
476 while (count < maxcount) { in smb_com_find()
[all …]
H A Dsmb_trans2_find.c541 uint16_t count, maxcount; in smb_trans2_find_entries() local
544 if ((maxcount = args->fa_maxcount) == 0) in smb_trans2_find_entries()
545 maxcount = 1; in smb_trans2_find_entries()
547 if ((smb_trans2_find_max != 0) && (maxcount > smb_trans2_find_max)) in smb_trans2_find_entries()
548 maxcount = smb_trans2_find_max; in smb_trans2_find_entries()
551 while (count < maxcount) { in smb_trans2_find_entries()
/titanic_41/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_harmless.c155 unsigned maxcount ) in dwarf_set_harmless_error_list_size() argument
159 if(maxcount != 0) { in dwarf_set_harmless_error_list_size()
160 ++maxcount; in dwarf_set_harmless_error_list_size()
161 if(maxcount != dhp->dh_maxcount) { in dwarf_set_harmless_error_list_size()
167 dwarf_harmless_init(dhp,maxcount-1); in dwarf_set_harmless_error_list_size()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_readdir.c472 if (args->maxcount <= RFS4_MINLEN_RDDIR4) { in rfs4_op_readdir()
536 if (args->maxcount > tsize) in rfs4_op_readdir()
537 args->maxcount = tsize; in rfs4_op_readdir()
538 else if (args->maxcount < RFS4_MINLEN_RDDIR_BUF) { in rfs4_op_readdir()
539 if (args->maxcount < RFS4_MINLEN_ENTRY4) { in rfs4_op_readdir()
548 if (args->maxcount < MAXBSIZE) in rfs4_op_readdir()
551 mpcount = args->maxcount; in rfs4_op_readdir()
569 args->maxcount = mpcount = MAXBSIZE; in rfs4_op_readdir()
592 if (args->maxcount < (mpcount - 128)) in rfs4_op_readdir()
594 (uint32_t *)(((char *)ptr) + RNDUP(args->maxcount)); in rfs4_op_readdir()
[all …]
H A Dnfs3_srv.c3430 if (args->maxcount > rfs3_tsize(req)) in rfs3_readdirplus()
3431 args->maxcount = rfs3_tsize(req); in rfs3_readdirplus()
3437 args->dircount = MIN(args->dircount, args->maxcount); in rfs3_readdirplus()
3543 if (bufsize + tofit > args->maxcount) { in rfs3_readdirplus()
3568 (args->maxcount - bufsize) >= NFS3_READDIRPLUS_ENTRY(MAXNAMELEN)) { in rfs3_readdirplus()
3664 resp->resok.maxcount = args->maxcount; in rfs3_readdirplus()
H A Dnfs_log_xdr.c794 return (xdr_uint32(xdrs, &objp->maxcount)); in xdr_nfslog_READDIRPLUS3args()
H A Dnfs3_xdr.c2265 rci.rci_len = objp->maxcount; in xdr_READDIRPLUS3args()
2281 return (xdr_u_int(xdrs, &objp->maxcount)); in xdr_READDIRPLUS3args()
/titanic_41/usr/src/lib/libdevinfo/
H A Ddevinfo_prop_decode.c970 int maxcount = 0; in di_slot_names_decode() local
990 maxcount = count; in di_slot_names_decode()
991 slot_names = malloc(sizeof (*slot_names) * maxcount); in di_slot_names_decode()
992 bzero(slot_names, sizeof (*slot_names) * maxcount); in di_slot_names_decode()
1023 if (count != maxcount) in di_slot_names_decode()
1027 return (maxcount); in di_slot_names_decode()
1030 di_slot_names_free(maxcount, slot_names); in di_slot_names_decode()
/titanic_41/usr/src/uts/sun4u/sys/
H A Decc_kstat.h88 struct kstat_named maxcount; member
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c332 extern int count, maxcount; in scan()
455 if (maxcount && count >= maxcount) { in scan()
H A Dsnoop.c74 int maxcount; /* maximum no of packets to capture */ variable
337 maxcount = atoi(optarg); in main()
H A Dsnoop_nfs4.c1915 args->dircount, args->maxcount); in sumarg_readdir()
1927 sprintf(get_line(0, 0), "Maxcount = %u", args->maxcount); in dtlarg_readdir()
H A Dnfs4_xdr.c1956 if (!xdr_count4(xdrs, &objp->maxcount)) in xdr_READDIR4args()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dsrvrsmtp.c3953 checksmtpattack(pcounter, maxcount, waitnow, cname, e) in checksmtpattack() argument
3955 unsigned int maxcount;
3960 if (maxcount <= 0) /* no limit */
3963 if (++(*pcounter) >= maxcount)
3968 if (*pcounter == maxcount && LogLevel > 5)
3974 shift = *pcounter - maxcount;
3979 #define IS_ATTACK(s) ((MaxChildren > 0 && *pcounter >= maxcount * 2) \
3983 (void) sleep(*pcounter / maxcount);
3984 s -= *pcounter / maxcount;
/titanic_41/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call3.c211 args->maxcount = 1024; in readdirplus_arginit()
/titanic_41/usr/src/lib/libc/port/print/
H A Ddoprnt.c425 size_t maxcount; in _wndoprnt() local
613 maxcount = (size_t)iop->_cnt; in _wndoprnt()
615 maxcount); in _wndoprnt()
/titanic_41/usr/src/uts/common/os/
H A Dsig.c2380 sigqhdralloc(size_t size, uint_t maxcount) in sigqhdralloc() argument
2393 ASSERT(maxcount <= INT_MAX); in sigqhdralloc()
2395 sqh->sqb_count = maxcount; in sigqhdralloc()
2396 sqh->sqb_maxcount = maxcount; in sigqhdralloc()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs_log.h453 count3 maxcount; member
H A Dnfs.h1864 count3 maxcount; member
1897 uint_t maxcount; member
H A Dnfs4_kprot.h1139 count4 maxcount; member
/titanic_41/usr/src/head/rpcsvc/
H A Dnfs_prot.x1040 count3 maxcount; member
H A Dnfs4_prot.x1139 count4 maxcount; member
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfs_log_xdr.c821 if (!xdr_count3(xdrs, &objp->maxcount)) in xdr_nfslog_READDIRPLUS3args()
H A Dnfslog_elf.c1054 args->maxcount); in nfslog_READDIRPLUS3args_print()
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_mddb.c4126 int maxcount; in selectlocator() local
4283 maxcount = 0; in selectlocator()
4296 if (count > maxcount) { in selectlocator()
4297 maxcount = count; in selectlocator()

12