Searched refs:nc (Results 26 - 50 of 87) sorted by relevance

1234

/linux-master/drivers/block/drbd/
H A Ddrbd_req.c566 struct net_conf *nc; local
588 nc = rcu_dereference(connection->net_conf);
589 p = nc->wire_protocol;
701 nc = rcu_dereference(connection->net_conf);
702 p = nc->max_epoch_size;
987 struct net_conf *nc; local
992 nc = rcu_dereference(connection->net_conf);
993 on_congestion = nc ? nc->on_congestion : OC_BLOCK;
1009 if (nc
1705 struct net_conf *nc; local
[all...]
H A Ddrbd_receiver.c267 struct net_conf *nc; local
272 nc = rcu_dereference(peer_device->connection->net_conf);
273 mxb = nc ? nc->max_buffers : 1000000;
594 struct net_conf *nc; local
600 nc = rcu_dereference(connection->net_conf);
601 if (!nc) {
605 sndbuf_size = nc->sndbuf_size;
606 rcvbuf_size = nc->rcvbuf_size;
607 connect_int = nc
700 struct net_conf *nc; local
770 struct net_conf *nc; local
817 struct net_conf *nc; local
868 struct net_conf *nc; local
927 struct net_conf *nc; local
2558 struct net_conf *nc; local
3456 struct net_conf *nc; local
3634 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; local
5374 struct net_conf *nc; local
5917 struct net_conf *nc; local
6103 struct net_conf *nc; local
[all...]
H A Ddrbd_main.c719 struct net_conf *nc; local
728 nc = rcu_dereference(peer_device->connection->net_conf);
732 + strlen(nc->verify_alg) + 1
759 strcpy(p->verify_alg, nc->verify_alg);
761 strcpy(p->csums_alg, nc->csums_alg);
771 struct net_conf *nc; local
780 nc = rcu_dereference(connection->net_conf);
782 if (nc->tentative && connection->agreed_pro_version < 92) {
790 size += strlen(nc->integrity_alg) + 1;
792 p->protocol = cpu_to_be32(nc
3688 struct net_conf *nc; local
[all...]
H A Ddrbd_state.c829 struct net_conf *nc; local
838 nc = rcu_dereference(first_peer_device(device)->connection->net_conf);
839 if (nc) {
840 if (!nc->two_primaries && ns.role == R_PRIMARY) {
880 (nc->verify_alg[0] == 0))
974 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) argument
977 if (oc == nc)
981 if (oc == C_STANDALONE && nc == C_DISCONNECTING)
985 if (oc == C_STANDALONE && nc != C_UNCONNECTED)
990 if (oc < C_WF_REPORT_PARAMS && nc >
[all...]
/linux-master/drivers/gpio/
H A Dgpio-moxtet.c119 struct device_node *nc = dev->of_node; local
126 nc, id);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/
H A Dg98.fuc0s156 bra nc #ctxload
177 bra nc #dummyload
190 bra nc #ctxload_dma_loop
219 bra nc #dtable_cmd
223 bra nc #dtable_cmd
225 bra nc #dma_cmd
239 bra nc #illegal_mthd
251 bra nc #illegal_mthd
344 bra nc #return
351 bra nc #cmd_cond_mode_queryfu
[all...]
/linux-master/drivers/leds/
H A Dleds-bcm6358.c94 static int bcm6358_led(struct device *dev, struct device_node *nc, u32 reg, argument
111 if (of_property_read_bool(nc, "active-low"))
114 init_data.fwnode = of_fwnode_handle(nc);
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_queue.sh267 ip netns exec ${ns2} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null &
271 ip netns exec ${ns1} nc -w 5 10.0.2.99 12345 <"$tmpfile" >/dev/null &
285 ip netns exec ${nsrouter} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null &
292 ip netns exec ${nsrouter} nc -w 5 127.0.0.1 12345 <"$tmpfile" > /dev/null
334 ip netns exec ${nsrouter} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null &
344 ip netns exec ${nsrouter} nc -w 5 127.0.0.1 12345 <"$tmpfile" > /dev/null
H A Dipvs.sh117 ip netns exec ns2 nc -l -p 8080 > "${outfile}" &
123 ip netns exec ns0 timeout 2 nc -w 1 ${vip_v4} ${port} < "${infile}"
H A Dnft_concat_range.sh69 tools sendip nc bash
94 tools sendip socat nc bash
119 tools sendip socat nc bash
144 tools sendip socat nc bash
166 tools sendip socat nc bash
188 tools sendip socat nc bash
210 tools sendip socat nc bash
230 tools sendip socat nc
250 tools sendip socat nc bash
267 tools sendip socat nc bas
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_tc_edt.sh15 # check that nc, dd, and timeout are present
16 command -v nc >/dev/null 2>&1 || \
17 { echo >&2 "nc is not available"; exit 1; }
19 { echo >&2 "nc is not available"; exit 1; }
63 "nc -4 -l -p 9000 >/dev/null &"
H A Dtest_tc_tunnel.sh73 ip netns exec "${ns2}" nc "${netcat_opt}" -l "${port}" > "${outfile}" &
79 ip netns exec "${ns1}" timeout 2 nc "${netcat_opt}" -w 1 "${addr2}" "${port}" < "${infile}"
/linux-master/fs/nls/
H A Dnls_base.c58 int c0, c, nc; local
61 nc = 0;
65 nc++;
72 return nc;
74 if (inlen <= nc)
89 int c, nc; local
99 nc = 0;
101 nc++;
110 return nc;
/linux-master/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg.h47 * @nc: number of color components
61 int nc; member in struct:mxc_jpeg_fmt
/linux-master/drivers/spi/
H A Dspi.c2348 static void of_spi_parse_dt_cs_delay(struct device_node *nc, argument
2353 if (!of_property_read_u32(nc, prop, &value)) {
2365 struct device_node *nc)
2371 if (of_property_read_bool(nc, "spi-cpha"))
2373 if (of_property_read_bool(nc, "spi-cpol"))
2375 if (of_property_read_bool(nc, "spi-3wire"))
2377 if (of_property_read_bool(nc, "spi-lsb-first"))
2379 if (of_property_read_bool(nc, "spi-cs-high"))
2383 if (!of_property_read_u32(nc, "spi-tx-bus-width", &value)) {
2407 if (!of_property_read_u32(nc, "sp
2364 of_spi_parse_dt(struct spi_controller *ctlr, struct spi_device *spi, struct device_node *nc) argument
2487 of_register_spi_device(struct spi_controller *ctlr, struct device_node *nc) argument
2543 struct device_node *nc; local
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_execlists.c3721 unsigned long n, prime, nc; local
3752 for (nc = 0; nc < nctx; nc++) {
3756 rq = i915_request_create(ve[nc]);
3762 if (request[nc])
3763 i915_request_put(request[nc]);
3764 request[nc] = i915_request_get(rq);
3770 for (nc = 0; nc < nct
[all...]
/linux-master/net/core/
H A Dskbuff.c227 #define NAPI_SMALL_PAGE_PFMEMALLOC(nc) ((nc).pfmemalloc)
241 static void *page_frag_alloc_1k(struct page_frag_1k *nc, gfp_t gfp) argument
246 offset = nc->offset - SZ_1K;
254 nc->va = page_address(page);
255 nc->pfmemalloc = page_is_pfmemalloc(page);
260 nc->offset = offset;
261 return nc->va + offset;
269 #define NAPI_SMALL_PAGE_PFMEMALLOC(nc) false
274 static void *page_frag_alloc_1k(struct page_frag_1k *nc, gfp_ argument
310 struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache); local
325 struct page_frag_cache *nc = this_cpu_ptr(&netdev_alloc_cache); local
330 struct napi_alloc_cache *nc; local
344 struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache); local
719 struct page_frag_cache *nc; local
793 struct napi_alloc_cache *nc; local
1453 struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache); local
[all...]
/linux-master/sound/soc/intel/skylake/
H A Dskl-sst-dsp.h90 * nc = number of supported cores
92 #define SKL_DSP_CORES_MASK(nc) GENMASK((nc - 1), 0)
/linux-master/drivers/input/
H A Dinput-mt.c388 static void find_reduced_matrix(int *w, int nr, int nc, int nrc, int mu) argument
394 adjust_dual(w + i, nr, w + i + nrc, nr <= nc, mu);
397 sum += adjust_dual(w + i, 1, w + i + nr, nc <= nr, mu);
/linux-master/fs/nilfs2/
H A Dpage.c440 unsigned int nc = 0; local
447 nc++;
449 return nc;
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dkvm.sh369 nc = -1;
375 while (nc != ncpus) {
377 nc = ncpus;
384 if (nc >= cpus[i] || nc == ncpus) {
388 nc -= cpus[i];
389 if (nc <= 0)
559 nc = ncpus;
570 } else if (nc < cpus[i] && i != 0) {
574 nc
[all...]
/linux-master/drivers/mailbox/
H A Dzynqmp-ipi-mailbox.c629 struct device_node *nc, *np = pdev->dev.of_node; local
656 for_each_available_child_of_node(np, nc) {
658 ret = zynqmp_ipi_mbox_probe(mbox, nc);
660 of_node_put(nc);
/linux-master/ipc/
H A Dmqueue.c1323 struct sk_buff *nc; local
1327 nc = NULL;
1342 nc = alloc_skb(NOTIFY_COOKIE_LEN, GFP_KERNEL);
1343 if (!nc)
1346 if (copy_from_user(nc->data,
1354 skb_put(nc, NOTIFY_COOKIE_LEN);
1370 ret = netlink_attachskb(sock, nc, &timeo, NULL);
1410 info->notify_cookie = nc;
1412 nc = NULL;
1432 netlink_detachskb(sock, nc);
[all...]
/linux-master/tools/testing/selftests/net/
H A Damt.sh192 'cat /dev/urandom | head -c 1G | nc -w 1 -u 239.0.0.1 4001'
199 'cat /dev/urandom | head -c 1G | nc -w 1 -u ff0e::5:6 6001'
213 RESULT4=$(ip netns exec "${LISTENER}" nc -w 1 -l -u 239.0.0.1 4000)
225 RESULT6=$(ip netns exec "${LISTENER}" nc -w 1 -l -u ff0e::5:6 6000)
239 'echo 172.17.0.2 | nc -w 1 -u 239.0.0.1 4000' &
246 'echo 2001:db8:3::2 | nc -w 1 -u ff0e::5:6 6000' &
/linux-master/mm/
H A Dpage_alloc.c4689 static struct page *__page_frag_cache_refill(struct page_frag_cache *nc, argument
4700 nc->size = page ? PAGE_FRAG_CACHE_MAX_SIZE : PAGE_SIZE;
4705 nc->va = page ? page_address(page) : NULL;
4710 void page_frag_cache_drain(struct page_frag_cache *nc) argument
4712 if (!nc->va)
4715 __page_frag_cache_drain(virt_to_head_page(nc->va), nc->pagecnt_bias);
4716 nc->va = NULL;
4729 void *__page_frag_alloc_align(struct page_frag_cache *nc, argument
4737 if (unlikely(!nc
[all...]

Completed in 349 milliseconds

1234