Home
last modified time | relevance | path

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

12345678910>>...14

/freebsd-10-stable/contrib/ipfilter/lib/
Dprintnatside.c11 printnatside(side, ns) in printnatside() argument
13 nat_stat_side_t *ns;
15 PRINTF("%lu\tproxy create fail %s\n", ns->ns_appr_fail, side);
16 PRINTF("%lu\tproxy fail %s\n", ns->ns_ipf_proxy_fail, side);
17 PRINTF("%lu\tbad nat %s\n", ns->ns_badnat, side);
18 PRINTF("%lu\tbad nat new %s\n", ns->ns_badnatnew, side);
19 PRINTF("%lu\tbad next addr %s\n", ns->ns_badnextaddr, side);
20 PRINTF("%lu\tbucket max %s\n", ns->ns_bucket_max, side);
21 PRINTF("%lu\tclone nomem %s\n", ns->ns_clone_nomem, side);
22 PRINTF("%lu\tdecap bad %s\n", ns->ns_decap_bad, side);
[all …]
/freebsd-10-stable/contrib/unbound/iterator/
Diter_delegpt.c67 struct delegpt_ns* ns; in delegpt_copy() local
75 for(ns = dp->nslist; ns; ns = ns->next) { in delegpt_copy()
76 if(!delegpt_add_ns(copy, region, ns->name, ns->lame)) in delegpt_copy()
78 copy->nslist->resolved = ns->resolved; in delegpt_copy()
79 copy->nslist->got4 = ns->got4; in delegpt_copy()
80 copy->nslist->got6 = ns->got6; in delegpt_copy()
81 copy->nslist->done_pside4 = ns->done_pside4; in delegpt_copy()
82 copy->nslist->done_pside6 = ns->done_pside6; in delegpt_copy()
105 struct delegpt_ns* ns; in delegpt_add_ns() local
113 ns = (struct delegpt_ns*)regional_alloc(region, in delegpt_add_ns()
[all …]
/freebsd-10-stable/contrib/apr-util/include/
Dapr_hooks.h69 #define APR_HOOK_PROBE_ENTRY(ud,ns,name,args)
81 #define APR_HOOK_PROBE_RETURN(ud,ns,name,rv,args)
94 #define APR_HOOK_PROBE_INVOKE(ud,ns,name,src,args)
108 #define APR_HOOK_PROBE_COMPLETE(ud,ns,name,src,rv,args)
114 #define APR_IMPLEMENT_HOOK_GET_PROTO(ns,link,name) \ argument
115 link##_DECLARE(apr_array_header_t *) ns##_hook_get_##name(void)
118 #define APR_DECLARE_EXTERNAL_HOOK(ns,link,ret,name,args) \ argument
119 typedef ret ns##_HOOK_##name##_t args; \
120 link##_DECLARE(void) ns##_hook_##name(ns##_HOOK_##name##_t *pf, \
123 link##_DECLARE(ret) ns##_run_##name args; \
[all …]
/freebsd-10-stable/sys/dev/nvme/
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()
84 *(off_t *)arg = (off_t)nvme_ns_get_size(ns); in nvme_ns_ioctl()
87 *(u_int *)arg = nvme_ns_get_sector_size(ns); in nvme_ns_ioctl()
138 struct nvme_namespace *ns; in nvme_ns_strategy() local
141 ns = bp->bio_dev->si_drv1; in nvme_ns_strategy()
[all …]
Dnvme_ns_cmd.c33 nvme_ns_cmd_read(struct nvme_namespace *ns, void *payload, uint64_t lba, in nvme_ns_cmd_read() argument
40 lba_count*nvme_ns_get_sector_size(ns), cb_fn, cb_arg); in nvme_ns_cmd_read()
46 cmd->nsid = ns->id; in nvme_ns_cmd_read()
52 nvme_ctrlr_submit_io_request(ns->ctrlr, req); in nvme_ns_cmd_read()
58 nvme_ns_cmd_read_bio(struct nvme_namespace *ns, struct bio *bp, in nvme_ns_cmd_read_bio() argument
72 cmd->nsid = ns->id; in nvme_ns_cmd_read_bio()
74 lba = bp->bio_offset / nvme_ns_get_sector_size(ns); in nvme_ns_cmd_read_bio()
75 lba_count = bp->bio_bcount / nvme_ns_get_sector_size(ns); in nvme_ns_cmd_read_bio()
81 nvme_ctrlr_submit_io_request(ns->ctrlr, req); in nvme_ns_cmd_read_bio()
87 nvme_ns_cmd_write(struct nvme_namespace *ns, void *payload, uint64_t lba, in nvme_ns_cmd_write() argument
[all …]
/freebsd-10-stable/sys/gnu/dts/arm/
Domap3430-sdp.dts66 gpmc,cs-on-ns = <0>;
67 gpmc,cs-rd-off-ns = <186>;
68 gpmc,cs-wr-off-ns = <186>;
69 gpmc,adv-on-ns = <12>;
70 gpmc,adv-rd-off-ns = <48>;
71 gpmc,adv-wr-off-ns = <48>;
72 gpmc,oe-on-ns = <54>;
73 gpmc,oe-off-ns = <168>;
74 gpmc,we-on-ns = <54>;
75 gpmc,we-off-ns = <168>;
[all …]
Domap-gpmc-smsc911x.dtsi29 gpmc,cs-on-ns = <5>;
30 gpmc,cs-rd-off-ns = <150>;
31 gpmc,cs-wr-off-ns = <150>;
32 gpmc,adv-on-ns = <0>;
33 gpmc,adv-rd-off-ns = <15>;
34 gpmc,adv-wr-off-ns = <40>;
35 gpmc,oe-on-ns = <45>;
36 gpmc,oe-off-ns = <140>;
37 gpmc,we-on-ns = <45>;
38 gpmc,we-off-ns = <140>;
[all …]
Domap2430-sdp.dts51 gpmc,cs-on-ns = <6>;
52 gpmc,cs-rd-off-ns = <187>;
53 gpmc,cs-wr-off-ns = <187>;
54 gpmc,adv-on-ns = <18>;
55 gpmc,adv-rd-off-ns = <48>;
56 gpmc,adv-wr-off-ns = <48>;
57 gpmc,oe-on-ns = <60>;
58 gpmc,oe-off-ns = <169>;
59 gpmc,we-on-ns = <66>;
60 gpmc,we-off-ns = <169>;
[all …]
Domap-gpmc-smsc9221.dtsi32 gpmc,cs-on-ns = <0>;
33 gpmc,cs-rd-off-ns = <42>;
34 gpmc,cs-wr-off-ns = <36>;
35 gpmc,adv-on-ns = <6>;
36 gpmc,adv-rd-off-ns = <12>;
37 gpmc,adv-wr-off-ns = <12>;
38 gpmc,oe-on-ns = <0>;
39 gpmc,oe-off-ns = <42>;
40 gpmc,we-on-ns = <0>;
41 gpmc,we-off-ns = <36>;
[all …]
Domap-zoom-common.dtsi31 gpmc,cs-on-ns = <5>;
32 gpmc,cs-rd-off-ns = <155>;
33 gpmc,cs-wr-off-ns = <155>;
34 gpmc,adv-on-ns = <15>;
35 gpmc,adv-rd-off-ns = <40>;
36 gpmc,adv-wr-off-ns = <40>;
37 gpmc,oe-on-ns = <45>;
38 gpmc,oe-off-ns = <145>;
39 gpmc,we-on-ns = <45>;
40 gpmc,we-off-ns = <145>;
[all …]
Domap2420-n8x0-common.dtsi58 gpmc,cs-on-ns = <0>;
59 gpmc,cs-rd-off-ns = <127>;
60 gpmc,cs-wr-off-ns = <109>;
61 gpmc,adv-on-ns = <0>;
62 gpmc,adv-rd-off-ns = <18>;
63 gpmc,adv-wr-off-ns = <18>;
64 gpmc,oe-on-ns = <27>;
65 gpmc,oe-off-ns = <127>;
66 gpmc,we-on-ns = <27>;
67 gpmc,we-off-ns = <72>;
[all …]
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 …]
Ddm8168-evm.dts70 gpmc,cs-on-ns = <0>;
71 gpmc,cs-rd-off-ns = <44>;
72 gpmc,cs-wr-off-ns = <44>;
73 gpmc,adv-on-ns = <6>;
74 gpmc,adv-rd-off-ns = <34>;
75 gpmc,adv-wr-off-ns = <44>;
76 gpmc,we-on-ns = <0>;
77 gpmc,we-off-ns = <40>;
78 gpmc,oe-on-ns = <0>;
79 gpmc,oe-off-ns = <54>;
[all …]
Domap2420-h4.dts34 gpmc,cs-on-ns = <10>;
35 gpmc,cs-rd-off-ns = <160>;
36 gpmc,cs-wr-off-ns = <160>;
37 gpmc,adv-on-ns = <20>;
38 gpmc,adv-rd-off-ns = <50>;
39 gpmc,adv-wr-off-ns = <50>;
40 gpmc,oe-on-ns = <60>;
41 gpmc,oe-off-ns = <120>;
42 gpmc,we-on-ns = <60>;
43 gpmc,we-off-ns = <120>;
[all …]
Domap3-n950-n9.dtsi138 gpmc,cs-on-ns = <0>;
139 gpmc,cs-rd-off-ns = <87>;
140 gpmc,cs-wr-off-ns = <87>;
141 gpmc,adv-on-ns = <0>;
142 gpmc,adv-rd-off-ns = <10>;
143 gpmc,adv-wr-off-ns = <10>;
144 gpmc,oe-on-ns = <15>;
145 gpmc,oe-off-ns = <87>;
146 gpmc,we-on-ns = <0>;
147 gpmc,we-off-ns = <87>;
[all …]
Domap3-lilly-a83x.dtsi374 gpmc,wait-monitoring-ns = <0>;
376 gpmc,cs-on-ns = <0>;
377 gpmc,cs-rd-off-ns = <100>;
378 gpmc,cs-wr-off-ns = <100>;
379 gpmc,adv-on-ns = <0>;
380 gpmc,adv-rd-off-ns = <100>;
381 gpmc,adv-wr-off-ns = <100>;
382 gpmc,oe-on-ns = <5>;
383 gpmc,oe-off-ns = <75>;
384 gpmc,we-on-ns = <5>;
[all …]
Domap4-duovero-parlor.dts147 gpmc,cs-on-ns = <10>;
148 gpmc,cs-rd-off-ns = <50>;
149 gpmc,cs-wr-off-ns = <50>;
150 gpmc,adv-on-ns = <0>;
151 gpmc,adv-rd-off-ns = <10>;
152 gpmc,adv-wr-off-ns = <10>;
153 gpmc,oe-on-ns = <15>;
154 gpmc,oe-off-ns = <50>;
155 gpmc,we-on-ns = <15>;
156 gpmc,we-off-ns = <50>;
[all …]
/freebsd-10-stable/contrib/subversion/subversion/libsvn_wc/
Ddiff_local.c109 struct node_state_t *ns; in ensure_state() local
139 ns = apr_pcalloc(ns_pool, sizeof(*ns)); in ensure_state()
141 ns->pool = ns_pool; in ensure_state()
142 ns->local_abspath = apr_pstrdup(ns_pool, local_abspath); in ensure_state()
143 ns->relpath = svn_dirent_skip_ancestor(eb->anchor_abspath, ns->local_abspath); in ensure_state()
144 ns->parent = eb->cur; in ensure_state()
145 eb->cur = ns; in ensure_state()
149 ns->skip = TRUE; in ensure_state()
150 ns->skip_children = TRUE; in ensure_state()
172 ns->left_src = svn_diff__source_create(revision, ns->pool); in ensure_state()
[all …]
/freebsd-10-stable/sys/dev/nmdm/
Dnmdm.c133 struct nmdmsoftc *ns = np->np_pair; in nmdm_free() local
143 mtx_lock(&ns->ns_mtx); in nmdm_free()
146 mtx_unlock(&ns->ns_mtx); in nmdm_free()
149 mtx_destroy(&ns->ns_mtx); in nmdm_free()
150 free(ns, M_NMDM); in nmdm_free()
158 struct nmdmsoftc *ns; in nmdm_clone() local
177 ns = malloc(sizeof(*ns), M_NMDM, M_WAITOK | M_ZERO); in nmdm_clone()
178 mtx_init(&ns->ns_mtx, "nmdm", NULL, MTX_DEF); in nmdm_clone()
181 ns->ns_part1.np_pair = ns; in nmdm_clone()
182 ns->ns_part1.np_other = &ns->ns_part2; in nmdm_clone()
[all …]
/freebsd-10-stable/usr.sbin/makefs/ffs/
Dufs_bswap.h63 ufs_rw16(u_int16_t a, int ns) in ufs_rw16() argument
65 return ((ns) ? bswap16(a) : (a)); in ufs_rw16()
68 ufs_rw32(u_int32_t a, int ns) in ufs_rw32() argument
70 return ((ns) ? bswap32(a) : (a)); in ufs_rw32()
73 ufs_rw64(u_int64_t a, int ns) in ufs_rw64() argument
75 return ((ns) ? bswap64(a) : (a)); in ufs_rw64()
78 #define ufs_rw16(a, ns) ((uint16_t)(a)) argument
79 #define ufs_rw32(a, ns) ((uint32_t)(a)) argument
80 #define ufs_rw64(a, ns) ((uint64_t)(a)) argument
83 #define ufs_add16(a, b, ns) \ argument
[all …]
/freebsd-10-stable/sys/dev/cxgbe/
Dt4_mp_ring.c106 union ring_state ns; in drain_ring() local
126 os.state = ns.state = r->state; in drain_ring()
127 ns.cidx = cidx; in drain_ring()
128 ns.flags = STALLED; in drain_ring()
130 ns.state) == 0); in drain_ring()
153 os.state = ns.state = r->state; in drain_ring()
154 ns.cidx = cidx; in drain_ring()
155 ns.flags = state_to_flags(ns, total >= budget); in drain_ring()
156 } while (atomic_cmpset_acq_64(&r->state, os.state, ns.state) == 0); in drain_ring()
159 if (ns.flags == ABDICATED) in drain_ring()
[all …]
/freebsd-10-stable/lib/libc/resolv/
Dres_send.c176 int ns; in res_ourserver_p() local
181 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
182 srv = (struct sockaddr_in *)get_nsaddr(statp, ns); in res_ourserver_p()
194 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
195 srv6 = (struct sockaddr_in6 *)get_nsaddr(statp, ns); in res_ourserver_p()
307 int gotsomewhere, terrno, tries, v_circuit, resplen, ns, n; in res_nsend() local
347 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend()
348 if (statp->nsaddr_list[ns].sin_family && in res_nsend()
349 !sock_eq((struct sockaddr *)&statp->nsaddr_list[ns], in res_nsend()
350 (struct sockaddr *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend()
[all …]
/freebsd-10-stable/contrib/apr-util/xml/
Dapr_xml.c73 int ns; /* index into namespace table */ member
103 return ns_scope->ns; in find_prefix()
205 ns_scope->ns = apr_xml_insert_uri(parser->doc->namespaces, quoted); in start_handler()
253 elem->ns = find_prefix(parser, ""); in start_handler()
256 elem->ns = APR_XML_NS_NONE; in start_handler()
260 elem->ns = find_prefix(parser, elem->name); in start_handler()
263 if (APR_XML_NS_IS_ERROR(elem->ns)) { in start_handler()
264 parser->error = elem->ns; in start_handler()
284 attr->ns = APR_XML_NS_NONE; in start_handler()
287 attr->ns = APR_XML_NS_NONE; in start_handler()
[all …]
/freebsd-10-stable/usr.sbin/ppp/
Dipcp.c179 ipcp->ns.dns[0].s_addr = ipcp->ns.dns[1].s_addr = INADDR_NONE; in ipcp_LoadDNS()
181 if (ipcp->ns.resolv != NULL) { in ipcp_LoadDNS()
182 free(ipcp->ns.resolv); in ipcp_LoadDNS()
183 ipcp->ns.resolv = NULL; in ipcp_LoadDNS()
185 if (ipcp->ns.resolv_nons != NULL) { in ipcp_LoadDNS()
186 free(ipcp->ns.resolv_nons); in ipcp_LoadDNS()
187 ipcp->ns.resolv_nons = NULL; in ipcp_LoadDNS()
189 ipcp->ns.resolver = 0; in ipcp_LoadDNS()
201 if ((ipcp->ns.resolv_nons = (char *)malloc(st.st_size + 1)) == NULL) in ipcp_LoadDNS()
204 else if ((ipcp->ns.resolv = (char *)malloc(st.st_size + 1)) == NULL) { in ipcp_LoadDNS()
[all …]
/freebsd-10-stable/usr.bin/m4/lib/
Dohash_do.c30 unsigned int ns, j; in ohash_resize() local
34 ns = h->size << 1; in ohash_resize()
36 ns = h->size >> 1; in ohash_resize()
38 ns = h->size; in ohash_resize()
39 if (ns < MINSIZE) in ohash_resize()
40 ns = MINSIZE; in ohash_resize()
43 STAT_HASH_SIZE += ns - h->size; in ohash_resize()
45 n = (h->info.halloc)(sizeof(struct _ohash_record) * ns, h->info.data); in ohash_resize()
51 i = h->t[j].hv % ns; in ohash_resize()
52 incr = ((h->t[j].hv % (ns - 2)) & ~1) + 1; in ohash_resize()
[all …]

12345678910>>...14