Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/freebsd-12.1/contrib/tcpdump/
H A Dprint-usb.c42 int direction; in get_direction() local
44 direction = -1; in get_direction()
52 direction = 2; in get_direction()
56 direction = 1; in get_direction()
59 direction = -1; in get_direction()
66 direction = 1; in get_direction()
70 direction = 2; in get_direction()
73 direction = -1; in get_direction()
77 direction = -1; in get_direction()
80 return direction; in get_direction()
[all …]
/freebsd-12.1/sys/netinet/libalias/
H A Dalias_sctp.c717 if ((direction != SN_TO_LOCAL) && (direction != SN_TO_GLOBAL)) { in SctpAlias()
774 switch (direction) { in SctpAlias()
1076 if (direction == SN_TO_LOCAL) in sctp_PktParser()
1082 if (direction == SN_TO_LOCAL) in sctp_PktParser()
1268 switch (direction) { in GetAsconfVtags()
1321 switch (direction) { in AddGlobalIPAddresses()
1750 switch (direction) { in ID_process()
1813 switch (direction) { in INi_process()
1865 switch (direction) { in INa_process()
2506 switch (direction) { in logsctperror()
[all …]
H A Dalias_skinny.c214 ConvDirection direction) in alias_skinny_reg_msg() argument
216 (void)direction; in alias_skinny_reg_msg()
234 ConvDirection direction) in alias_skinny_startmedia() argument
241 (void)direction; in alias_skinny_startmedia()
257 ConvDirection direction) in alias_skinny_port_msg() argument
259 (void)direction; in alias_skinny_port_msg()
276 ConvDirection direction) in alias_skinny_opnrcvch_ack() argument
283 (void)direction; in alias_skinny_opnrcvch_ack()
312 ConvDirection direction; in AliasHandleSkinny() local
328 direction = ClientToServer; in AliasHandleSkinny()
[all …]
/freebsd-12.1/sys/dev/sound/pcm/
H A Dvchan.c316 direction = PCMDIR_REC; in sysctl_dev_pcm_vchans()
356 int direction, ret; in sysctl_dev_pcm_vchanmode() local
371 direction = PCMDIR_REC; in sysctl_dev_pcm_vchanmode()
392 KASSERT(direction == c->direction, ("%s(): invalid direction %d/%d", in sysctl_dev_pcm_vchanmode()
393 __func__, direction, c->direction)); in sysctl_dev_pcm_vchanmode()
466 direction = PCMDIR_REC; in sysctl_dev_pcm_vchanrate()
494 KASSERT(direction == c->direction, ("%s(): invalid direction %d/%d", in sysctl_dev_pcm_vchanrate()
495 __func__, direction, c->direction)); in sysctl_dev_pcm_vchanrate()
575 direction = PCMDIR_REC; in sysctl_dev_pcm_vchanformat()
603 KASSERT(direction == c->direction, ("%s(): invalid direction %d/%d", in sysctl_dev_pcm_vchanformat()
[all …]
H A Dsound.c182 if (c->direction == direction && in pcm_setvchans()
239 if (c->direction != direction || in pcm_setvchans()
280 (direction == PCMDIR_PLAY || direction == PCMDIR_REC), in pcm_chnalloc()
316 if (devunit == -1 && c->direction == direction && in pcm_chnalloc()
325 if (c->direction == direction && !(c->flags & CHN_F_BUSY) && in pcm_chnalloc()
334 if (c->direction != direction) in pcm_chnalloc()
343 c->direction == direction && (c->flags & CHN_F_BUSY)) in pcm_chnalloc()
495 direction = PCMDIR_PLAY; in pcm_chn_create()
502 direction = PCMDIR_PLAY; in pcm_chn_create()
509 direction = PCMDIR_REC; in pcm_chn_create()
[all …]
/freebsd-12.1/contrib/binutils/bfd/
H A Dbfdio.c263 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument
271 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek()
273 if (direction == SEEK_CUR && position == 0) in bfd_seek()
282 if (direction == SEEK_SET) in bfd_seek()
289 if ((abfd->direction == write_direction) || in bfd_seek()
290 (abfd->direction == both_direction)) in bfd_seek()
320 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek()
339 if (direction == SEEK_SET && abfd->my_archive != NULL) in bfd_seek()
343 result = abfd->iovec->bseek (abfd, file_position, direction); in bfd_seek()
367 if (direction == SEEK_SET) in bfd_seek()
H A Dopncls.c70 nbfd->direction = no_direction; in _bfd_new_bfd()
108 nbfd->direction = read_direction; in _bfd_new_bfd_contained_in()
217 nbfd->direction = both_direction; in bfd_fopen()
219 nbfd->direction = read_direction; in bfd_fopen()
221 nbfd->direction = write_direction; in bfd_fopen()
361 nbfd->direction = read_direction; in bfd_openstreamr()
545 nbfd->direction = read_direction; in bfd_openr_iovec()
606 nbfd->direction = write_direction; in bfd_openw()
766 nbfd->direction = no_direction; in bfd_create()
807 abfd->direction = write_direction; in bfd_make_writable()
[all …]
/freebsd-12.1/contrib/elftoolchain/libelf/
H A Dlibelf_xlate.c48 int elfclass, int elfmachine, int direction) in _libelf_xlate() argument
65 assert(direction == ELF_TOFILE || direction == ELF_TOMEMORY); in _libelf_xlate()
90 if (src->d_size % (direction == ELF_TOMEMORY ? fsz : msz)) { in _libelf_xlate()
100 if (direction == ELF_TOMEMORY) { in _libelf_xlate()
127 if ((direction == ELF_TOMEMORY ? db : sb) % in _libelf_xlate()
142 xlator = _libelf_get_translator(src->d_type, direction, elfclass, in _libelf_xlate()
/freebsd-12.1/share/i18n/csmapper/APPLE/
H A DUCS%ARABIC.src27 # direction overrides. Update URLs, notes.
40 # to U+274A. Add direction overrides to
132 # Arabic system was fairly simple; it used only a few direction
137 # a right-left direction attribute.
147 # direction attribute than the corresponding Unicode character.
151 # character HORIZONTAL ELLIPSIS has direction class neutral.
217 # 1. Matching the direction of Mac OS Arabic characters
231 # direction of the resulting Unicode characters.
233 # The required direction is indicated by a direction tag in the
261 # direction:
[all …]
H A DFARSI%UCS.src27 # direction overrides. Update URLs, notes.
115 # characters were encoded twice, one with a left-right direction
127 # direction attribute than the corresponding Unicode character.
130 # ELLIPSIS with strong right-left direction. However, the Unicode
131 # character HORIZONTAL ELLIPSIS has direction class neutral.
191 # 1. Matching the direction of Mac OS Farsi characters
205 # direction of the resulting Unicode characters.
207 # The required direction is indicated by a direction tag in the
235 # direction:
244 # Even when direction overrides are not needed for roundtrip
[all …]
H A DUCS%FARSI.src27 # direction overrides. Update URLs, notes.
115 # characters were encoded twice, one with a left-right direction
127 # direction attribute than the corresponding Unicode character.
130 # ELLIPSIS with strong right-left direction. However, the Unicode
131 # character HORIZONTAL ELLIPSIS has direction class neutral.
191 # 1. Matching the direction of Mac OS Farsi characters
205 # direction of the resulting Unicode characters.
207 # The required direction is indicated by a direction tag in the
235 # direction:
244 # Even when direction overrides are not needed for roundtrip
[all …]
H A DARABIC%UCS.src27 # direction overrides. Update URLs, notes.
40 # to U+274A. Add direction overrides to
132 # Arabic system was fairly simple; it used only a few direction
137 # a right-left direction attribute.
147 # direction attribute than the corresponding Unicode character.
151 # character HORIZONTAL ELLIPSIS has direction class neutral.
217 # 1. Matching the direction of Mac OS Arabic characters
231 # direction of the resulting Unicode characters.
233 # The required direction is indicated by a direction tag in the
261 # direction:
[all …]
H A DHEBREW%UCS.src149 # Hebrew system was fairly simple; it used only a few direction
154 # the other with a right-left direction attribute.
164 # direction attribute than the corresponding Unicode character.
167 # ELLIPSIS with strong right-left direction. However, the Unicode
168 # character HORIZONTAL ELLIPSIS has direction class neutral.
189 # 1. Matching the direction of Mac OS Hebrew characters
203 # direction of the resulting Unicode characters.
205 # The required direction is indicated by a direction tag in the
233 # direction:
242 # Even when direction overrides are not needed for roundtrip
[all …]
/freebsd-12.1/sys/dev/ixgbe/
H A Dixgbe_dcb.c97 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument
121 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
122 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
143 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
144 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
176 if (direction == IXGBE_DCB_TX_CONFIG) { in ixgbe_dcb_calculate_tc_credits_cee()
232 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill_cee()
251 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid_cee()
261 tsa[tc] = tc_config[tc].path[direction].tsa; in ixgbe_dcb_unpack_tsa_cee()
280 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) in ixgbe_dcb_get_tc_from_up()
[all …]
/freebsd-12.1/cddl/lib/libdtrace/
H A Dsiftr.d38 inline string siftr_dir_string[uint8_t direction] =
39 direction == SIFTR_IN ? "in" :
40 direction == SIFTR_OUT ? "out" :
45 uint8_t direction; member
75 direction = p == NULL ? 0 : p->direction;
/freebsd-12.1/sys/compat/linuxkpi/common/include/linux/
H A Ddma-mapping.h217 unsigned long offset, size_t size, enum dma_data_direction direction) in dma_map_page() argument
225 enum dma_data_direction direction) in dma_unmap_page() argument
231 enum dma_data_direction direction) in dma_sync_single_for_cpu() argument
244 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device() argument
250 enum dma_data_direction direction) in dma_sync_sg_for_cpu() argument
256 enum dma_data_direction direction) in dma_sync_sg_for_device() argument
262 unsigned long offset, size_t size, int direction) in dma_sync_single_range_for_cpu() argument
268 unsigned long offset, size_t size, int direction) in dma_sync_single_range_for_device() argument
/freebsd-12.1/sys/ofed/include/rdma/
H A Dib_verbs.h1785 enum dma_data_direction direction);
1795 enum dma_data_direction direction);
1801 enum dma_data_direction direction,
1805 enum dma_data_direction direction,
2988 enum dma_data_direction direction, in ib_dma_map_single_attrs() argument
2992 direction, dma_attrs); in ib_dma_map_single_attrs()
3001 direction, dma_attrs); in ib_dma_unmap_single_attrs()
3016 enum dma_data_direction direction) in ib_dma_map_page() argument
3049 enum dma_data_direction direction) in ib_dma_map_sg() argument
3065 enum dma_data_direction direction) in ib_dma_unmap_sg() argument
[all …]
/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dib_smi.c52 u8 direction, in __smi_handle_dr_smp_send() argument
61 if (!direction) { in __smi_handle_dr_smp_send()
164 u8 direction, in __smi_handle_dr_smp_recv() argument
173 if (!direction) { in __smi_handle_dr_smp_recv()
275 u8 direction, in __smi_check_forward_dr_smp() argument
279 if (!direction) { in __smi_check_forward_dr_smp()
/freebsd-12.1/crypto/heimdal/appl/telnet/telnet/
H A Dutilities.c95 Dump(char direction, unsigned char *buffer, int length) in Dump() argument
105 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump()
142 printoption(char *direction, int cmd, int option) in printoption() argument
150 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption()
156 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption()
164 fprintf(NetTrace, "%s %d %d", direction, cmd, option); in printoption()
264 printsub(int direction, unsigned char *pointer, size_t length) in printsub() argument
269 if (showoptions || direction == 0 || in printsub()
271 if (direction) { in printsub()
273 (direction == '<')? "RCVD":"SENT"); in printsub()
[all …]
/freebsd-12.1/contrib/telnet/telnet/
H A Dutilities.c125 Dump(char direction, unsigned char *buffer, int length) in Dump() argument
136 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump()
173 printoption(const char *direction, int cmd, int option) in printoption() argument
181 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption()
187 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption()
195 fprintf(NetTrace, "%s %d %d", direction, cmd, option); in printoption()
284 printsub(char direction, unsigned char *pointer, int length) in printsub() argument
292 if (showoptions || direction == 0 || in printsub()
294 if (direction) { in printsub()
296 (direction == '<')? "RCVD":"SENT"); in printsub()
[all …]
/freebsd-12.1/sys/dev/rtwn/usb/
H A Drtwn_usb_ep.c65 .direction = UE_DIR_IN,
75 .direction = UE_DIR_OUT,
88 .direction = UE_DIR_OUT,
101 .direction = UE_DIR_OUT,
114 .direction = UE_DIR_OUT,
/freebsd-12.1/crypto/openssh/regress/misc/kexfuzz/
H A Dkexfuzz.c37 enum direction { S2C, C2S }; enum
200 int direction, int packet_index, in do_kex_with_key() argument
232 hook_ctx.trigger_direction = direction; in do_kex_with_key()
347 int packet_index = -1, direction = -1; in main() local
374 direction = S2C; in main()
376 direction = C2S; in main()
426 if (packet_index == -1 || direction == -1 || data_path == NULL) in main()
439 if (packet_index == -1 || direction == -1 || data_path == NULL) in main()
447 direction, packet_index, in main()
/freebsd-12.1/sys/crypto/rijndael/
H A Drijndael-api-fst.c37 int rijndael_makeKey(keyInstance *key, BYTE direction, int keyLen, in rijndael_makeKey() argument
45 if ((direction == DIR_ENCRYPT) || (direction == DIR_DECRYPT)) { in rijndael_makeKey()
46 key->direction = direction; in rijndael_makeKey()
63 if (direction == DIR_ENCRYPT) { in rijndael_makeKey()
93 key->direction == DIR_DECRYPT) { in rijndael_blockEncrypt()
208 key->direction == DIR_DECRYPT) { in rijndael_padEncrypt()
271 (cipher->mode != MODE_CFB1 && key->direction == DIR_ENCRYPT)) { in rijndael_blockDecrypt()
371 key->direction == DIR_ENCRYPT) { in rijndael_padDecrypt()
/freebsd-12.1/contrib/apr/file_io/unix/
H A Dseek.c24 if (thefile->direction == 1) { in setptr()
29 thefile->bufpos = thefile->direction = thefile->dataRead = 0; in setptr()
104 if (fp->direction == 1 && fp->bufpos != 0) { in apr_file_trunc()
118 fp->bufpos = fp->direction = fp->dataRead = 0; in apr_file_trunc()
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Dwmm_ac.c53 static u8 wmm_ac_direction_to_idx(u8 direction) in wmm_ac_direction_to_idx() argument
55 switch (direction) { in wmm_ac_direction_to_idx()
63 wpa_printf(MSG_ERROR, "Invalid direction: %d", direction); in wmm_ac_direction_to_idx()
294 tspec->ts_info[0] |= params->direction << 5; in wmm_ac_build_addts_req()
393 if (!(params->direction == WMM_TSPEC_DIRECTION_UPLINK || in wmm_ac_ts_req_is_valid()
397 params->direction); in wmm_ac_ts_req_is_valid()
410 params->direction) < 0) in wmm_ac_ts_req_is_valid()
598 if (params->direction != WMM_AC_DIR_DOWNLINK && in wpas_wmm_ac_addts()
611 params->user_priority, params->direction); in wpas_wmm_ac_addts()
832 static const char * get_direction_str(u8 direction) in get_direction_str() argument
[all …]

12345678910>>...16