/dragonfly/sys/dev/netif/ath/ath_hal/ar5416/ |
H A D | ar5416_radar.c | 65 pe->pe_rrssi = AR5416_DFS_RRSSI; in ar5416GetDfsDefaultThresh() 67 pe->pe_prssi = AR5416_DFS_PRSSI; in ar5416GetDfsDefaultThresh() 89 pe->pe_firpwr = temp; in ar5416GetDfsThresh() 110 pe->pe_enabled = !! in ar5416GetDfsThresh() 155 if (pe->pe_enabled == 1) in ar5416EnableDfs() 157 else if (pe->pe_enabled == 0) in ar5416EnableDfs() 160 if (pe->pe_usefir128 == 1) in ar5416EnableDfs() 165 if (pe->pe_enmaxrssi == 1) in ar5416EnableDfs() 170 if (pe->pe_blockradar == 1) in ar5416EnableDfs() 195 if (pe->pe_enrelpwr == 1) in ar5416EnableDfs() [all …]
|
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_radar.c | 243 if (pe->pe_rrssi != HAL_PHYERR_PARAM_NOVAL) { 326 pe->pe_firpwr = temp; 375 HAL_PHYERR_PARAM *pe) argument 406 pe->pe_firpwr = AR9300_DFS_FIRPWR; 407 pe->pe_rrssi = AR9300_DFS_RRSSI; 408 pe->pe_height = AR9300_DFS_HEIGHT; 409 pe->pe_prssi = AR9300_DFS_PRSSI; 421 pe->pe_inband = AR9300_DFS_INBAND; 422 pe->pe_relpwr = AR9300_DFS_RELPWR; 423 pe->pe_relstep = AR9300_DFS_RELSTEP; [all …]
|
/dragonfly/sys/dev/netif/ath/ath_dfs/null/ |
H A D | dfs_null.c | 109 HAL_PHYERR_PARAM pe; in ath_dfs_radar_enable() 122 memset(&pe, '\0', sizeof(pe)); in ath_dfs_radar_enable() 130 pe.pe_enabled = 1; in ath_dfs_radar_enable() 134 pe.pe_extchannel = 1; in ath_dfs_radar_enable() 136 pe.pe_extchannel = 0; in ath_dfs_radar_enable() 138 ath_hal_enabledfs(sc->sc_ah, &pe); in ath_dfs_radar_enable() 162 HAL_PHYERR_PARAM pe; in ath_dfs_radar_disable() 165 pe.pe_enabled = 0; in ath_dfs_radar_disable() 230 HAL_PHYERR_PARAM *pe; in ath_ioctl_phyerr() local 265 pe = (HAL_PHYERR_PARAM *) indata; in ath_ioctl_phyerr() [all …]
|
/dragonfly/contrib/lvm2/dist/lib/metadata/ |
H A D | pv_manip.c | 28 uint32_t pe, uint32_t len, in _alloc_pv_segment() argument 40 peg->pe = pe; in _alloc_pv_segment() 88 uint32_t pe) in _pv_split_segment() argument 93 peg->len + peg->pe - pe, in _pv_split_segment() 116 if (pe == pv->pe_count) in pv_split_segment() 121 pe, pv_dev_name(pv)); in pv_split_segment() 126 if (pe == peg->pe) in pv_split_segment() 137 .pe = 0, 157 pv_dev_name(pv), pe); in assign_peg_to_lvseg() 276 if (start_pe != peg->pe) { in check_pv_segments() [all …]
|
H A D | pv_map.c | 64 uint32_t pe, end, area_len; in _create_alloc_areas_for_pv() local 71 pe = start; in _create_alloc_areas_for_pv() 78 if (pe > end) in _create_alloc_areas_for_pv() 82 if (pe > peg->pe + peg->len - 1) in _create_alloc_areas_for_pv() 90 area_len = (end >= peg->pe + peg->len - 1) ? in _create_alloc_areas_for_pv() 91 peg->len - (pe - peg->pe) : end - pe + 1; in _create_alloc_areas_for_pv() 93 if (!_create_single_area(mem, pvm, pe, area_len)) in _create_alloc_areas_for_pv() 97 pe = peg->pe + peg->len; in _create_alloc_areas_for_pv()
|
/dragonfly/sbin/kldconfig/ |
H A D | kldconfig.c | 144 struct pathentry *pe, *pskip; in addpath() local 172 TAILQ_FOREACH(pe, pathq, next) in addpath() 175 if (pe != NULL) { in addpath() 182 if (((pe = malloc(sizeof(*pe))) == NULL) || in addpath() 206 struct pathentry *pe; in rempath() local 228 TAILQ_FOREACH(pe, pathq, next) in rempath() 231 if (pe == NULL) { in rempath() 261 struct pathentry *pe; in parsepath() local 265 if (((pe = malloc(sizeof(*pe))) == NULL) || in parsepath() 281 struct pathentry *pe; in qstring() local [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5212/ |
H A D | ar5212_misc.c | 1189 if (pe->pe_enabled) in ar5212EnableDfs() 1284 pe->pe_enrelpwr = 1; in ar5212GetDfsDefaultThresh() 1292 pe->pe_relpwr = 0; in ar5212GetDfsDefaultThresh() 1293 pe->pe_relstep = 0; in ar5212GetDfsDefaultThresh() 1294 pe->pe_maxlen = 0; in ar5212GetDfsDefaultThresh() 1298 pe->pe_enrelpwr = 0; in ar5212GetDfsDefaultThresh() 1314 pe->pe_firpwr = temp; in ar5212GetDfsThresh() 1321 pe->pe_relpwr = 0; in ar5212GetDfsThresh() 1322 pe->pe_relstep = 0; in ar5212GetDfsThresh() 1323 pe->pe_maxlen = 0; in ar5212GetDfsThresh() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | inf-ptrace.c | 46 ptrace_state_t pe; in inf_ptrace_follow_fork() local 51 (PTRACE_TYPE_ARG3)&pe, sizeof pe) == -1) in inf_ptrace_follow_fork() 55 fpid = pe.pe_other_pid; in inf_ptrace_follow_fork() 155 ptrace_event_t pe; in inf_ptrace_post_startup_inferior() local 158 memset (&pe, 0, sizeof pe); in inf_ptrace_post_startup_inferior() 161 (PTRACE_TYPE_ARG3)&pe, sizeof pe) == -1) in inf_ptrace_post_startup_inferior() 255 ptrace_event_t pe; in inf_ptrace_post_attach() local 258 memset (&pe, 0, sizeof pe); in inf_ptrace_post_attach() 261 (PTRACE_TYPE_ARG3)&pe, sizeof pe) == -1) in inf_ptrace_post_attach() 427 (PTRACE_TYPE_ARG3)&pe, sizeof pe) == -1) in inf_ptrace_wait() [all …]
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | peicode.h | 259 pe_data_type *pe; in pe_mkobject() local 267 pe = pe_data (abfd); in pe_mkobject() 269 pe->coff.pe = 1; in pe_mkobject() 290 pe->dos_message[15] = 0x0; in pe_mkobject() 292 memset (& pe->pe_opthdr, 0, sizeof pe->pe_opthdr); in pe_mkobject() 304 pe_data_type *pe; in pe_mkobject_hook() local 309 pe = pe_data (abfd); in pe_mkobject_hook() 331 pe->dll = 1; in pe_mkobject_hook() 338 pe->pe_opthdr = ((struct internal_aouthdr *) aouthdr)->pe; in pe_mkobject_hook() 346 memcpy (pe->dos_message, internal_f->pe.dos_message, in pe_mkobject_hook() [all …]
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | si_dma.c | 71 uint64_t pe, uint64_t src, in si_dma_vm_copy_pages() argument 81 ib->ptr[ib->length_dw++] = lower_32_bits(pe); in si_dma_vm_copy_pages() 83 ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; in si_dma_vm_copy_pages() 86 pe += bytes; in si_dma_vm_copy_pages() 107 uint64_t pe, in si_dma_vm_write_pages() argument 121 ib->ptr[ib->length_dw++] = pe; in si_dma_vm_write_pages() 122 ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; in si_dma_vm_write_pages() 123 for (; ndw > 0; ndw -= 2, --count, pe += 8) { in si_dma_vm_write_pages() 154 uint64_t pe, in si_dma_vm_set_pages() argument 173 ib->ptr[ib->length_dw++] = pe; /* dst addr */ in si_dma_vm_set_pages() [all …]
|
H A D | ni_dma.c | 315 uint64_t pe, uint64_t src, in cayman_dma_vm_copy_pages() argument 327 ib->ptr[ib->length_dw++] = lower_32_bits(pe); in cayman_dma_vm_copy_pages() 329 ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; in cayman_dma_vm_copy_pages() 332 pe += ndw * 4; in cayman_dma_vm_copy_pages() 353 uint64_t pe, in cayman_dma_vm_write_pages() argument 368 ib->ptr[ib->length_dw++] = pe; in cayman_dma_vm_write_pages() 369 ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; in cayman_dma_vm_write_pages() 370 for (; ndw > 0; ndw -= 2, --count, pe += 8) { in cayman_dma_vm_write_pages() 401 uint64_t pe, in cayman_dma_vm_set_pages() argument 420 ib->ptr[ib->length_dw++] = pe; /* dst addr */ in cayman_dma_vm_set_pages() [all …]
|
/dragonfly/lib/libc/net/ |
H A D | getprotoent.c | 304 len += strlen(pe->p_aliases[i]) + 1; in __copy_protoent() 306 len += strlen(pe->p_name) + 1; in __copy_protoent() 315 pptr->p_proto = pe->p_proto; in __copy_protoent() 320 n = strlen(pe->p_name) + 1; in __copy_protoent() 321 strcpy(cp, pe->p_name); in __copy_protoent() 328 n = strlen(pe->p_aliases[i]) + 1; in __copy_protoent() 329 strcpy(cp, pe->p_aliases[i]); in __copy_protoent() 375 pe->p_name = p; in __getprotoent_p() 388 pe->p_proto = l; in __getprotoent_p() 389 q = pe->p_aliases = ped->aliases; in __getprotoent_p() [all …]
|
H A D | getprotoname.c | 50 struct protoent pe; in files_getprotobyname() local 74 while ((error = __getprotoent_p(&pe, ped)) == 0) { in files_getprotobyname() 75 if (strcmp(pe.p_name, name) == 0) in files_getprotobyname() 77 for (cp = pe.p_aliases; *cp != NULL; cp++) in files_getprotobyname() 88 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotobyname()
|
H A D | getproto.c | 49 struct protoent pe; in files_getprotobynumber() local 71 while ((error = __getprotoent_p(&pe, ped)) == 0) in files_getprotobynumber() 72 if (pe.p_proto == number) in files_getprotobynumber() 80 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotobynumber()
|
/dragonfly/usr.sbin/ppp/ |
H A D | filter.c | 146 if (pe == NULL) in ParseUdpOrTcp() 148 tgt->f_srcport = ParsePort(argv[2], pe->p_name); in ParseUdpOrTcp() 161 if (pe == NULL) in ParseUdpOrTcp() 163 tgt->f_dstport = ParsePort(argv[2], pe->p_name); in ParseUdpOrTcp() 170 if (pe && pe->p_proto == IPPROTO_TCP) { in ParseUdpOrTcp() 246 struct protoent *pe; in filter_Parse() local 307 pe = NULL; in filter_Parse() 368 fe.f_proto = (pe == NULL) ? 0 : pe->p_proto; in filter_Parse() 377 val = ParseUdpOrTcp(argc, argv, pe, &fe); in filter_Parse() 453 struct protoent *pe; in doShowFilter() local [all …]
|
/dragonfly/lib/libc/stdio/ |
H A D | xprintf_int.c | 262 char *p, *pe; in __printf_render_int() local 275 pe = buf + sizeof buf - 1; in __printf_render_int() 357 p = __ultoa(uu, pe, rdx, digit, ngrp, thousands_sep, grouping); in __printf_render_int() 359 p = __ujtoa(uu, pe, rdx, digit, ngrp, thousands_sep, grouping); in __printf_render_int() 373 p = pe; in __printf_render_int() 385 l += pe - p; in __printf_render_int() 394 if (pi->prec > (pe - p)) in __printf_render_int() 395 zext = pi->prec - (pe - p); in __printf_render_int() 417 if (pi->width > (pe - p) && !pi->left) { in __printf_render_int() 418 l = pi->width - (pe - p); in __printf_render_int() [all …]
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | peicode.h | 259 pe_data_type *pe; in pe_mkobject() local 267 pe = pe_data (abfd); in pe_mkobject() 269 pe->coff.pe = 1; in pe_mkobject() 272 pe->in_reloc_p = in_reloc_p; in pe_mkobject() 274 memset (& pe->pe_opthdr, 0, sizeof pe->pe_opthdr); in pe_mkobject() 286 pe_data_type *pe; in pe_mkobject_hook() local 291 pe = pe_data (abfd); in pe_mkobject_hook() 313 pe->dll = 1; in pe_mkobject_hook() 320 pe->pe_opthdr = ((struct internal_aouthdr *) aouthdr)->pe; in pe_mkobject_hook() 328 return (void *) pe; in pe_mkobject_hook() [all …]
|
H A D | peXXigen.c | 704 if (pe->has_reloc_section) in _bfd_XXi_swap_aouthdr_out() 832 filehdr_in->pe.e_cp = 0x3; in _bfd_XXi_only_swap_filehdr_out() 848 filehdr_in->pe.e_oemid = 0x0; in _bfd_XXi_only_swap_filehdr_out() 849 filehdr_in->pe.e_oeminfo = 0x0; in _bfd_XXi_only_swap_filehdr_out() 854 filehdr_in->pe.e_lfanew = 0x80; in _bfd_XXi_only_swap_filehdr_out() 2493 pe_data_type * pe; in rsrc_print_section() local 2500 pe = pe_data (abfd); in rsrc_print_section() 2501 if (pe == NULL) in rsrc_print_section() 4111 pe_data_type * pe; in rsrc_process_section() local 4133 pe = pe_data (abfd); in rsrc_process_section() [all …]
|
/dragonfly/libexec/tftpd/ |
H A D | tftpd.c | 751 struct errmsg *pe; in errtomsg() local 755 for (pe = errmsgs; pe->e_code >= 0; pe++) in errtomsg() 756 if (pe->e_code == error) in errtomsg() 757 return pe->e_msg; in errtomsg() 773 struct errmsg *pe; in nak() local 778 for (pe = errmsgs; pe->e_code >= 0; pe++) in nak() 779 if (pe->e_code == error) in nak() 781 if (pe->e_code < 0) { in nak() 782 pe->e_msg = strerror(error - 100); in nak() 785 strcpy(tp->th_msg, pe->e_msg); in nak() [all …]
|
/dragonfly/sys/dev/netif/ath/ath/ |
H A D | if_ath_spectral.c | 190 HAL_SPECTRAL_PARAM *pe; in ath_ioctl_spectral() local 229 pe = (HAL_SPECTRAL_PARAM *) outdata; in ath_ioctl_spectral() 230 memcpy(pe, &peout, sizeof(*pe)); in ath_ioctl_spectral() 237 pe = (HAL_SPECTRAL_PARAM *) indata; in ath_ioctl_spectral() 238 ath_hal_spectral_configure(sc->sc_ah, pe); in ath_ioctl_spectral()
|
/dragonfly/usr.bin/tftp/ |
H A D | tftp.c | 359 struct errmsg *pe; in nak() local 366 for (pe = errmsgs; pe->e_code >= 0; pe++) in nak() 367 if (pe->e_code == error) in nak() 369 if (pe->e_code < 0) { in nak() 370 pe->e_msg = strerror(error - 100); in nak() 373 strcpy(tp->th_msg, pe->e_msg); in nak() 374 length = strlen(pe->e_msg) + 4; in nak()
|
/dragonfly/lib/libc/gen/ |
H A D | glob.c | 300 const Char *pe, *pm, *pm1, *pl; in globexp2() local 310 for (i = 0, pe = ++ptr; *pe; pe++) in globexp2() 311 if (*pe == LBRACKET) { in globexp2() 313 for (pm = pe++; *pe != RBRACKET && *pe != EOS; pe++) in globexp2() 315 if (*pe == EOS) { in globexp2() 320 pe = pm; in globexp2() 323 else if (*pe == LBRACE) in globexp2() 325 else if (*pe == RBRACE) { in globexp2() 332 if (i != 0 || *pe == EOS) { in globexp2() 337 for (i = 0, pl = pm = ptr; pm <= pe; pm++) in globexp2() [all …]
|
/dragonfly/contrib/lvm2/dist/lib/format1/ |
H A D | import-extents.c | 37 uint32_t pe; member 161 lvm->map[le].pe = i; in _fill_maps() 206 lvm->map[le + len].pe == lvm->map[le].pe + len)); in _area_length() 230 lvm->map[le].pe)) in _read_linear() 254 lvm->map[base_le + st * total_area_len + area_len].pe != in _check_stripe() 255 lvm->map[base_le + st * total_area_len].pe + area_len)) in _check_stripe() 309 lvm->map[first_area_le + st * total_area_len].pe)) in _read_stripes()
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.glob.c | 155 const Char *p, *pm, *pe, *pl; in globbrace() local 164 for (i = 0, pe = ++p; *pe; pe++) in globbrace() 165 if (*pe == LBRK) { in globbrace() 167 for (++pe; *pe != RBRK && *pe != EOS; pe++) in globbrace() 169 if (*pe == EOS) in globbrace() 172 else if (*pe == LBRC) in globbrace() 174 else if (*pe == RBRC) { in globbrace() 180 if (i != 0 || *pe == '\0') in globbrace() 185 for (i = 0, pl = pm = p; pm <= pe; pm++) in globbrace() 211 Strbuf_append(&gbuf, pe + 1); in globbrace()
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | ameth_lib.c | 196 EVP_PKEY_asn1_find(ENGINE **pe, int type) in EVP_PKEY_asn1_find() argument 206 if (pe) { in EVP_PKEY_asn1_find() 212 *pe = e; in EVP_PKEY_asn1_find() 216 *pe = NULL; in EVP_PKEY_asn1_find() 222 EVP_PKEY_asn1_find_str(ENGINE **pe, const char *str, int len) in EVP_PKEY_asn1_find_str() argument 228 if (pe) { in EVP_PKEY_asn1_find_str() 239 *pe = e; in EVP_PKEY_asn1_find_str() 243 *pe = NULL; in EVP_PKEY_asn1_find_str()
|