| /NextBSD/sys/dev/mlx5/mlx5_core/ |
| HD | mlx5_flow_table.c | 51 static int mlx5_set_flow_entry_cmd(struct mlx5_flow_table *ft, u32 group_ix, in mlx5_set_flow_entry_cmd() argument 65 mlx5_core_warn(ft->dev, "failed to allocate inbox\n"); in mlx5_set_flow_entry_cmd() 69 MLX5_SET(set_fte_in, in, vport_number, ft->vport); in mlx5_set_flow_entry_cmd() 70 MLX5_SET(set_fte_in, in, other_vport, !!ft->vport); in mlx5_set_flow_entry_cmd() 71 MLX5_SET(set_fte_in, in, table_type, ft->type); in mlx5_set_flow_entry_cmd() 72 MLX5_SET(set_fte_in, in, table_id, ft->id); in mlx5_set_flow_entry_cmd() 80 MLX5_SET(flow_context, in_flow_context, group_id, ft->group[group_ix].id); in mlx5_set_flow_entry_cmd() 83 err = mlx5_cmd_exec_check_status(ft->dev, in, inlen, out, in mlx5_set_flow_entry_cmd() 90 static void mlx5_del_flow_entry_cmd(struct mlx5_flow_table *ft, u32 flow_index) in mlx5_del_flow_entry_cmd() argument 99 MLX5_SET_DFTEI(in, vport_number, ft->vport); in mlx5_del_flow_entry_cmd() [all …]
|
| HD | mlx5_eswitch_vacl.c | 52 void *ft; member 115 err = mlx5_add_flow_table_entry(acl_table->ft, vlan_mc_enable, in mlx5_vacl_table_allow_vlan() 150 mlx5_del_flow_table_entry(acl_table->ft, in mlx5_vacl_table_apply_loopback_filter() 164 err = mlx5_add_flow_table_entry(acl_table->ft, loopback_mc_enable, in mlx5_vacl_table_apply_loopback_filter() 206 mlx5_del_flow_table_entry(acl_table->ft, in mlx5_vacl_table_apply_default() 211 err = mlx5_add_flow_table_entry(acl_table->ft, default_mc_enable, in mlx5_vacl_table_apply_default() 252 mlx5_del_flow_table_entry(acl_table->ft, in mlx5_vacl_table_apply_untagged() 270 err = mlx5_add_flow_table_entry(acl_table->ft, untagged_mc_enable, in mlx5_vacl_table_apply_untagged() 312 mlx5_del_flow_table_entry(acl_table->ft, in mlx5_vacl_table_apply_unknown_vlan() 329 err = mlx5_add_flow_table_entry(acl_table->ft, default_mc_enable, in mlx5_vacl_table_apply_unknown_vlan() [all …]
|
| /NextBSD/usr.sbin/fdcontrol/ |
| HD | fdcontrol.c | 73 struct fd_type ft, newft, *fdtp; in main() local 124 if (ioctl(fd, FD_GTYPE, &ft) == -1) in main() 134 ft = newft; in main() 144 ft = *fdtp; in main() 148 parse_fmt(fmtstring, type, ft, &newft); in main() 149 ft = newft; in main() 157 (128 << ft.secsize) * ft.size / 1024); in main() 159 print_fmt(ft); in main() 160 if (ft.datalen != 0xff && in main() 161 ft.datalen != (128 << ft.secsize)) in main() [all …]
|
| /NextBSD/sys/net/ |
| HD | flowtable.c | 133 #define FLOWSTAT_ADD(ft, name, v) \ argument 134 counter_u64_add((ft)->ft_stat[offsetof(struct flowtable_stat, name) / sizeof(uint64_t)], (v)) 135 #define FLOWSTAT_INC(ft, name) FLOWSTAT_ADD(ft, name, 1) argument 412 flowtable_mask(struct flowtable *ft) in flowtable_mask() argument 423 return (*(bitstr_t **)zpcpu_get(ft->ft_masks)); in flowtable_mask() 427 flowtable_list(struct flowtable *ft, uint32_t hash) in flowtable_list() argument 431 return (zpcpu_get(ft->ft_table[hash % ft->ft_size])); in flowtable_list() 435 flow_stale(struct flowtable *ft, struct flentry *fle, int maxidle) in flow_stale() argument 494 flowtable_insert(struct flowtable *ft, uint32_t hash, uint32_t *key, in flowtable_insert() argument 532 if (ft == &V_ip4_ft) { in flowtable_insert() [all …]
|
| /NextBSD/sys/contrib/ngatm/netnatm/msg/ |
| HD | traffic.c | 78 u_int ft, bt, be, ftag, btag; in uni_classify_traffic() local 192 ft = traffic->h.present & fmask; in uni_classify_traffic() 230 if (ft != UNI_TRAFFIC_FPCR1_P) in uni_classify_traffic() 241 if (ft == UNI_TRAFFIC_FPCR0_P) { in uni_classify_traffic() 244 } else if (ft == fcbr3) { in uni_classify_traffic() 267 if (ft != fvbr16) in uni_classify_traffic() 278 if (ft == fvbr23) { in uni_classify_traffic() 283 } else if (ft == fvbr16) { in uni_classify_traffic() 302 if (ft == fvbr23) { in uni_classify_traffic() 307 } else if (ft == fvbr4) { in uni_classify_traffic() [all …]
|
| /NextBSD/bin/pax/ |
| HD | ftree.c | 147 FTREE *ft; in ftree_add() local 163 if ((ft = (FTREE *)malloc(sizeof(FTREE))) == NULL) { in ftree_add() 170 ft->fname = str; in ftree_add() 171 ft->refcnt = 0; in ftree_add() 172 ft->chflg = chflg; in ftree_add() 173 ft->fow = NULL; in ftree_add() 175 fttail = fthead = ft; in ftree_add() 178 fttail->fow = ft; in ftree_add() 179 fttail = ft; in ftree_add() 237 FTREE *ft; in ftree_chk() local [all …]
|
| /NextBSD/sys/dev/mlx5/mlx5_en/ |
| HD | mlx5_en_flow_table.c | 100 void *ft = priv->ft.main; in mlx5e_del_eth_addr_from_flow_table() local 103 mlx5_del_flow_table_entry(ft, ai->ft_ix[MLX5E_TT_IPV6_TCP]); in mlx5e_del_eth_addr_from_flow_table() 106 mlx5_del_flow_table_entry(ft, ai->ft_ix[MLX5E_TT_IPV4_TCP]); in mlx5e_del_eth_addr_from_flow_table() 109 mlx5_del_flow_table_entry(ft, ai->ft_ix[MLX5E_TT_IPV6_UDP]); in mlx5e_del_eth_addr_from_flow_table() 112 mlx5_del_flow_table_entry(ft, ai->ft_ix[MLX5E_TT_IPV4_UDP]); in mlx5e_del_eth_addr_from_flow_table() 115 mlx5_del_flow_table_entry(ft, ai->ft_ix[MLX5E_TT_IPV6]); in mlx5e_del_eth_addr_from_flow_table() 118 mlx5_del_flow_table_entry(ft, ai->ft_ix[MLX5E_TT_IPV4]); in mlx5e_del_eth_addr_from_flow_table() 121 mlx5_del_flow_table_entry(ft, ai->ft_ix[MLX5E_TT_ANY]); in mlx5e_del_eth_addr_from_flow_table() 223 void *ft = priv->ft.main; in mlx5e_add_eth_addr_rule_sub() local 265 err = mlx5_add_flow_table_entry(ft, match_criteria_enable, in mlx5e_add_eth_addr_rule_sub() [all …]
|
| /NextBSD/contrib/groff/src/preproc/eqn/ |
| HD | text.cpp | 103 static void set_special_char_type(const char *ch, int st, int ft) in set_special_char_type() argument 112 if (ft >= 0) in set_special_char_type() 113 p->font_type = ft; in set_special_char_type() 259 void char_box::handle_char_type(int st, int ft) in handle_char_type() argument 263 if (ft >= 0) in handle_char_type() 264 char_table[c].font_type = ft; in handle_char_type() 267 void special_char_box::handle_char_type(int st, int ft) in handle_char_type() argument 269 set_special_char_type(s, st, ft); in handle_char_type() 276 int ft = lookup_font_type(type); in set_char_type() local 277 if (st < 0 && ft < 0) { in set_char_type() [all …]
|
| /NextBSD/contrib/wpa/src/rsn_supp/ |
| HD | wpa_ft.c | 60 struct wpa_ft_ies ft; in wpa_sm_set_ft_params() local 65 if (wpa_ft_parse_ies(ies, ies_len, &ft) < 0) in wpa_sm_set_ft_params() 68 if (ft.mdie && ft.mdie_len < MOBILITY_DOMAIN_ID_LEN + 1) in wpa_sm_set_ft_params() 71 if (ft.mdie) { in wpa_sm_set_ft_params() 73 ft.mdie, MOBILITY_DOMAIN_ID_LEN); in wpa_sm_set_ft_params() 74 os_memcpy(sm->mobility_domain, ft.mdie, in wpa_sm_set_ft_params() 76 sm->mdie_ft_capab = ft.mdie[MOBILITY_DOMAIN_ID_LEN]; in wpa_sm_set_ft_params() 82 if (ft.r0kh_id) { in wpa_sm_set_ft_params() 84 ft.r0kh_id, ft.r0kh_id_len); in wpa_sm_set_ft_params() 85 os_memcpy(sm->r0kh_id, ft.r0kh_id, ft.r0kh_id_len); in wpa_sm_set_ft_params() [all …]
|
| /NextBSD/sys/dev/fdc/ |
| HD | fdc.c | 293 struct fd_type *ft; /* pointer to current type descriptor */ member 358 fdprinttype(struct fd_type *ft) in fdprinttype() argument 362 ft->sectrac, ft->secsize, ft->datalen, ft->gap, ft->tracks, in fdprinttype() 363 ft->size, ft->trans, ft->heads, ft->f_gap, ft->f_inter, in fdprinttype() 364 ft->offset_side2, ft->flags); in fdprinttype() 368 fdsettype(struct fd_data *fd, struct fd_type *ft) in fdsettype() argument 370 fd->ft = ft; in fdsettype() 371 ft->size = ft->sectrac * ft->heads * ft->tracks; in fdsettype() 372 fd->sectorsize = 128 << fd->ft->secsize; in fdsettype() 995 pc98_trans = fd->ft->trans; in fdc_worker() [all …]
|
| /NextBSD/contrib/tcsh/ |
| HD | sh.exp.c | 633 Char *ft = cp, *dp, *ep, *strdev, *strino, *strF, *str, valtest = '\0', in filetest() local 640 while(any(FILETESTS, *++ft)) in filetest() 643 if (!*ft && *(ft - 1) == 'L') in filetest() 644 --ft; in filetest() 646 if (any(FILEVALS, *ft)) { in filetest() 647 valtest = *ft++; in filetest() 655 if (valtest == 'P' && *ft >= '0' && *ft <= '7') { in filetest() 656 pmask = (char) *ft - '0'; in filetest() 657 while ( *++ft >= '0' && *ft <= '7' ) in filetest() 658 pmask = 8 * pmask + ((char) *ft - '0'); in filetest() [all …]
|
| /NextBSD/crypto/heimdal/lib/roken/ |
| HD | gettimeofday.c | 43 FILETIME ft; in gettimeofday() local 47 GetSystemTimeAsFileTime(&ft); in gettimeofday() 48 li.LowPart = ft.dwLowDateTime; in gettimeofday() 49 li.HighPart = ft.dwHighDateTime; in gettimeofday()
|
| /NextBSD/sys/dev/netmap/ |
| HD | netmap_vale.c | 389 struct nm_bdg_fwd *ft; in nm_alloc_bdgfwd() local 393 ft = malloc(l, M_NETMAP, M_NOWAIT | M_ZERO); in nm_alloc_bdgfwd() 394 if (!ft) { in nm_alloc_bdgfwd() 398 dstq = (struct nm_bdg_q *)(ft + NM_BDG_BATCH_MAX); in nm_alloc_bdgfwd() 403 kring[i].nkr_ft = ft; in nm_alloc_bdgfwd() 1027 nm_bdg_flush(struct nm_bdg_fwd *ft, u_int n, 1044 struct nm_bdg_fwd *ft; in nm_bdg_preflush() local 1061 ft = kring->nkr_ft; in nm_bdg_preflush() 1067 ft[ft_i].ft_len = slot->len; in nm_bdg_preflush() 1068 ft[ft_i].ft_flags = slot->flags; in nm_bdg_preflush() [all …]
|
| /NextBSD/lib/libdispatch/src/ |
| HD | time.c | 36 FILETIME ft; in _dispatch_get_nanoseconds() 38 GetSystemTimeAsFileTime(&ft); in _dispatch_get_nanoseconds() 39 li.LowPart = ft.dwLowDateTime; in _dispatch_get_nanoseconds() 40 li.HighPart = ft.dwHighDateTime; in _dispatch_get_nanoseconds()
|
| /NextBSD/contrib/wpa/src/utils/ |
| HD | os_win32.c | 29 FILETIME ft; in os_get_time() local 37 SystemTimeToFileTime(&st, &ft); in os_get_time() 39 GetSystemTimeAsFileTime(&ft); in os_get_time() 41 li.LowPart = ft.dwLowDateTime; in os_get_time() 42 li.HighPart = ft.dwHighDateTime; in os_get_time()
|
| /NextBSD/contrib/ntp/sntp/libevent/ |
| HD | evutil_time.c | 81 } ft; in evutil_gettimeofday() local 86 GetSystemTimeAsFileTime(&ft.ft_ft); in evutil_gettimeofday() 88 if (EVUTIL_UNLIKELY(ft.ft_64 < EPOCH_BIAS)) { in evutil_gettimeofday() 92 ft.ft_64 -= EPOCH_BIAS; in evutil_gettimeofday() 93 tv->tv_sec = (long) (ft.ft_64 / UNITS_PER_SEC); in evutil_gettimeofday() 94 tv->tv_usec = (long) ((ft.ft_64 / UNITS_PER_USEC) % USEC_PER_SEC); in evutil_gettimeofday()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Host/common/ |
| HD | TimeValue.cpp | 131 FILETIME ft; in Now() local 132 SystemTimeToFileTime(&st, &ft); in Now() 134 … seconds = ((((uint64_t)ft.dwHighDateTime) << 32 | ft.dwLowDateTime) / 10000000) - 11644473600ULL; in Now()
|
| /NextBSD/lib/msun/src/ |
| HD | s_cbrtl.c | 40 float ft, fx; in cbrtl() local 94 SET_FLOAT_WORD(ft, ((hx & 0x7fffffff) / 3 + B1)); in cbrtl() 98 dt = ft; in cbrtl()
|
| /NextBSD/contrib/ncurses/ncurses/win32con/ |
| HD | gettimeofday.c | 43 FILETIME ft; in gettimeofday() member 47 GetSystemTimeAsFileTime(&data.ft); in gettimeofday()
|
| /NextBSD/contrib/llvm/lib/Support/Windows/ |
| HD | TimeValue.inc | 28 uint64_t ft; 29 GetSystemTimeAsFileTime(reinterpret_cast<FILETIME *>(&ft)); 32 t.fromWin32Time(ft);
|
| /NextBSD/contrib/llvm/lib/Target/ |
| HD | TargetMachineC.cpp | 202 TargetMachine::CodeGenFileType ft; in LLVMTargetMachineEmit() local 205 ft = TargetMachine::CGFT_AssemblyFile; in LLVMTargetMachineEmit() 208 ft = TargetMachine::CGFT_ObjectFile; in LLVMTargetMachineEmit() 211 if (TM->addPassesToEmitFile(pass, OS, ft)) { in LLVMTargetMachineEmit()
|
| /NextBSD/contrib/ntp/sntp/libevent/test/ |
| HD | test-changelist.c | 82 filetime_to_100nsec(const FILETIME *ft) in filetime_to_100nsec() argument 85 ev_int64_t n = ft->dwHighDateTime; in filetime_to_100nsec() 87 n += ft->dwLowDateTime; in filetime_to_100nsec()
|
| /NextBSD/contrib/netbsd-tests/dev/scsipi/libscsitest/ |
| HD | scsitest.c | 214 int error, ft; in scsitest_match() local 216 if (rumpuser_getfileinfo(MYCDISO, &fsize, &ft, &error)) in scsitest_match() 218 if (ft != RUMPUSER_FT_REG) in scsitest_match()
|
| /NextBSD/contrib/llvm/lib/Target/Mips/ |
| HD | MipsInstrFPU.td | 106 InstSE<(outs RC:$fd), (ins RC:$fs, RC:$ft), 107 !strconcat(opstr, "\t$fd, $fs, $ft"), 108 [(set RC:$fd, (OpNode RC:$fs, RC:$ft))], Itin, FrmFR, opstr>, 182 InstSE<(outs RC:$fd), (ins RC:$fr, RC:$fs, RC:$ft), 183 !strconcat(opstr, "\t$fd, $fr, $fs, $ft"), 184 [(set RC:$fd, (OpNode (fmul RC:$fs, RC:$ft), RC:$fr))], Itin, 189 InstSE<(outs RC:$fd), (ins RC:$fr, RC:$fs, RC:$ft), 190 !strconcat(opstr, "\t$fd, $fr, $fs, $ft"), 191 [(set RC:$fd, (fsub fpimm0, (OpNode (fmul RC:$fs, RC:$ft), RC:$fr)))], 226 InstSE<(outs), (ins RC:$fs, RC:$ft, condcode:$cond), [all …]
|
| HD | Mips32r6InstrInfo.td | 182 dag InOperandList = (ins FGROpnd:$fs, FGROpnd:$ft); 183 string AsmString = !strconcat("cmp.", CondStr, ".", Typestr, "\t$fd, $fs, $ft"); 184 list<dag> Pattern = [(set FGRCCOpnd:$fd, (Op FGROpnd:$fs, FGROpnd:$ft))]; 357 dag InOperandList = (ins FGR64Opnd:$ft, brtarget:$offset); 363 class BC1EQZ_DESC : COP1_BCCZ_DESC_BASE<"bc1eqz $ft, $offset">; 364 class BC1NEZ_DESC : COP1_BCCZ_DESC_BASE<"bc1nez $ft, $offset">; 475 dag InOperandList = (ins FGRCCOpnd:$fd_in, FGROpnd:$fs, FGROpnd:$ft); 476 string AsmString = !strconcat(instr_asm, "\t$fd, $fs, $ft"); 478 FGROpnd:$ft, 502 dag InOperandList = (ins FGROpnd:$fd_in, FGROpnd:$fs, FGROpnd:$ft); [all …]
|