| /freebsd/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_getcwd.c | 79 FTS *fts; in ATF_TC_BODY() local 98 fts = fts_open(argv, ops, NULL); in ATF_TC_BODY() 100 if (fts == NULL) { in ATF_TC_BODY() 105 while ((ftse = fts_read(fts)) != NULL) { in ATF_TC_BODY() 111 (void)fts_set(fts, ftse, FTS_SKIP); in ATF_TC_BODY() 139 if (fts != NULL) in ATF_TC_BODY() 140 (void)fts_close(fts); in ATF_TC_BODY()
|
| /freebsd/lib/libc/tests/gen/ |
| H A D | fts_blocks_test.c | 39 FTS *fts; in ATF_TC_BODY() local 50 fts = fts_open_b(args, 0, in ATF_TC_BODY() 54 ATF_REQUIRE_MSG(fts != NULL, "fts_open_b(): %m"); in ATF_TC_BODY() 55 while ((ftse = fts_read(fts)) != NULL && *expect != NULL) { in ATF_TC_BODY() 61 ATF_REQUIRE_EQ_MSG(0, fts_close(fts), "fts_close(): %m"); in ATF_TC_BODY()
|
| H A D | fts_test.h | 54 FTS *fts; in fts_test() local 59 fts = fts_open(fts_tc->paths, fts_tc->fts_options, fts_lexical_compar); in fts_test() 60 ATF_REQUIRE_MSG(fts != NULL, "fts_open(): %m"); in fts_test() 61 while ((ftse = fts_read(fts)) != NULL && expect->fts_name != NULL) { in fts_test() 78 ATF_REQUIRE_EQ_MSG(0, fts_close(fts), "fts_close(): %m"); in fts_test()
|
| /freebsd/tools/test/stress2/testcases/fts/ |
| H A D | fts.c | 58 FTS *fts; in test() local 66 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) in test() 69 while ((p = fts_read(fts)) != NULL && done_testing == 0) { in test() 98 if (fts_close(fts) == -1) in test()
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | ffs_sync.sh | 199 FTS *fts; 210 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 213 while ((p = fts_read(fts)) != NULL) 218 if (fts_close(fts) == -1) 226 fts(void) 243 fts(); function
|
| H A D | dev.sh | 81 FTS *fts; 93 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 96 while ((p = fts_read(fts)) != NULL) { 113 if (fts_close(fts) == -1)
|
| H A D | dev2.sh | 91 FTS *fts; 103 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 108 while ((p = fts_read(fts)) != NULL) { 123 if (fts_close(fts) == -1)
|
| H A D | procfs3.sh | 77 FTS *fts; 88 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 91 while ((p = fts_read(fts)) != NULL) { 130 if (fts_close(fts) == -1)
|
| H A D | fts3.sh | 95 FTS *fts; 104 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 107 while ((p = fts_read(fts)) != NULL) 112 if (fts_close(fts) == -1)
|
| H A D | fts.sh | 88 FTS *fts; 97 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 100 while ((p = fts_read(fts)) != NULL) { 125 if (fts_close(fts) == -1)
|
| H A D | posix_openpt2.sh | 77 FTS *fts; 90 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 93 while ((p = fts_read(fts)) != NULL) { 104 if (fts_close(fts) == -1)
|
| H A D | pts.sh | 77 FTS *fts; 90 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 93 while ((p = fts_read(fts)) != NULL) { 104 if (fts_close(fts) == -1)
|
| H A D | dev3.sh | 102 FTS *fts; 114 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 119 while ((p = fts_read(fts)) != NULL) { 134 if (fts_close(fts) == -1)
|
| H A D | pty.sh | 75 FTS *fts; 88 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 91 while ((p = fts_read(fts)) != NULL) { 106 if (fts_close(fts) == -1)
|
| H A D | sigxcpu.sh | 98 FTS *fts; 107 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 110 while ((p = fts_read(fts)) != NULL) { 135 if (fts_close(fts) == -1)
|
| H A D | lstat.sh | 94 FTS *fts; 109 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 112 while ((p = fts_read(fts)) != NULL) { 113 lstat(fts->fts_path, &sb); 118 if (fts_close(fts) == -1)
|
| H A D | fifo3.sh | 136 FTS *fts; 151 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 154 while ((p = fts_read(fts)) != NULL) { 162 if (fts_close(fts) == -1)
|
| H A D | ftruncate.sh | 106 FTS *fts; 115 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 119 while ((p = fts_read(fts)) != NULL) { 129 if (fts_close(fts) == -1)
|
| H A D | fdatasync.sh | 103 FTS *fts; 112 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 116 while ((p = fts_read(fts)) != NULL) { 129 if (fts_close(fts) == -1)
|
| H A D | fdatasync2.sh | 101 FTS *fts; 110 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 114 while ((p = fts_read(fts)) != NULL) { 127 if (fts_close(fts) == -1)
|
| H A D | pread.sh | 131 FTS *fts; 143 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) 146 while ((p = fts_read(fts)) != NULL) { 159 fts_close(fts);
|
| /freebsd/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_fs_tcp.c | 97 struct mlx5e_accel_fs_tcp *fs_tcp = &priv->fts.accel_tcp; in mlx5e_accel_fs_add_inpcb() 181 fs_tcp = &priv->fts.accel_tcp; in accel_fs_tcp_add_default_rule() 195 ((priv->fts.ipsec_ft) ? priv->fts.ipsec_ft : priv->fts.vlan.t) : in accel_fs_tcp_add_default_rule() 315 struct mlx5e_flow_table *ft = &priv->fts.accel_tcp.tables[type]; in accel_fs_tcp_create_table() 322 ft->t = mlx5_create_flow_table(priv->fts.accel_tcp.ns, &ft_attr); in accel_fs_tcp_create_table() 347 fs_tcp = &priv->fts.accel_tcp; in accel_fs_tcp_destroy_table() 366 mlx5_del_flow_rules(&priv->fts.accel_tcp.default_rules[i]); in mlx5e_accel_fs_tcp_destroy() 380 priv->fts.accel_tcp.ns = mlx5_get_flow_namespace( in mlx5e_accel_fs_tcp_create() 403 mlx5_del_flow_rules(&priv->fts.accel_tcp.default_rules[i]); in mlx5e_accel_fs_tcp_create()
|
| /freebsd/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_flow_table.c | 257 struct mlx5_flow_table *ft = priv->fts.main.t; in mlx5e_add_eth_addr_rule_sub() 455 mlx5_del_flow_rules(&priv->fts.main_vxlan_rule[MLX5E_TT_IPV6_IPSEC_ESP]); in mlx5e_del_main_vxlan_rules() 456 mlx5_del_flow_rules(&priv->fts.main_vxlan_rule[MLX5E_TT_IPV4_IPSEC_ESP]); in mlx5e_del_main_vxlan_rules() 457 mlx5_del_flow_rules(&priv->fts.main_vxlan_rule[MLX5E_TT_IPV6_IPSEC_AH]); in mlx5e_del_main_vxlan_rules() 458 mlx5_del_flow_rules(&priv->fts.main_vxlan_rule[MLX5E_TT_IPV4_IPSEC_AH]); in mlx5e_del_main_vxlan_rules() 459 mlx5_del_flow_rules(&priv->fts.main_vxlan_rule[MLX5E_TT_IPV6_TCP]); in mlx5e_del_main_vxlan_rules() 460 mlx5_del_flow_rules(&priv->fts.main_vxlan_rule[MLX5E_TT_IPV4_TCP]); in mlx5e_del_main_vxlan_rules() 461 mlx5_del_flow_rules(&priv->fts.main_vxlan_rule[MLX5E_TT_IPV6_UDP]); in mlx5e_del_main_vxlan_rules() 462 mlx5_del_flow_rules(&priv->fts.main_vxlan_rule[MLX5E_TT_IPV4_UDP]); in mlx5e_del_main_vxlan_rules() 463 mlx5_del_flow_rules(&priv->fts.main_vxlan_rule[MLX5E_TT_IPV6]); in mlx5e_del_main_vxlan_rules() [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_leapsec.c | 937 struct calendar fts; 950 ntpcal_ntp64_to_date(&fts, now64); in leapsec_add() 954 if (fts.monthday == 1 && fts.hour == 0) { in leapsec_add() 960 fts.monthday = 1; in leapsec_add() 961 fts.hour = 0; in leapsec_add() 962 fts.minute = 0; in leapsec_add() 963 fts.second = 0; in leapsec_add() 964 starttime = ntpcal_date_to_ntp64(&fts); in leapsec_add() 965 fts in leapsec_add() 955 struct calendar fts; leapsec_add() local 1007 struct calendar fts; leapsec_raw() local [all...] |
| /freebsd/lib/libc/gen/ |
| H A D | Makefile.inc | 63 fts.c \ 64 fts-compat.c \ 65 fts-compat11.c \ 177 CFLAGS.fts.c= -fblocks 239 fts.3 \ 388 MLINKS+=fts.3 fts_children.3 \ 389 fts.3 fts_close.3 \ 390 fts.3 fts_open.3 \ 391 fts.3 fts_read.3 \ 392 fts.3 fts_set.3 \ [all …]
|