/freebsd-11-stable/sys/modules/pst/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/sys/modules/pst/Makefile 319182 2017-05-30 04:11:12Z ngie $ 3 .PATH: ${SRCTOP}/sys/dev/pst 5 KMOD= pst 6 SRCS= pst-pci.c pst-iop.c pst-raid.c
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | dn_aqm_pie.h | 110 drop_early(struct pie_status *pst, uint32_t qlen) argument 114 pprms = pst->parms; 118 if ((pst->qdelay_old < (pprms->qdelay_ref >> 1) 119 && pst->drop_prob < PIE_MAX_PROB / 5 ) 124 if (pst->drop_prob == 0) 125 pst->accu_prob = 0; 129 pst->accu_prob += pst->drop_prob; 139 if(pst->accu_prob < (uint64_t) (PIE_MAX_PROB * 17 / 20)) 141 if( pst [all...] |
H A D | dn_aqm_pie.c | 208 struct pie_status *pst = (struct pie_status *) x; local 211 pprms = pst->parms; 212 prob = pst->drop_prob; 219 pst->current_qdelay = ((uint64_t)pst->pq->ni.len_bytes * 220 pst->avg_dq_time) >> PIE_DQ_THRESHOLD_BITS; 222 if (!pst->pq->ni.len_bytes) 223 pst->current_qdelay = 0; 227 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref); 229 ((int64_t)pst 361 init_activate_pie(struct pie_status *pst, int resettimer) argument 390 deactivate_pie(struct pie_status *pst) argument 409 struct pie_status *pst; local 483 struct pie_status *pst; local 575 struct pie_status *pst; local 627 struct pie_status *pst = (struct pie_status *) x; local 649 struct pie_status *pst = q->aqm_status; local [all...] |
H A D | dn_sched_fq_pie.c | 113 struct pie_status pst; /* pie status variables */ member in struct:fq_pie_flow 376 struct pie_status *pst = &q->pst; local 383 pprms = pst->parms; 384 prob = pst->drop_prob; 391 pst->current_qdelay = ((uint64_t)q->stats.len_bytes * pst->avg_dq_time) 395 pst->current_qdelay = 0; 399 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref); 401 ((int64_t)pst 499 struct pie_status *pst = &q->pst; local 527 fq_deactivate_pie(struct pie_status *pst) argument 542 struct pie_status *pst=&q->pst; local 574 struct pie_status *pst = &q->pst; local 600 struct pie_status *pst = &q->pst; local 618 struct pie_status *pst; local 691 struct pie_status *pst; local [all...] |
/freebsd-11-stable/contrib/xz/src/common/ |
H A D | tuklib_cpucores.c | 94 struct pst_dynamic pst; local 95 if (pstat_getdynamic(&pst, sizeof(pst), 1, 0) != -1) 96 ret = (uint32_t)pst.psd_proc_cnt;
|
H A D | tuklib_physmem.c | 190 struct pst_static pst; local 191 if (pstat_getstatic(&pst, sizeof(pst), 1, 0) != -1) 192 ret = (uint64_t)pst.physical_memory * (uint64_t)pst.page_size;
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | dbxread.c | 244 struct partial_symtab *pst; /* Partial symtab that has the 909 add_bincl_to_list (struct partial_symtab *pst, char *name, int instance) 916 xmrealloc (pst->objfile->md, (char *) bincl_list, 920 next_bincl->pst = pst; 937 return bincl->pst; 1204 struct partial_symtab *pst; 1225 pst = (struct partial_symtab *) 0; 1375 if (past_first_source_file && pst 1378 && nlist.n_value >= pst 240 struct partial_symtab *pst; /* Partial symtab that has the member in struct:header_file_location 901 add_bincl_to_list(struct partial_symtab *pst, char *name, int instance) argument 1196 struct partial_symtab *pst; local 2174 end_psymtab(struct partial_symtab *pst, char **include_list, int num_includes, int capping_symbol_offset, CORE_ADDR capping_text, struct partial_symtab **dependency_list, int number_dependencies, int textlow_not_set) argument 2341 dbx_psymtab_to_symtab_1(struct partial_symtab *pst) argument 2397 dbx_psymtab_to_symtab(struct partial_symtab *pst) argument 2454 read_ofile_symtab(struct partial_symtab *pst) argument [all...] |
H A D | xcoffread.c | 910 read_xcoff_symtab (struct partial_symtab *pst) 912 struct objfile *objfile = pst->objfile; 944 this_symtab_psymtab = pst; 957 symnum = ((struct symloc *) pst->read_symtab_private)->first_symnum; 959 symnum + ((struct symloc *) pst->read_symtab_private)->numsyms; 1043 pst->symtab = 1420 to make sure that we set pst->symtab to the symtab for the 1423 if (pst->symtab == NULL) 1424 pst->symtab = s; 1733 xcoff_psymtab_to_symtab_1 (struct partial_symtab *pst) 905 read_xcoff_symtab(struct partial_symtab *pst) argument 1727 xcoff_psymtab_to_symtab_1(struct partial_symtab *pst) argument 1782 xcoff_psymtab_to_symtab(struct partial_symtab *pst) argument 1973 xcoff_end_psymtab(struct partial_symtab *pst, char **include_list, int num_includes, int capping_symbol_number, struct partial_symtab **dependency_list, int number_dependencies, int textlow_not_set) argument 2138 struct partial_symtab *pst; local [all...] |
H A D | dwarfread.c | 2239 static void read_ofile_symtab (struct partial_symtab *pst) 2251 read_ofile_symtab (struct partial_symtab *pst) argument 2259 abfd = pst->objfile->obfd; 2260 current_objfile = pst->objfile; 2266 dbsize = DBLENGTH (pst); 2268 dbroff = DBROFF (pst); 2269 foffset = DBFOFF (pst) + dbroff; 2270 base_section_offsets = pst->section_offsets; 2271 baseaddr = ANOFFSET (pst->section_offsets, 0); 2286 if (LNFOFF (pst)) 2330 psymtab_to_symtab_1(struct partial_symtab *pst) argument 2401 dwarf_psymtab_to_symtab(struct partial_symtab *pst) argument 2761 struct partial_symtab *pst; local [all...] |
H A D | mdebugread.c | 349 mdebug_psymtab_to_symtab (struct partial_symtab *pst) 352 if (!pst) 357 printf_filtered ("Reading in symbols for %s...", pst->filename); 363 psymtab_to_symtab_1 (pst, pst->filename); 367 scan_file_globals (pst->objfile); 469 struct partial_symtab *pst; /* the psymtab proper */ 1878 struct partial_symtab *pst) 1990 ANOFFSET (pst->section_offsets, SECT_OFF_TEXT (pst 345 mdebug_psymtab_to_symtab(struct partial_symtab *pst) argument 463 struct partial_symtab *pst; /* the psymtab proper */ member in struct:pst_map 1870 parse_procedure(PDR *pr, struct symtab *search_symtab, struct partial_symtab *pst) argument 2139 parse_lines(FDR *fh, PDR *pr, struct linetable *lt, int maxlines, struct partial_symtab *pst, CORE_ADDR lowest_pdr_addr) argument 2234 struct partial_symtab *pst; local 2300 struct partial_symtab *pst = new_psymtab ("", objfile); local 3796 psymtab_to_symtab_1(struct partial_symtab *pst, char *filename) argument [all...] |
H A D | hpread.c | 729 CORE_ADDR start_adr, CORE_ADDR end_adr, struct partial_symtab *pst, 855 struct partial_symtab *pst; 889 pst = (struct partial_symtab *) 0; 981 a null pst for the "globals" pseudo-module. */ 1058 just make an empty pst. Right now empty psts are not put 1059 in the pst chain, so all this is for naught, but later it 1062 pst = hpread_start_psymtab (objfile, 1070 pst = hpread_end_psymtab (pst, 1163 pst 720 scan_procs(int *curr_pd_p, quick_procedure_entry *qPD, int max_procs, CORE_ADDR start_adr, CORE_ADDR end_adr, struct partial_symtab *pst, char *vt_bits, struct objfile *objfile) argument 847 struct partial_symtab *pst; local 1786 struct partial_symtab *pst; local 2415 hpread_end_psymtab(struct partial_symtab *pst, char **include_list, int num_includes, int capping_symbol_offset, CORE_ADDR capping_text, struct partial_symtab **dependency_list, int number_dependencies) argument 2669 hpread_psymtab_to_symtab_1(struct partial_symtab *pst) argument 2727 hpread_psymtab_to_symtab(struct partial_symtab *pst) argument [all...] |
H A D | blockframe.c | 351 struct partial_symtab *pst; 378 pst = find_pc_sect_psymtab (mapped_pc, section); 379 if (pst) 382 if (endaddr != NULL && !pst->readin) 387 PSYMTAB_TO_SYMTAB (pst); 390 if (pst->readin) 412 psb = find_pc_sect_psymbol (pst, mapped_pc, section); 350 struct partial_symtab *pst; local
|
H A D | stabsread.h | 168 extern struct partial_symtab *end_psymtab (struct partial_symtab *pst,
|
H A D | symtab.c | 219 error ("Internal: readin %s pst for `%s' found when no symtab found.", 245 struct partial_symtab *pst; local 260 ALL_PSYMTABS (objfile, pst) 262 if (FILENAME_CMP (name, pst->filename) == 0) 264 return (pst); 271 if (pst->fullname == NULL) 272 source_full_path_of (pst->filename, &pst->fullname); 273 if (pst->fullname != NULL 274 && FILENAME_CMP (full_path, pst 682 struct partial_symtab *pst; local 1429 lookup_partial_symbol(struct partial_symtab *pst, const char *name, const char *linkage_name, int global, domain_enum domain) argument 1645 struct partial_symtab *pst; local [all...] |
H A D | symfile.c | 217 sort_pst_symbols (struct partial_symtab *pst) 221 qsort (pst->objfile->global_psymbols.list + pst->globals_offset, 222 pst->n_global_syms, sizeof (struct partial_symbol *), 280 psymtab_to_symtab (struct partial_symtab *pst) 283 if (pst->symtab) 284 return pst->symtab; 287 if (!pst->readin) 291 (*pst->read_symtab) (pst); 216 sort_pst_symbols(struct partial_symtab *pst) argument 279 psymtab_to_symtab(struct partial_symtab *pst) argument 1190 struct partial_symtab *pst; local 2273 discard_psymtab(struct partial_symtab *pst) argument 2371 cashier_psymtab(struct partial_symtab *pst) argument [all...] |
H A D | dwarf2read.c | 1157 struct partial_symtab *pst; local 1257 pst = start_psymtab_common (objfile, objfile->section_offsets, 1263 pst->read_symtab_private = (char *) 1265 DWARF_INFO_BUFFER (pst) = dwarf_info_buffer; 1266 DWARF_INFO_OFFSET (pst) = beg_of_comp_unit - dwarf_info_buffer; 1267 DWARF_ABBREV_BUFFER (pst) = dwarf_abbrev_buffer; 1268 DWARF_ABBREV_SIZE (pst) = dwarf_abbrev_size; 1269 DWARF_LINE_BUFFER (pst) = dwarf_line_buffer; 1270 DWARF_LINE_SIZE (pst) = dwarf_line_size; 1271 DWARF_STR_BUFFER (pst) 1794 dwarf2_psymtab_to_symtab(struct partial_symtab *pst) argument 1821 psymtab_to_symtab_1(struct partial_symtab *pst) argument [all...] |
H A D | elfread.c | 702 elfstab_offset_sections (struct objfile *objfile, struct partial_symtab *pst) argument 704 char *filename = pst->filename; 743 pst->section_offsets = (struct section_offsets *) 747 (pst->section_offsets)->offsets[i] = maybe->sections[i];
|
H A D | symtab.h | 954 #define PSYMTAB_TO_SYMTAB(pst) \ 955 ((pst) -> symtab != NULL ? (pst) -> symtab : psymtab_to_symtab (pst))
|
/freebsd-11-stable/release/picobsd/tinyware/sps/ |
H A D | sps.c | 47 char buf[MAXPATHLEN], vty[5], pst[5], wmesg[10]; local 107 sprintf(pst, "%c", p_stat[ki->ki_stat]); 115 pst,
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_entry.c | 61 const struct stat *pst; local 806 assert((pst = archive_entry_stat(e)) != NULL); 807 if (pst == NULL) 810 assertEqualInt(pst->st_atime, 456789); 811 assertEqualInt(pst->st_ctime, 345678); 812 assertEqualInt(pst->st_dev, 123); 813 assertEqualInt(pst->st_gid, 34); 814 assertEqualInt(pst->st_ino, 234); 815 assertEqualInt(pst->st_mode, 012345); 816 assertEqualInt(pst [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | statestr.c | 289 static const char * peer_st_flags(u_char pst); 408 u_char pst 411 return decode_bitflags(pst, ", ", peer_st_bits, 458 u_char pst; local 473 pst = (u_char)CTL_PEER_STATVAL(st); 475 peer_st_flags(pst), 476 getcode(pst & 0x7, select_codes),
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | setproctitle.c | 132 union pstun pst; local 156 pst.pst_command = ptitle; 157 pstat(PSTAT_SETCMD, pst, strlen(ptitle), 0, 0);
|
/freebsd-11-stable/usr.bin/script/ |
H A D | script.c | 433 struct stat pst; local 440 if (fstat(fileno(fp), &pst) == -1) 443 reg = S_ISREG(pst.st_mode); 445 for (nread = 0; !reg || nread < pst.st_size; nread += save_len) { 456 (uint64_t)(pst.st_size - save_len) - nread)
|
/freebsd-11-stable/sys/x86/cpufreq/ |
H A D | powernow.c | 686 struct pst_header *pst; local 728 pst = (struct pst_header*) p; 733 struct pst_header *pst = (struct pst_header*) p; local 735 if (cpuid == pst->cpuid && 736 maxfid == pst->maxfid && 737 startvid == pst->startvid) { 738 sc->powernow_max_states = pst->numpstates; 741 if (abs(sc->fsb - pst->fsb) > 5) 752 p += sizeof(struct pst_header) + (2 * pst->numpstates); 753 } while (cpuid_is_k7(pst [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeProcessNetBSD.cpp | 267 ptrace_state_t pst; local 268 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst)); 274 switch (pst.pe_report_event) { 278 pst.pe_lwp); 279 NativeThreadNetBSD& t = AddThread(pst.pe_lwp); 285 pst.pe_lwp, error); 293 pst.pe_lwp); 294 RemoveThread(pst.pe_lwp);
|