Searched refs:bufspace (Results 1 – 11 of 11) sorted by relevance
/dragonfly/contrib/libedit/src/ |
H A D | chartype.c | 146 size_t bufspace; in ct_decode_argv() local 154 for (i = 0, bufspace = 0; i < argc; ++i) in ct_decode_argv() 155 bufspace += argv[i] ? strlen(argv[i]) + 1 : 0; in ct_decode_argv() 156 if (conv->wsize < ++bufspace) in ct_decode_argv() 157 if (ct_conv_wbuff_resize(conv, bufspace + CT_BUFSIZ) == -1) in ct_decode_argv() 168 bytes = (ssize_t)mbstowcs(p, argv[i], bufspace); in ct_decode_argv() 175 bufspace -= (size_t)bytes; in ct_decode_argv()
|
/dragonfly/lib/libkinfo/ |
H A D | kinfo_vfs.c | 45 kinfo_get_vfs_bufspace(long *bufspace) in kinfo_get_vfs_bufspace() argument 47 size_t len = sizeof(*bufspace); in kinfo_get_vfs_bufspace() 49 return(sysctlbyname("vfs.bufspace", bufspace, &len, NULL, 0)); in kinfo_get_vfs_bufspace()
|
/dragonfly/lib/libkcore/ |
H A D | kcore_vfs.c | 49 kcore_get_vfs_bufspace(struct kcore_data *kc, long *bufspace) in kcore_get_vfs_bufspace() argument 56 return(kcore_get_generic(kc, nl, bufspace, sizeof(*bufspace))); in kcore_get_vfs_bufspace()
|
H A D | kcore.h | 65 #define kinfo_get_vfs_bufspace(bufspace) \ argument 66 kcore_get_vfs_bufspace(NULL, bufspace)
|
/dragonfly/contrib/less/ |
H A D | ch.c | 650 public void ch_setbufspace(int bufspace) in ch_setbufspace() argument 652 if (bufspace < 0) in ch_setbufspace() 657 maxbufs = bufspace / lbufk + (bufspace % lbufk != 0); in ch_setbufspace()
|
H A D | opttbl.c | 38 public int bufspace; /* Max buffer space per file (K) */ variable 202 NUMBER|INIT_HANDLER, 64, &bufspace, opt_b,
|
H A D | optfunc.c | 31 extern int bufspace; 464 ch_setbufspace(bufspace); in opt_b()
|
H A D | funcs.h | 54 public void ch_setbufspace(int bufspace);
|
/dragonfly/sys/kern/ |
H A D | vfs_bio.c | 128 long bufspace; /* atomic ops */ variable 204 SYSCTL_LONG(_vfs, OID_AUTO, bufspace, CTLFLAG_RD, &bufspace, 0, 1858 atomic_add_long(&bufspace, -bp->b_bufsize); in vfs_vmio_release() 1910 if (bufspace < lobufspace) in getnewbuf() 2110 if (bufspace >= hibufspace) in getnewbuf() 2112 if (bufspace < lobufspace) in getnewbuf() 2168 if (bufspace >= hibufspace) { in getnewbuf() 3218 atomic_add_long(&bufspace, newbsize - bp->b_bufsize); in allocbuf()
|
/dragonfly/usr.bin/systat/ |
H A D | vmstat.c | 75 long bufspace; member 605 put64(s.bufspace, VMSTATROW + 13, VMSTATCOL, 7, 0); in showkre() 913 NREAD(X_BUFFERSPACE, &ls->bufspace, sizeof(ls->bufspace)); in getinfo()
|
/dragonfly/usr.bin/top/ |
H A D | m_dragonfly.c | 405 static long bufspace = 0; in get_system_info() local 413 if (kinfo_get_vfs_bufspace(&bufspace)) in get_system_info() 421 memory_stats[4] = bufspace / 1024; in get_system_info()
|