Searched refs:sf (Results 1 - 25 of 214) sorted by relevance

123456789

/freebsd-10.3-release/tools/tools/mwl/mwlstats/
H A Dstatfoo.c38 statfoo_setfmt(struct statfoo *sf, const char *fmt0) argument
48 for (i = 0; i < sf->nstats; i++)
49 if (strcasecmp(tok, sf->stats[i].name) == 0)
51 if (i >= sf->nstats) {
53 "skipped\n", sf->name, tok);
56 if (j+3 > sizeof(sf->fmts)) {
58 "stopped at %s\n", sf->name, tok);
62 sf->fmts[j++] = ' ';
63 sf->fmts[j++] = 0x80 | i;
65 sf
70 statfoo_collect(struct statfoo *sf) argument
76 statfoo_update_tot(struct statfoo *sf) argument
82 statfoo_get(struct statfoo *sf, int s, char b[], size_t bs) argument
89 statfoo_print_header(struct statfoo *sf, FILE *fd) argument
104 statfoo_print_current(struct statfoo *sf, FILE *fd) argument
121 statfoo_print_total(struct statfoo *sf, FILE *fd) argument
138 statfoo_print_verbose(struct statfoo *sf, FILE *fd) argument
150 statfoo_print_fields(struct statfoo *sf, FILE *fd) argument
168 statfoo_init(struct statfoo *sf, const char *name, const struct fmt *stats, int nstats) argument
[all...]
/freebsd-10.3-release/lib/libstand/
H A Dsplitfs.c47 static int split_openfile(struct split_file *sf);
66 split_file_destroy(struct split_file *sf) argument
70 if (sf->filesc > 0) {
71 for (i = 0; i < sf->filesc; i++) {
72 free(sf->filesv[i]);
73 free(sf->descsv[i]);
75 free(sf->filesv);
76 free(sf->descsv);
78 free(sf);
82 split_openfile(struct split_file *sf) argument
108 struct split_file *sf; local
184 struct split_file *sf; local
197 struct split_file *sf; local
240 struct split_file *sf; local
307 struct split_file *sf = (struct split_file *)f->f_fsdata; local
[all...]
/freebsd-10.3-release/sys/mips/include/
H A Dsf_buf.h52 sf_buf_free(struct sf_buf *sf) argument
57 sf_buf_kva(struct sf_buf *sf) argument
61 m = (vm_page_t)sf;
66 sf_buf_page(struct sf_buf *sf) argument
69 return ((vm_page_t)sf);
82 void sf_buf_free(struct sf_buf *sf);
85 sf_buf_kva(struct sf_buf *sf) argument
88 return (sf->kva);
92 sf_buf_page(struct sf_buf *sf) argument
95 return (sf
[all...]
/freebsd-10.3-release/sys/ia64/include/
H A Dsf_buf.h52 sf_buf_free(struct sf_buf *sf) argument
57 sf_buf_page(struct sf_buf *sf) argument
60 return ((vm_page_t)sf);
64 sf_buf_kva(struct sf_buf *sf) argument
68 m = sf_buf_page(sf);
/freebsd-10.3-release/sys/sparc64/include/
H A Dsf_buf.h43 void sf_buf_free(struct sf_buf *sf);
46 sf_buf_kva(struct sf_buf *sf) argument
49 return (sf->kva);
53 sf_buf_page(struct sf_buf *sf) argument
56 return (sf->m);
/freebsd-10.3-release/sys/arm/include/
H A Dsf_buf.h45 sf_buf_kva(struct sf_buf *sf) argument
48 return (sf->kva);
52 sf_buf_page(struct sf_buf *sf) argument
55 return (sf->m);
59 void sf_buf_free(struct sf_buf *sf);
/freebsd-10.3-release/sys/amd64/include/
H A Dsf_buf.h52 sf_buf_free(struct sf_buf *sf) argument
57 sf_buf_kva(struct sf_buf *sf) argument
60 return (PHYS_TO_DMAP(VM_PAGE_TO_PHYS((vm_page_t)sf)));
64 sf_buf_page(struct sf_buf *sf) argument
67 return ((vm_page_t)sf);
/freebsd-10.3-release/tools/tools/net80211/wlanstats/
H A Dstatfoo.c38 statfoo_setfmt(struct statfoo *sf, const char *fmt0) argument
48 for (i = 0; i < sf->nstats; i++)
49 if (strcasecmp(tok, sf->stats[i].name) == 0)
51 if (i >= sf->nstats) {
53 "skipped\n", sf->name, tok);
56 if (j+3 > sizeof(sf->fmts)) {
58 "stopped at %s\n", sf->name, tok);
63 "stopped at %s\n", sf->name, tok);
67 sf->fmts[j++] = ' ';
68 sf
76 statfoo_collect(struct statfoo *sf) argument
82 statfoo_update_tot(struct statfoo *sf) argument
88 statfoo_get(struct statfoo *sf, int s, char b[], size_t bs) argument
95 statfoo_print_header(struct statfoo *sf, FILE *fd) argument
111 statfoo_print_current(struct statfoo *sf, FILE *fd) argument
129 statfoo_print_total(struct statfoo *sf, FILE *fd) argument
147 statfoo_print_verbose(struct statfoo *sf, FILE *fd) argument
167 statfoo_print_fields(struct statfoo *sf, FILE *fd) argument
185 statfoo_init(struct statfoo *sf, const char *name, const struct fmt *stats, int nstats) argument
[all...]
/freebsd-10.3-release/tools/tools/ath/athstats/
H A Dstatfoo.c38 statfoo_setfmt(struct statfoo *sf, const char *fmt0) argument
48 for (i = 0; i < sf->nstats; i++)
49 if (strcasecmp(tok, sf->stats[i].name) == 0)
51 if (i >= sf->nstats) {
53 "skipped\n", sf->name, tok);
56 if (j+3 > sizeof(sf->fmts)) {
58 "stopped at %s\n", sf->name, tok);
62 sf->fmts[j++] = ' ';
63 sf->fmts[j++] = FMTS_IS_STAT;
64 sf
72 statfoo_collect(struct statfoo *sf) argument
78 statfoo_update_tot(struct statfoo *sf) argument
84 statfoo_get(struct statfoo *sf, int s, char b[], size_t bs) argument
91 statfoo_print_header(struct statfoo *sf, FILE *fd) argument
110 statfoo_print_current(struct statfoo *sf, FILE *fd) argument
131 statfoo_print_total(struct statfoo *sf, FILE *fd) argument
152 statfoo_print_verbose(struct statfoo *sf, FILE *fd) argument
172 statfoo_print_fields(struct statfoo *sf, FILE *fd) argument
190 statfoo_init(struct statfoo *sf, const char *name, const struct fmt *stats, int nstats) argument
[all...]
/freebsd-10.3-release/tools/tools/ath/athaggrstats/
H A Dstatfoo.c38 statfoo_setfmt(struct statfoo *sf, const char *fmt0) argument
48 for (i = 0; i < sf->nstats; i++)
49 if (strcasecmp(tok, sf->stats[i].name) == 0)
51 if (i >= sf->nstats) {
53 "skipped\n", sf->name, tok);
56 if (j+3 > sizeof(sf->fmts)) {
58 "stopped at %s\n", sf->name, tok);
62 sf->fmts[j++] = ' ';
63 sf->fmts[j++] = FMTS_IS_STAT;
64 sf
72 statfoo_collect(struct statfoo *sf) argument
78 statfoo_update_tot(struct statfoo *sf) argument
84 statfoo_get(struct statfoo *sf, int s, char b[], size_t bs) argument
91 statfoo_print_header(struct statfoo *sf, FILE *fd) argument
110 statfoo_print_current(struct statfoo *sf, FILE *fd) argument
131 statfoo_print_total(struct statfoo *sf, FILE *fd) argument
152 statfoo_print_verbose(struct statfoo *sf, FILE *fd) argument
172 statfoo_print_fields(struct statfoo *sf, FILE *fd) argument
190 statfoo_init(struct statfoo *sf, const char *name, const struct fmt *stats, int nstats) argument
[all...]
/freebsd-10.3-release/tools/tools/npe/npestats/
H A Dstatfoo.c38 statfoo_setfmt(struct statfoo *sf, const char *fmt0) argument
48 for (i = 0; i < sf->nstats; i++)
49 if (strcasecmp(tok, sf->stats[i].name) == 0)
51 if (i >= sf->nstats) {
53 "skipped\n", sf->name, tok);
56 if (j+3 > sizeof(sf->fmts)) {
58 "stopped at %s\n", sf->name, tok);
62 sf->fmts[j++] = ' ';
63 sf->fmts[j++] = 0x80 | i;
65 sf
70 statfoo_collect(struct statfoo *sf) argument
76 statfoo_update_tot(struct statfoo *sf) argument
82 statfoo_get(struct statfoo *sf, int s, char b[], size_t bs) argument
89 statfoo_print_header(struct statfoo *sf, FILE *fd) argument
104 statfoo_print_current(struct statfoo *sf, FILE *fd) argument
121 statfoo_print_total(struct statfoo *sf, FILE *fd) argument
138 statfoo_print_verbose(struct statfoo *sf, FILE *fd) argument
158 statfoo_print_fields(struct statfoo *sf, FILE *fd) argument
176 statfoo_init(struct statfoo *sf, const char *name, const struct fmt *stats, int nstats) argument
[all...]
/freebsd-10.3-release/sys/i386/include/
H A Dsf_buf.h49 void sf_buf_free(struct sf_buf *sf);
52 sf_buf_kva(struct sf_buf *sf) argument
55 return (sf->kva);
59 sf_buf_page(struct sf_buf *sf) argument
62 return (sf->m);
/freebsd-10.3-release/sys/powerpc/include/
H A Dsf_buf.h49 void sf_buf_free(struct sf_buf *sf);
63 sf_buf_kva(struct sf_buf *sf) argument
66 return (VM_PAGE_TO_PHYS((vm_page_t)sf));
68 return (sf->kva);
72 sf_buf_page(struct sf_buf *sf) argument
75 return ((vm_page_t)sf);
77 return (sf->m);
/freebsd-10.3-release/sys/cddl/compat/opensolaris/sys/
H A Dvm.h54 zfs_unmap_page(struct sf_buf *sf) argument
56 sf_buf_free(sf);
/freebsd-10.3-release/sys/amd64/ia32/
H A Dia32_signal.c337 struct ia32_sigframe3 sf, *fp; local
358 td->td_sigstk.ss_size - sizeof(sf));
364 sf.sf_signum = sig;
365 sf.sf_scp = (register_t)&fp->sf_siginfo.si_sc;
368 sf.sf_arg2 = (register_t)&fp->sf_siginfo;
369 sf.sf_siginfo.si_signo = sig;
370 sf.sf_siginfo.si_code = ksi->ksi_code;
371 sf.sf_ah = (uintptr_t)catcher;
374 sf.sf_arg2 = ksi->ksi_code;
375 sf
435 struct ia32_sigframe4 sf, *sfp; local
546 struct ia32_sigframe sf, *sfp; local
[all...]
/freebsd-10.3-release/sys/powerpc/powerpc/
H A Dvm_machdep.c285 struct sf_buf *sf; local
295 LIST_FOREACH(sf, hash_list, list_entry) {
296 if (sf->m == m) {
297 sf->ref_count++;
298 if (sf->ref_count == 1) {
299 TAILQ_REMOVE(&sf_buf_freelist, sf, free_entry);
307 while ((sf = TAILQ_FIRST(&sf_buf_freelist)) == NULL) {
324 TAILQ_REMOVE(&sf_buf_freelist, sf, free_entry);
325 if (sf->m != NULL)
326 LIST_REMOVE(sf, list_entr
348 sf_buf_free(struct sf_buf *sf) argument
[all...]
/freebsd-10.3-release/contrib/netbsd-tests/bin/df/
H A Dgetmntinfo.c70 struct statvfs *sf; local
75 sf = getnewstatvfs();
76 *sf = *tmpl;
77 total = (int64_t)(u_long)sf->f_blocks * sf->f_bsize;
79 sf->f_bfree = (total - used) / sf->f_bsize;
80 sf->f_bavail = (total * (100 - minfree[i]) / 100 -
81 used) / (int)sf->f_bsize;
82 sf
[all...]
/freebsd-10.3-release/bin/pkill/tests/
H A Dpgrep-l_test.sh10 ln -sf /bin/sleep $sleep
H A Dpgrep-v_test.sh10 ln -sf /bin/sleep $sleep
H A Dpkill-P_test.sh11 ln -sf /bin/sleep $sleep
H A Dpgrep-U_test.sh11 ln -sf /bin/sleep $sleep
27 ln -sf /bin/sleep $sleep
H A Dpgrep-_g_test.sh11 ln -sf /bin/sleep $sleep
27 ln -sf /bin/sleep $sleep
/freebsd-10.3-release/sys/mips/mips/
H A Duio_machdep.c64 struct sf_buf *sf; local
96 sf = NULL;
105 sf = sf_buf_alloc(m, 0);
106 cp = (char *)sf_buf_kva(sf) + page_offset;
116 if (sf != NULL)
117 sf_buf_free(sf);
130 if (sf != NULL)
131 sf_buf_free(sf);
/freebsd-10.3-release/sys/sparc64/sparc64/
H A Duio_machdep.c65 struct sf_buf *sf; local
98 sf = sf_buf_alloc(m, 0);
99 cp = (char *)sf_buf_kva(sf) + page_offset;
101 sf = NULL;
112 if (sf != NULL)
113 sf_buf_free(sf);
126 if (sf != NULL)
127 sf_buf_free(sf);
/freebsd-10.3-release/sys/i386/i386/
H A Dvm_machdep.c192 struct savefpu_ymm *sf; local
198 sf = (struct savefpu_ymm *)res;
199 bzero(&sf->sv_xstate.sx_hd, sizeof(sf->sv_xstate.sx_hd));
200 sf->sv_xstate.sx_hd.xstate_bv = xsave_mask;
844 * (possibly old) mapping of the page by sf buffer exists. Returns
851 struct sf_buf *sf; local
857 LIST_FOREACH(sf, hash_list, list_entry) {
858 if (sf->m == m) {
864 pmap_qenter(sf
883 struct sf_buf *sf; local
992 sf_buf_free(struct sf_buf *sf) argument
[all...]

Completed in 345 milliseconds

123456789