Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 25 of 664) sorted by relevance

12345678910>>...27

/freebsd/sbin/ipf/libipf/
H A Dprintnatside.c11 printnatside(char *side, nat_stat_side_t *ns) in printnatside() argument
13 PRINTF("%lu\tproxy create fail %s\n", ns->ns_appr_fail, side); in printnatside()
14 PRINTF("%lu\tproxy fail %s\n", ns->ns_ipf_proxy_fail, side); in printnatside()
15 PRINTF("%lu\tbad nat %s\n", ns->ns_badnat, side); in printnatside()
16 PRINTF("%lu\tbad nat new %s\n", ns->ns_badnatnew, side); in printnatside()
17 PRINTF("%lu\tbad next addr %s\n", ns->ns_badnextaddr, side); in printnatside()
18 PRINTF("%lu\tbucket max %s\n", ns->ns_bucket_max, side); in printnatside()
19 PRINTF("%lu\tclone nomem %s\n", ns->ns_clone_nomem, side); in printnatside()
20 PRINTF("%lu\tdecap bad %s\n", ns->ns_decap_bad, side); in printnatside()
21 PRINTF("%lu\tdecap fail %s\n", ns->ns_decap_fail, side); in printnatside()
[all …]
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_ns.c44 ns_printf(struct nvmf_namespace *ns, const char *fmt, ...) in ns_printf() argument
53 sbuf_printf(&sb, "%sn%u: ", device_get_nameunit(ns->sc->dev), in ns_printf()
54 ns->id); in ns_printf()
79 struct nvmf_namespace *ns; in nvmf_ns_biodone() local
85 ns = bio->bio_dev->si_drv1; in nvmf_ns_biodone()
91 mtx_lock(&ns->lock); in nvmf_ns_biodone()
92 if (ns->disconnected) { in nvmf_ns_biodone()
93 if (nvmf_fail_disconnect || ns->shutdown) { in nvmf_ns_biodone()
94 mtx_unlock(&ns->lock); in nvmf_ns_biodone()
100 TAILQ_INSERT_TAIL(&ns->pending_bios, bio, in nvmf_ns_biodone()
[all …]
/freebsd/contrib/unbound/iterator/
H A Diter_delegpt.c67 struct delegpt_ns* ns; in delegpt_copy() local
77 for(ns = dp->nslist; ns; ns = ns->next) { in delegpt_copy()
78 if(!delegpt_add_ns(copy, region, ns->name, ns->lame, in delegpt_copy()
79 ns->tls_auth_name, ns->port)) in delegpt_copy()
81 copy->nslist->cache_lookup_count = ns->cache_lookup_count; in delegpt_copy()
82 copy->nslist->resolved = ns->resolved; in delegpt_copy()
83 copy->nslist->got4 = ns->got4; in delegpt_copy()
84 copy->nslist->got6 = ns->got6; in delegpt_copy()
85 copy->nslist->done_pside4 = ns->done_pside4; in delegpt_copy()
86 copy->nslist->done_pside6 = ns->done_pside6; in delegpt_copy()
[all …]
/freebsd/sys/dev/nvme/
H A Dnvme_ns.c59 static int nvme_ns_split_bio(struct nvme_namespace *ns,
67 struct nvme_namespace *ns; in nvme_ns_ioctl() local
71 ns = cdev->si_drv1; in nvme_ns_ioctl()
72 ctrlr = ns->ctrlr; in nvme_ns_ioctl()
77 nvme_ns_test(ns, cmd, arg); in nvme_ns_ioctl()
81 return (nvme_ctrlr_passthrough_cmd(ctrlr, pt, ns->id, in nvme_ns_ioctl()
88 gnsid->nsid = ns->id; in nvme_ns_ioctl()
92 *(off_t *)arg = (off_t)nvme_ns_get_size(ns); in nvme_ns_ioctl()
95 *(u_int *)arg = nvme_ns_get_sector_size(ns); in nvme_ns_ioctl()
99 td->td_retval[0] = ns->id; in nvme_ns_ioctl()
[all …]
H A Dnvme_ns_cmd.c33 nvme_ns_cmd_read(struct nvme_namespace *ns, void *payload, uint64_t lba, in nvme_ns_cmd_read() argument
39 lba_count * nvme_ns_get_sector_size(ns), M_NOWAIT, cb_fn, cb_arg); in nvme_ns_cmd_read()
43 nvme_ns_read_cmd(&req->cmd, ns->id, lba, lba_count); in nvme_ns_cmd_read()
45 nvme_ctrlr_submit_io_request(ns->ctrlr, req); in nvme_ns_cmd_read()
51 nvme_ns_cmd_read_bio(struct nvme_namespace *ns, struct bio *bp, in nvme_ns_cmd_read_bio() argument
61 lba = bp->bio_offset / nvme_ns_get_sector_size(ns); in nvme_ns_cmd_read_bio()
62 lba_count = bp->bio_bcount / nvme_ns_get_sector_size(ns); in nvme_ns_cmd_read_bio()
63 nvme_ns_read_cmd(&req->cmd, ns->id, lba, lba_count); in nvme_ns_cmd_read_bio()
65 nvme_ctrlr_submit_io_request(ns->ctrlr, req); in nvme_ns_cmd_read_bio()
71 nvme_ns_cmd_write(struct nvme_namespace *ns, void *payload, uint64_t lba, in nvme_ns_cmd_write() argument
[all …]
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Domap3430-sdp.dts63 gpmc,cs-on-ns = <0>;
64 gpmc,cs-rd-off-ns = <186>;
65 gpmc,cs-wr-off-ns = <186>;
66 gpmc,adv-on-ns = <12>;
67 gpmc,adv-rd-off-ns = <48>;
68 gpmc,adv-wr-off-ns = <48>;
69 gpmc,oe-on-ns = <54>;
70 gpmc,oe-off-ns = <168>;
71 gpmc,we-on-ns = <54>;
72 gpmc,we-off-ns = <168>;
[all …]
H A Domap-gpmc-smsc911x.dtsi30 gpmc,cs-on-ns = <5>;
31 gpmc,cs-rd-off-ns = <150>;
32 gpmc,cs-wr-off-ns = <150>;
33 gpmc,adv-on-ns = <0>;
34 gpmc,adv-rd-off-ns = <15>;
35 gpmc,adv-wr-off-ns = <40>;
36 gpmc,oe-on-ns = <45>;
37 gpmc,oe-off-ns = <140>;
38 gpmc,we-on-ns = <45>;
39 gpmc,we-off-ns = <140>;
[all …]
H A Domap2430-sdp.dts48 gpmc,cs-on-ns = <6>;
49 gpmc,cs-rd-off-ns = <187>;
50 gpmc,cs-wr-off-ns = <187>;
51 gpmc,adv-on-ns = <18>;
52 gpmc,adv-rd-off-ns = <48>;
53 gpmc,adv-wr-off-ns = <48>;
54 gpmc,oe-on-ns = <60>;
55 gpmc,oe-off-ns = <169>;
56 gpmc,we-on-ns = <66>;
57 gpmc,we-off-ns = <169>;
[all …]
H A Domap3-overo-tobiduo-common.dtsi26 gpmc,cs-on-ns = <0>;
27 gpmc,cs-rd-off-ns = <42>;
28 gpmc,cs-wr-off-ns = <36>;
29 gpmc,adv-on-ns = <6>;
30 gpmc,adv-rd-off-ns = <12>;
31 gpmc,adv-wr-off-ns = <12>;
32 gpmc,oe-on-ns = <0>;
33 gpmc,oe-off-ns = <42>;
34 gpmc,we-on-ns = <0>;
35 gpmc,we-off-ns = <36>;
[all …]
H A Domap-gpmc-smsc9221.dtsi33 gpmc,cs-on-ns = <0>;
34 gpmc,cs-rd-off-ns = <42>;
35 gpmc,cs-wr-off-ns = <36>;
36 gpmc,adv-on-ns = <6>;
37 gpmc,adv-rd-off-ns = <12>;
38 gpmc,adv-wr-off-ns = <12>;
39 gpmc,oe-on-ns = <0>;
40 gpmc,oe-off-ns = <42>;
41 gpmc,we-on-ns = <0>;
42 gpmc,we-off-ns = <36>;
[all …]
H A Domap-zoom-common.dtsi32 gpmc,cs-on-ns = <5>;
33 gpmc,cs-rd-off-ns = <155>;
34 gpmc,cs-wr-off-ns = <155>;
35 gpmc,adv-on-ns = <15>;
36 gpmc,adv-rd-off-ns = <40>;
37 gpmc,adv-wr-off-ns = <40>;
38 gpmc,oe-on-ns = <45>;
39 gpmc,oe-off-ns = <145>;
40 gpmc,we-on-ns = <45>;
41 gpmc,we-off-ns = <145>;
[all …]
H A Domap3-igep.dtsi120 gpmc,cs-on-ns = <0>;
121 gpmc,cs-rd-off-ns = <44>;
122 gpmc,cs-wr-off-ns = <44>;
123 gpmc,adv-on-ns = <6>;
124 gpmc,adv-rd-off-ns = <34>;
125 gpmc,adv-wr-off-ns = <44>;
126 gpmc,we-off-ns = <40>;
127 gpmc,oe-off-ns = <54>;
128 gpmc,access-ns = <64>;
129 gpmc,rd-cycle-ns = <82>;
[all …]
H A Domap3-sb-t35.dtsi113 gpmc,cs-on-ns = <5>;
114 gpmc,cs-rd-off-ns = <150>;
115 gpmc,cs-wr-off-ns = <150>;
116 gpmc,adv-on-ns = <0>;
117 gpmc,adv-rd-off-ns = <15>;
118 gpmc,adv-wr-off-ns = <40>;
119 gpmc,oe-on-ns = <45>;
120 gpmc,oe-off-ns = <140>;
121 gpmc,we-on-ns = <45>;
122 gpmc,we-off-ns = <140>;
[all …]
H A Domap2420-n8x0-common.dtsi64 gpmc,cs-on-ns = <0>;
65 gpmc,cs-rd-off-ns = <127>;
66 gpmc,cs-wr-off-ns = <109>;
67 gpmc,adv-on-ns = <0>;
68 gpmc,adv-rd-off-ns = <18>;
69 gpmc,adv-wr-off-ns = <18>;
70 gpmc,oe-on-ns = <27>;
71 gpmc,oe-off-ns = <127>;
72 gpmc,we-on-ns = <27>;
73 gpmc,we-off-ns = <72>;
[all …]
/freebsd/contrib/jemalloc/src/
H A Dnstime.c12 nstime_init(nstime_t *time, uint64_t ns) { in nstime_init() argument
13 time->ns = ns; in nstime_init()
18 time->ns = sec * BILLION + nsec; in nstime_init2()
23 return time->ns; in nstime_ns()
28 return time->ns / MILLION; in nstime_msec()
33 return time->ns / BILLION; in nstime_sec()
38 return time->ns % BILLION; in nstime_nsec()
48 return (a->ns > b->ns) - (a->ns < b->ns); in nstime_compare()
53 assert(UINT64_MAX - time->ns >= addend->ns); in nstime_add()
55 time->ns += addend->ns; in nstime_add()
[all …]
/freebsd/sys/net/
H A Dmp_ring.c95 union ring_state ns; in drain_ring_locked() local
112 os.state = ns.state = r->state; in drain_ring_locked()
113 ns.cidx = cidx; in drain_ring_locked()
114 ns.flags = STALLED; in drain_ring_locked()
115 r->state = ns.state; in drain_ring_locked()
136 os.state = ns.state = r->state; in drain_ring_locked()
137 ns.cidx = cidx; in drain_ring_locked()
138 ns.flags = state_to_flags(ns, total >= budget); in drain_ring_locked()
139 r->state = ns.state; in drain_ring_locked()
141 if (ns.flags == ABDICATED) in drain_ring_locked()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/nvidia/
H A Dtegra30-cpu-opp.dtsi9 clock-latency-ns = <100000>;
15 clock-latency-ns = <100000>;
21 clock-latency-ns = <100000>;
27 clock-latency-ns = <100000>;
33 clock-latency-ns = <100000>;
39 clock-latency-ns = <100000>;
45 clock-latency-ns = <100000>;
52 clock-latency-ns = <100000>;
59 clock-latency-ns = <100000>;
66 clock-latency-ns = <100000>;
[all …]
H A Dtegra20-cpu-opp.dtsi9 clock-latency-ns = <400000>;
16 clock-latency-ns = <400000>;
23 clock-latency-ns = <400000>;
29 clock-latency-ns = <400000>;
35 clock-latency-ns = <400000>;
41 clock-latency-ns = <400000>;
48 clock-latency-ns = <400000>;
54 clock-latency-ns = <400000>;
60 clock-latency-ns = <400000>;
66 clock-latency-ns = <400000>;
[all …]
/freebsd/usr.sbin/makefs/ffs/
H A Dufs_bswap.h54 ufs_rw16(u_int16_t a, int ns) in ufs_rw16() argument
56 return ((ns) ? bswap16(a) : (a)); in ufs_rw16()
59 ufs_rw32(u_int32_t a, int ns) in ufs_rw32() argument
61 return ((ns) ? bswap32(a) : (a)); in ufs_rw32()
64 ufs_rw64(u_int64_t a, int ns) in ufs_rw64() argument
66 return ((ns) ? bswap64(a) : (a)); in ufs_rw64()
69 #define ufs_rw16(a, ns) ((uint16_t)(a)) argument
70 #define ufs_rw32(a, ns) ((uint32_t)(a)) argument
71 #define ufs_rw64(a, ns) ((uint64_t)(a)) argument
74 #define ufs_add16(a, b, ns) \ argument
[all …]
/freebsd/sys/dev/nmdm/
H A Dnmdm.c134 struct nmdmsoftc *ns = np->np_pair; in nmdm_free() local
144 mtx_lock(&ns->ns_mtx); in nmdm_free()
147 mtx_unlock(&ns->ns_mtx); in nmdm_free()
150 mtx_destroy(&ns->ns_mtx); in nmdm_free()
151 free(ns, M_NMDM); in nmdm_free()
159 struct nmdmsoftc *ns; in nmdm_clone() local
178 ns = malloc(sizeof(*ns), M_NMDM, M_WAITOK | M_ZERO); in nmdm_clone()
179 mtx_init(&ns->ns_mtx, "nmdm", NULL, MTX_DEF); in nmdm_clone()
182 ns->ns_part1.np_pair = ns; in nmdm_clone()
183 ns->ns_part1.np_other = &ns->ns_part2; in nmdm_clone()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dmsm8996pro.dtsi26 clock-latency-ns = <200000>;
32 clock-latency-ns = <200000>;
38 clock-latency-ns = <200000>;
44 clock-latency-ns = <200000>;
50 clock-latency-ns = <200000>;
56 clock-latency-ns = <200000>;
62 clock-latency-ns = <200000>;
68 clock-latency-ns = <200000>;
74 clock-latency-ns = <200000>;
80 clock-latency-ns = <200000>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/opp/
H A Dqcom-nvmem-cpufreq.txt152 clock-latency-ns = <200000>;
158 clock-latency-ns = <200000>;
164 clock-latency-ns = <200000>;
170 clock-latency-ns = <200000>;
176 clock-latency-ns = <200000>;
182 clock-latency-ns = <200000>;
188 clock-latency-ns = <200000>;
194 clock-latency-ns = <200000>;
200 clock-latency-ns = <200000>;
206 clock-latency-ns = <200000>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mtd/
H A Dgpmc-nor.txt14 - gpmc,cs-on-ns: Chip-select assertion time
15 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads
16 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes
17 - gpmc,oe-on-ns: Output-enable assertion time
18 - gpmc,oe-off-ns: Output-enable de-assertion time
19 - gpmc,we-on-ns Write-enable assertion time
20 - gpmc,we-off-ns: Write-enable de-assertion time
21 - gpmc,access-ns: Start cycle to first data capture (read access)
22 - gpmc,rd-cycle-ns: Total read cycle time
23 - gpmc,wr-cycle-ns: Total write cycle time
[all …]
/freebsd/sys/dev/cxgbe/
H A Dt4_mp_ring.c117 union ring_state os, ns; in drain_ring() local
143 ns.state = os.state; in drain_ring()
144 ns.cidx = cidx; in drain_ring()
151 ns.flags = BUSY; in drain_ring()
153 ns.flags = STALLED; in drain_ring()
155 ns.state) == 0); in drain_ring()
159 else if (ns.flags == STALLED) in drain_ring()
173 ns.state = os.state; in drain_ring()
174 ns.cidx = cidx; in drain_ring()
177 ns.flags = BUSY; in drain_ring()
[all …]
/freebsd/tests/sys/fs/fusefs/
H A Dxattr.cc173 int ns = EXTATTR_NAMESPACE_USER; in TEST_F() local
179 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
193 int ns = EXTATTR_NAMESPACE_USER; in TEST_F() local
199 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
204 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
226 int ns = EXTATTR_NAMESPACE_USER; in TEST_F() local
232 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
244 int ns = EXTATTR_NAMESPACE_USER; in TEST_F() local
254 ASSERT_EQ(99, extattr_get_file(FULLPATH, ns, "foo", NULL, 0)) in TEST_F()
267 int ns = EXTATTR_NAMESPACE_SYSTEM; in TEST_F() local
[all …]

12345678910>>...27