Home
last modified time | relevance | path

Searched +full:0 +full:ns (Results 1 – 25 of 1134) sorted by relevance

12345678910>>...46

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnandsim.c9 * Note: NS means "NAND Simulator".
43 #define CONFIG_NANDSIM_FIRST_ID_BYTE 0x98
44 #define CONFIG_NANDSIM_SECOND_ID_BYTE 0x39
45 #define CONFIG_NANDSIM_THIRD_ID_BYTE 0xFF /* No byte */
46 #define CONFIG_NANDSIM_FOURTH_ID_BYTE 0xFF /* No byte */
68 #define CONFIG_NANDSIM_DO_DELAYS 0
71 #define CONFIG_NANDSIM_LOG 0
74 #define CONFIG_NANDSIM_DBG 0
94 static unsigned int bitflips = 0;
96 static unsigned int overridesize = 0;
[all …]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
Dnandsim.c9 * Note: NS means "NAND Simulator".
42 #define CONFIG_NANDSIM_FIRST_ID_BYTE 0x98
43 #define CONFIG_NANDSIM_SECOND_ID_BYTE 0x39
44 #define CONFIG_NANDSIM_THIRD_ID_BYTE 0xFF /* No byte */
45 #define CONFIG_NANDSIM_FOURTH_ID_BYTE 0xFF /* No byte */
67 #define CONFIG_NANDSIM_DO_DELAYS 0
70 #define CONFIG_NANDSIM_LOG 0
73 #define CONFIG_NANDSIM_DBG 0
93 static unsigned int bitflips = 0;
95 static unsigned int overridesize = 0;
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh7 local ns=$1; shift
13 ip -n $ns -j -p -$family route show $route \
17 if [[ $ret -ne 0 ]]; then
18 return 0
29 local ns=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
39 local ns=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
48 local ns=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh7 local ns=$1; shift
13 ip -n $ns -j -p -$family route show $route \
17 if [[ $ret -ne 0 ]]; then
18 return 0
29 local ns=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
39 local ns=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
48 local ns=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
[all …]
/kernel/linux/linux-6.6/drivers/net/netdevsim/
Dethtool.c14 struct netdevsim *ns = netdev_priv(dev); in nsim_get_pause_stats() local
16 if (ns->ethtool.pauseparam.report_stats_rx) in nsim_get_pause_stats()
18 if (ns->ethtool.pauseparam.report_stats_tx) in nsim_get_pause_stats()
25 struct netdevsim *ns = netdev_priv(dev); in nsim_get_pauseparam() local
27 pause->autoneg = 0; /* We don't support ksettings, so can't pretend */ in nsim_get_pauseparam()
28 pause->rx_pause = ns->ethtool.pauseparam.rx; in nsim_get_pauseparam()
29 pause->tx_pause = ns->ethtool.pauseparam.tx; in nsim_get_pauseparam()
35 struct netdevsim *ns = netdev_priv(dev); in nsim_set_pauseparam() local
40 ns->ethtool.pauseparam.rx = pause->rx_pause; in nsim_set_pauseparam()
41 ns->ethtool.pauseparam.tx = pause->tx_pause; in nsim_set_pauseparam()
[all …]
Dnetdev.c31 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit() local
33 if (!nsim_ipsec_tx(ns, skb)) in nsim_start_xmit()
36 u64_stats_update_begin(&ns->syncp); in nsim_start_xmit()
37 ns->tx_packets++; in nsim_start_xmit()
38 ns->tx_bytes += skb->len; in nsim_start_xmit()
39 u64_stats_update_end(&ns->syncp); in nsim_start_xmit()
53 struct netdevsim *ns = netdev_priv(dev); in nsim_change_mtu() local
55 if (ns->xdp.prog && new_mtu > NSIM_XDP_MAX_MTU) in nsim_change_mtu()
60 return 0; in nsim_change_mtu()
66 struct netdevsim *ns = netdev_priv(dev); in nsim_get_stats64() local
[all …]
Dudp_tunnels.c15 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_set_port() local
18 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_set_port()
19 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_set_port()
21 if (ns->udp_ports.sleep) in nsim_udp_tunnel_set_port()
22 msleep(ns->udp_ports.sleep); in nsim_udp_tunnel_set_port()
25 if (ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_set_port()
29 ns->udp_ports.ports[table][entry] = in nsim_udp_tunnel_set_port()
44 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_unset_port() local
47 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_unset_port()
48 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_unset_port()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap3430-sdp.dts15 reg = <0x80000000 0x10000000>; /* 256 MB */
23 reg = <0x48>;
50 ranges = <0 0 0x10000000 0x08000000>,
51 <1 0 0x28000000 0x1000000>, /* CS1: 16MB for NAND */
52 <2 0 0x20000000 0x1000000>; /* CS2: 16MB for OneNAND */
54 nor@0,0 {
59 reg = <0 0 0x08000000>;
63 gpmc,cs-on-ns = <0>;
64 gpmc,cs-rd-off-ns = <186>;
65 gpmc,cs-wr-off-ns = <186>;
[all …]
Dtegra30-cpu-opp.dtsi9 clock-latency-ns = <100000>;
10 opp-supported-hw = <0x1F 0x31FE>;
15 clock-latency-ns = <100000>;
16 opp-supported-hw = <0x1F 0x0C01>;
21 clock-latency-ns = <100000>;
22 opp-supported-hw = <0x1F 0x0200>;
27 clock-latency-ns = <100000>;
28 opp-supported-hw = <0x1F 0x31FE>;
33 clock-latency-ns = <100000>;
34 opp-supported-hw = <0x1F 0x0C01>;
[all …]
Dtegra20-cpu-opp.dtsi9 clock-latency-ns = <400000>;
10 opp-supported-hw = <0x0F 0x0003>;
15 clock-latency-ns = <400000>;
16 opp-supported-hw = <0x0F 0x0004>;
21 clock-latency-ns = <400000>;
22 opp-supported-hw = <0x0F 0x0003>;
27 clock-latency-ns = <400000>;
28 opp-supported-hw = <0x0F 0x0004>;
33 clock-latency-ns = <400000>;
34 opp-supported-hw = <0x0C 0x0003>;
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Domap3430-sdp.dts15 reg = <0x80000000 0x10000000>; /* 256 MB */
23 reg = <0x48>;
50 ranges = <0 0 0x10000000 0x08000000>,
51 <1 0 0x28000000 0x1000000>, /* CS1: 16MB for NAND */
52 <2 0 0x20000000 0x1000000>; /* CS2: 16MB for OneNAND */
54 nor@0,0 {
59 reg = <0 0 0x08000000>;
63 gpmc,cs-on-ns = <0>;
64 gpmc,cs-rd-off-ns = <186>;
65 gpmc,cs-wr-off-ns = <186>;
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dnamespace.c49 tim = 0; in do_timens_ktime_to_host()
59 static struct ucounts *inc_time_namespaces(struct user_namespace *ns) in inc_time_namespaces() argument
61 return inc_ucount(ns, current_euid(), UCOUNT_TIME_NAMESPACES); in inc_time_namespaces()
81 struct time_namespace *ns; in clone_time_ns() local
91 ns = kmalloc(sizeof(*ns), GFP_KERNEL_ACCOUNT); in clone_time_ns()
92 if (!ns) in clone_time_ns()
95 kref_init(&ns->kref); in clone_time_ns()
97 ns->vvar_page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in clone_time_ns()
98 if (!ns->vvar_page) in clone_time_ns()
101 err = ns_alloc_inum(&ns->ns); in clone_time_ns()
[all …]
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dudp_tunnels.c15 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_set_port() local
18 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_set_port()
19 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_set_port()
21 if (ns->udp_ports.sleep) in nsim_udp_tunnel_set_port()
22 msleep(ns->udp_ports.sleep); in nsim_udp_tunnel_set_port()
25 if (ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_set_port()
29 ns->udp_ports.ports[table][entry] = in nsim_udp_tunnel_set_port()
44 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_unset_port() local
47 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_unset_port()
48 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_unset_port()
[all …]
Dnetdev.c31 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit() local
33 if (!nsim_ipsec_tx(ns, skb)) in nsim_start_xmit()
36 u64_stats_update_begin(&ns->syncp); in nsim_start_xmit()
37 ns->tx_packets++; in nsim_start_xmit()
38 ns->tx_bytes += skb->len; in nsim_start_xmit()
39 u64_stats_update_end(&ns->syncp); in nsim_start_xmit()
53 struct netdevsim *ns = netdev_priv(dev); in nsim_change_mtu() local
55 if (ns->xdp.prog && new_mtu > NSIM_XDP_MAX_MTU) in nsim_change_mtu()
60 return 0; in nsim_change_mtu()
66 struct netdevsim *ns = netdev_priv(dev); in nsim_get_stats64() local
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/
Dtegra30-cpu-opp.dtsi9 clock-latency-ns = <100000>;
10 opp-supported-hw = <0x1F 0x31FE>;
15 clock-latency-ns = <100000>;
16 opp-supported-hw = <0x1F 0x0C01>;
21 clock-latency-ns = <100000>;
22 opp-supported-hw = <0x1F 0x0200>;
27 clock-latency-ns = <100000>;
28 opp-supported-hw = <0x1F 0x31FE>;
33 clock-latency-ns = <100000>;
34 opp-supported-hw = <0x1F 0x0C01>;
[all …]
Dtegra20-cpu-opp.dtsi9 clock-latency-ns = <400000>;
10 opp-supported-hw = <0x0F 0x0003>;
16 clock-latency-ns = <400000>;
17 opp-supported-hw = <0x0F 0x0004>;
23 clock-latency-ns = <400000>;
24 opp-supported-hw = <0x0F 0x0003>;
29 clock-latency-ns = <400000>;
30 opp-supported-hw = <0x0F 0x0004>;
35 clock-latency-ns = <400000>;
36 opp-supported-hw = <0x0C 0x0003>;
[all …]
/kernel/linux/linux-6.6/drivers/nvme/host/
Dzns.c10 int nvme_revalidate_zones(struct nvme_ns *ns) in nvme_revalidate_zones() argument
12 struct request_queue *q = ns->queue; in nvme_revalidate_zones()
14 blk_queue_chunk_sectors(q, ns->zsze); in nvme_revalidate_zones()
15 blk_queue_max_zone_append_sectors(q, ns->ctrl->max_zone_append); in nvme_revalidate_zones()
17 return blk_revalidate_disk_zones(ns->disk, NULL); in nvme_revalidate_zones()
45 return 0; in nvme_set_max_append()
48 int nvme_update_zone_info(struct nvme_ns *ns, unsigned lbaf) in nvme_update_zone_info() argument
50 struct nvme_effects_log *log = ns->head->effects; in nvme_update_zone_info()
51 struct request_queue *q = ns->queue; in nvme_update_zone_info()
59 if (test_and_clear_bit(NVME_NS_FORCE_RO, &ns->flags)) in nvme_update_zone_info()
[all …]
Dmultipath.c35 return 0; in nvme_set_iopolicy()
85 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() local
86 u16 status = nvme_req(req)->status & 0x7ff; in nvme_failover_req()
90 nvme_mpath_clear_current_path(ns); in nvme_failover_req()
97 if (nvme_is_ana_error(status) && ns->ctrl->ana_log_buf) { in nvme_failover_req()
98 set_bit(NVME_NS_ANA_PENDING, &ns->flags); in nvme_failover_req()
99 queue_work(nvme_wq, &ns->ctrl->ana_work); in nvme_failover_req()
102 spin_lock_irqsave(&ns->head->requeue_lock, flags); in nvme_failover_req()
104 bio_set_dev(bio, ns->head->disk->part0); in nvme_failover_req()
118 blk_steal_bios(&ns->head->requeue_list, req); in nvme_failover_req()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/
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 …]
/kernel/linux/linux-5.10/drivers/nvme/host/
Dmultipath.c53 void nvme_set_disk_name(char *disk_name, struct nvme_ns *ns, in nvme_set_disk_name() argument
57 sprintf(disk_name, "nvme%dn%d", ctrl->instance, ns->head->instance); in nvme_set_disk_name()
58 } else if (ns->head->disk) { in nvme_set_disk_name()
60 ctrl->instance, ns->head->instance); in nvme_set_disk_name()
64 ns->head->instance); in nvme_set_disk_name()
70 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() local
71 u16 status = nvme_req(req)->status & 0x7ff; in nvme_failover_req()
74 nvme_mpath_clear_current_path(ns); in nvme_failover_req()
81 if (nvme_is_ana_error(status) && ns->ctrl->ana_log_buf) { in nvme_failover_req()
82 set_bit(NVME_NS_ANA_PENDING, &ns->flags); in nvme_failover_req()
[all …]
/kernel/linux/linux-6.6/kernel/time/
Dnamespace.c49 tim = 0; in do_timens_ktime_to_host()
59 static struct ucounts *inc_time_namespaces(struct user_namespace *ns) in inc_time_namespaces() argument
61 return inc_ucount(ns, current_euid(), UCOUNT_TIME_NAMESPACES); in inc_time_namespaces()
81 struct time_namespace *ns; in clone_time_ns() local
91 ns = kmalloc(sizeof(*ns), GFP_KERNEL_ACCOUNT); in clone_time_ns()
92 if (!ns) in clone_time_ns()
95 refcount_set(&ns->ns.count, 1); in clone_time_ns()
97 ns->vvar_page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in clone_time_ns()
98 if (!ns->vvar_page) in clone_time_ns()
101 err = ns_alloc_inum(&ns->ns); in clone_time_ns()
[all …]
/kernel/linux/linux-5.10/ipc/
Dnamespace.c22 static struct ucounts *inc_ipc_namespaces(struct user_namespace *ns) in inc_ipc_namespaces() argument
24 return inc_ucount(ns, current_euid(), UCOUNT_IPC_NAMESPACES); in inc_ipc_namespaces()
35 struct ipc_namespace *ns; in create_ipc_ns() local
45 ns = kzalloc(sizeof(struct ipc_namespace), GFP_KERNEL_ACCOUNT); in create_ipc_ns()
46 if (ns == NULL) in create_ipc_ns()
49 err = ns_alloc_inum(&ns->ns); in create_ipc_ns()
52 ns->ns.ops = &ipcns_operations; in create_ipc_ns()
54 refcount_set(&ns->count, 1); in create_ipc_ns()
55 ns->user_ns = get_user_ns(user_ns); in create_ipc_ns()
56 ns->ucounts = ucounts; in create_ipc_ns()
[all …]
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_state.c26 union drbd_state ns; member
49 *n_devices = 0; in count_objects()
50 *n_connections = 0; in count_objects()
76 for (n = 0; n < n_devices; n++) in alloc_state_change()
78 for (n = 0; n < n_connections; n++) in alloc_state_change()
164 resource_state_change = &state_change->resource[0]; in remember_new_state()
173 for (n = 0; n < state_change->n_devices; n++) { in remember_new_state()
181 for (n = 0; n < state_change->n_connections; n++) { in remember_new_state()
192 for (n = 0; n < state_change->n_devices * state_change->n_connections; n++) { in remember_new_state()
213 struct drbd_resource_state_change *resource_state_change = &state_change->resource[0]; in copy_old_to_new_state_change()
[all …]
/kernel/linux/linux-6.6/drivers/block/drbd/
Ddrbd_state.c26 union drbd_state ns; member
49 *n_devices = 0; in count_objects()
50 *n_connections = 0; in count_objects()
76 for (n = 0; n < n_devices; n++) in alloc_state_change()
78 for (n = 0; n < n_connections; n++) in alloc_state_change()
164 resource_state_change = &state_change->resource[0]; in remember_new_state()
173 for (n = 0; n < state_change->n_devices; n++) { in remember_new_state()
181 for (n = 0; n < state_change->n_connections; n++) { in remember_new_state()
192 for (n = 0; n < state_change->n_devices * state_change->n_connections; n++) { in remember_new_state()
213 struct drbd_resource_state_change *resource_state_change = &state_change->resource[0]; in copy_old_to_new_state_change()
[all …]
/kernel/linux/linux-5.10/drivers/nvme/target/
Dio-cmd-file.c17 int nvmet_file_ns_revalidate(struct nvmet_ns *ns) in nvmet_file_ns_revalidate() argument
22 ret = vfs_getattr(&ns->file->f_path, &stat, STATX_SIZE, in nvmet_file_ns_revalidate()
25 ns->size = stat.size; in nvmet_file_ns_revalidate()
29 void nvmet_file_ns_disable(struct nvmet_ns *ns) in nvmet_file_ns_disable() argument
31 if (ns->file) { in nvmet_file_ns_disable()
32 if (ns->buffered_io) in nvmet_file_ns_disable()
34 mempool_destroy(ns->bvec_pool); in nvmet_file_ns_disable()
35 ns->bvec_pool = NULL; in nvmet_file_ns_disable()
36 kmem_cache_destroy(ns->bvec_cache); in nvmet_file_ns_disable()
37 ns->bvec_cache = NULL; in nvmet_file_ns_disable()
[all …]

12345678910>>...46