Home
last modified time | relevance | path

Searched refs:prs (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/pf/authpf/
H A Dauthpf.c644 struct pfioc_ruleset prs; in remove_stale_rulesets()
647 memset(&prs, 0, sizeof(prs)); in remove_stale_rulesets()
648 strlcpy(prs.path, anchorname, sizeof(prs.path)); in remove_stale_rulesets()
649 if (ioctl(pfctl_fd(pfh), DIOCGETRULESETS, &prs)) { in remove_stale_rulesets()
656 nr = prs.nr; in remove_stale_rulesets()
661 prs.nr = nr - 1; in remove_stale_rulesets()
662 if (ioctl(pfctl_fd(pfh), DIOCGETRULESET, &prs)) in remove_stale_rulesets()
665 if ((t = strchr(prs in remove_stale_rulesets()
646 struct pfioc_ruleset prs; remove_stale_rulesets() local
689 struct pfioc_ruleset *prs = NULL; recursive_ruleset_purge() local
[all...]
/freebsd/contrib/bc/src/
H A Dvm.c693 bc_parse_free(&vm->prs);
1005 if (good && BC_IS_BC) good = !BC_PARSE_NO_EXEC(&vm->prs);
1056 bc_parse_text(&vm->prs, text, mode);
1058 while (vm->prs.l.t != BC_LEX_EOF)
1063 vm->parse(&vm->prs);
1067 if (BC_IS_DC || !BC_PARSE_NO_EXEC(&vm->prs)) bc_program_exec(&vm->prog);
1087 bc_parse_endif(&vm->prs);
1110 bc_lex_file(&vm->prs.l, file);
1198 bc_lex_file(&vm->prs.l, bc_program_stdin_name);
1321 bc_lex_file(&vm->prs.l, bc_program_exprs_name);
[all …]
H A Dbc_parse.c1127 else bc_parse_err(&vm->prs, BC_ERR_PARSE_BLOCK); in bc_parse_endif()
/freebsd/contrib/unbound/contrib/
H A Dunbound-fuzzme.patch131 + struct msg_parse* prs;
133 + prs = (struct msg_parse*)malloc(sizeof(struct msg_parse));
134 + if(!prs) {
138 + memset(prs, 0, sizeof(*prs));
141 + if(parse_packet(pkt, prs, region) != LDNS_RCODE_NOERROR) {
/freebsd/sys/arm/ti/
H A Dti_edma3.h78 void ti_edma3_param_write(unsigned int ch, struct ti_edma3cc_param_set *prs);
79 void ti_edma3_param_read(unsigned int ch, struct ti_edma3cc_param_set *prs);
H A Dti_edma3.c409 ti_edma3_param_write(unsigned int ch, struct ti_edma3cc_param_set *prs) in ti_edma3_param_write() argument
412 (uint32_t *) prs, 8); in ti_edma3_param_write()
416 ti_edma3_param_read(unsigned int ch, struct ti_edma3cc_param_set *prs) in ti_edma3_param_read() argument
419 (uint32_t *) prs, 8); in ti_edma3_param_read()
/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c540 struct msg_parse* prs; in parse_data() local
558 prs = (struct msg_parse*)regional_alloc(qstate->env->scratch, in parse_data()
560 if(!prs) in parse_data()
562 memset(prs, 0, sizeof(*prs)); in parse_data()
565 if(parse_packet(buf, prs, qstate->env->scratch) != LDNS_RCODE_NOERROR) { in parse_data()
569 if(parse_extract_edns_from_response_msg(prs, &edns, qstate->env->scratch) != in parse_data()
575 qstate->return_msg = dns_alloc_msg(buf, prs, qstate->region); in parse_data()
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c1564 struct pfioc_ruleset prs; in pfl_walk_rulesets() local
1571 bzero(&prs, sizeof(prs)); in pfl_walk_rulesets()
1572 strlcpy(prs.path, path, sizeof(prs.path)); in pfl_walk_rulesets()
1573 if (ioctl(pfctl_fd(pfh), DIOCGETRULESETS, &prs)) { in pfl_walk_rulesets()
1579 for (nr = prs.nr, i = 0; i < nr; i++) { in pfl_walk_rulesets()
1580 prs.nr = i; in pfl_walk_rulesets()
1581 if (ioctl(pfctl_fd(pfh), DIOCGETRULESET, &prs)) { in pfl_walk_rulesets()
1587 if (strcmp(prs.name, PF_RESERVED_ANCHOR) == 0) in pfl_walk_rulesets()
1594 strlcat(newpath, prs.name, sizeof(newpath)); in pfl_walk_rulesets()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_removal.c2516 spa_removal_get_stats(spa_t *spa, pool_removal_stat_t *prs) in spa_removal_get_stats() argument
2518 prs->prs_state = spa->spa_removing_phys.sr_state; in spa_removal_get_stats()
2520 if (prs->prs_state == DSS_NONE) in spa_removal_get_stats()
2523 prs->prs_removing_vdev = spa->spa_removing_phys.sr_removing_vdev; in spa_removal_get_stats()
2524 prs->prs_start_time = spa->spa_removing_phys.sr_start_time; in spa_removal_get_stats()
2525 prs->prs_end_time = spa->spa_removing_phys.sr_end_time; in spa_removal_get_stats()
2526 prs->prs_to_copy = spa->spa_removing_phys.sr_to_copy; in spa_removal_get_stats()
2527 prs->prs_copied = spa->spa_removing_phys.sr_copied; in spa_removal_get_stats()
2529 prs->prs_mapping_memory = 0; in spa_removal_get_stats()
2538 prs->prs_mapping_memory += vdev_indirect_mapping_size(vim); in spa_removal_get_stats()
H A Dvdev_label.c418 pool_removal_stat_t prs; in root_vdev_actions_getprogress() local
419 if (spa_removal_get_stats(spa, &prs) == 0) { in root_vdev_actions_getprogress()
421 ZPOOL_CONFIG_REMOVAL_STATS, (uint64_t *)&prs, in root_vdev_actions_getprogress()
422 sizeof (prs) / sizeof (uint64_t)); in root_vdev_actions_getprogress()
/freebsd/sbin/pfctl/
H A Dpfctl.c1251 struct pfioc_ruleset prs; in pfctl_show_rules() local
1254 memset(&prs, 0, sizeof(prs)); in pfctl_show_rules()
1265 if ((ret = pfctl_get_ruleset(pfh, npath, nr, &prs)) != 0) in pfctl_show_rules()
1268 printf("anchor \"%s\" all {\n", prs.name); in pfctl_show_rules()
1270 format, prs.name, depth + 1, 0); in pfctl_show_rules()
1453 struct pfioc_ruleset prs; in pfctl_show_nat() local
1455 memset(&prs, 0, sizeof(prs)); in pfctl_show_nat()
1466 if ((ret = pfctl_get_ruleset(pfh, npath, nr, &prs)) != 0) in pfctl_show_nat()
1469 printf("nat-anchor \"%s\" all {\n", prs.name); in pfctl_show_nat()
1471 prs.name, depth + 1, 0); in pfctl_show_nat()
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c9728 pool_removal_stat_t *prs = NULL; in removal_status_nvlist() local
9730 (uint64_t **)&prs, &c) == 0) { in removal_status_nvlist()
9731 if (prs->prs_state != DSS_NONE) { in removal_status_nvlist()
9736 assert(prs->prs_removing_vdev < children); in removal_status_nvlist()
9738 child[prs->prs_removing_vdev], B_TRUE); in removal_status_nvlist()
9743 pool_scan_state_str[prs->prs_state]); in removal_status_nvlist()
9745 prs->prs_removing_vdev, B_TRUE, cb->cb_json_as_int, in removal_status_nvlist()
9748 prs->prs_start_time, cb->cb_literal, in removal_status_nvlist()
9750 nice_num_str_nvlist(nv, "end_time", prs->prs_end_time, in removal_status_nvlist()
9753 nice_num_str_nvlist(nv, "to_copy", prs->prs_to_copy, in removal_status_nvlist()
[all …]
/freebsd/contrib/bc/include/
H A Dvm.h528 BcParse prs; member
/freebsd/contrib/unbound/iterator/
H A Diterator.c4274 struct msg_parse* prs; in process_response() local
4313 prs = (struct msg_parse*)regional_alloc(qstate->env->scratch, in process_response()
4315 if(!prs) { in process_response()
4320 memset(prs, 0, sizeof(*prs)); in process_response()
4324 if(parse_packet(pkt, prs, qstate->env->scratch) != LDNS_RCODE_NOERROR) { in process_response()
4330 if(parse_extract_edns_from_response_msg(prs, &edns, qstate->env->scratch) != in process_response()
4352 prs->flags &= ~BIT_CD; in process_response()
4355 if(!scrub_message(pkt, prs, &iq->qinfo_out, iq->dp->name, in process_response()
4373 iq->response = dns_alloc_msg(pkt, prs, qstate->region); in process_response()
/freebsd/contrib/ntp/sntp/
H A DMakefile.am190 x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
H A DMakefile.in1567 x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
/freebsd/sys/powerpc/aim/
H A Dmmu_radix.c140 #define ___PPC_PRS(prs) (((prs) & 0x1) << 17) argument
145 #define PPC_TLBIE_5(rb,rs,ric,prs,r) \ argument
148 ___PPC_RIC(ric) | ___PPC_PRS(prs) | \
151 #define PPC_TLBIEL(rb,rs,ric,prs,r) \ argument
154 ___PPC_RIC(ric) | ___PPC_PRS(prs) | \
190 radix_tlbie(uint8_t ric, uint8_t prs, uint16_t is, uint32_t pid, uint32_t lpid, in radix_tlbie() argument
200 "r" (rb), "r" (rs), "i" (ric), "i" (prs) : "memory"); in radix_tlbie()
737 uint32_t pid, uint32_t ric, uint32_t prs) in tlbiel_radix_set_isa300() argument
746 : : "r"(rb), "r"(rs), "i"(ric), "i"(prs) in tlbiel_radix_set_isa300()
[all...]
/freebsd/contrib/file/magic/Magdir/
H A Dwordprocessors77 !:mime application/x-wordperfect-prs
79 !:ext prs
H A Dwindows1147 #!:mime text/prs.lines.tag
/freebsd/contrib/tcsh/
H A Dcomplete.tcsh289 fix get help info print prs prt rmdel sccsdiff tell unedit unget \