Lines Matching defs:nentries
2565 set_package_extensions_table(user_addr_t data, int nentries, int maxwidth)
2570 if (nentries <= 0 || nentries > 1024 || maxwidth <= 0 || maxwidth > 255) {
2576 MALLOC(new_exts, char *, (nentries * maxwidth) + 1, M_TEMP, M_WAITOK);
2581 error = copyin(data, new_exts, nentries * maxwidth);
2587 new_exts[(nentries * maxwidth)] = '\0'; // guarantee null termination of the block
2589 qsort(new_exts, nentries, maxwidth, extension_cmp);
2595 nexts = nentries;
7888 int eofflag, siz = UIO_BUFF_SIZE, nentries = 0;
7936 if((error = VNOP_READDIR(vp, auio, 0, &eofflag, &nentries, ctx)))
7977 if (vp->v_tag == VT_HFS && nentries > 2)
8006 error = VNOP_READDIR(vp, auio, 0, &eofflag, &nentries, ctx);
8051 if (vp->v_tag == VT_HFS && nentries > 2)