/linux-master/security/ |
H A D | commoncap.c | 70 struct user_namespace *ns = targ_ns; local 78 if (ns == cred->user_ns) 85 if (ns->level <= cred->user_ns->level) 92 if ((ns->parent == cred->user_ns) && uid_eq(ns->owner, cred->euid)) 96 * If you have a capability in a parent user ns, then you have 99 ns = ns->parent; 334 struct user_namespace *ns; local 341 for (ns [all...] |
/linux-master/drivers/net/phy/ |
H A D | bcm-phy-ptp.c | 267 u64 ns; local 279 ns = timespec64_to_ns(ts); 280 bcm_phy_write_exp(phydev, NCO_TIME_0, ns >> 4); 281 bcm_phy_write_exp(phydev, NCO_TIME_1, ns >> 20); 282 bcm_phy_write_exp(phydev, NCO_TIME_2_CTRL, (ns >> 36) & 0xfff); 313 s64 ns; local 317 ns = timespec64_to_ns(&ts) + delta_ns; 318 ts = ns_to_timespec64(ns); 336 /* A 125Mhz clock should adjust 8ns per pulse. 542 u64 ns, nex local [all...] |
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 436 local ns="${!1}" 440 if ! ip netns exec "${ns}" ${iptables} \ 533 local ns="$1" 543 ip -net "$ns" link set "$veth" down 552 # $1: ns, $2: old rm_addr counter in $ns 555 local ns="${1}" 561 cnt=$(rm_addr_count ${ns}) 572 # $1: ns, $2: old rm_sf counter in $ns [all...] |
/linux-master/security/tomoyo/ |
H A D | memory.c | 111 list = ¶m->ns->group_list[idx]; 203 tomoyo_kernel_domain.ns = &tomoyo_kernel_namespace;
|
/linux-master/tools/perf/util/ |
H A D | tsc.c | 18 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) argument 22 t = ns - tc->time_zero;
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | hwtstamp.c | 260 u64 ns, timelo, timehi; local 294 ns = timehi << 16 | timelo; 297 ns = timecounter_cyc2time(&chip->tstamp_tc, ns); 301 shwt->hwtstamp = ns_to_ktime(ns); 369 u64 ns; local 417 ns = timecounter_cyc2time(&chip->tstamp_tc, time_raw); 419 shhwtstamps.hwtstamp = ns_to_ktime(ns);
|
/linux-master/fs/kernfs/ |
H A D | symlink.c | 44 kn->ns = target->ns;
|
/linux-master/include/linux/ |
H A D | of_address.h | 17 int ns; member in struct:of_pci_range_parser 51 return (parser->end - parser->range) / (parser->na + parser->pna + parser->ns);
|
/linux-master/tools/perf/tests/shell/ |
H A D | test_task_analyzer.sh | 79 perf script report task-analyzer --ns --rename-comms-by-tids 0:random > "$out" 80 check_exec_0 "perf script report task-analyzer --ns --rename-comms-by-tids 0:random" 123 perf script report task-analyzer --extended-times --summary --ns > "$out" 124 check_exec_0 "perf script report task-analyzer --extended-times --summary --ns"
|
/linux-master/security/apparmor/ |
H A D | audit.c | 122 if (profile->ns != root_ns) { 125 profile->ns->base.hname); 238 /* Currently rules are treated as coming from the root ns */
|
/linux-master/tools/testing/selftests/net/ |
H A D | test_vxlan_nolocalbypass.sh | 82 local ns=$1; shift 89 pkts=$(tc -n $ns -j -s filter show $id \
|
/linux-master/arch/mips/cavium-octeon/ |
H A D | csrc-octeon.c | 158 void __ndelay(unsigned long ns) argument 164 inc = ((ns * octeon_ndelay_factor) >> 16);
|
/linux-master/include/linux/device/ |
H A D | class.h | 185 const void *ns); 187 const void *ns);
|
/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | sock.c | 342 struct netstat *ns; local 348 ns = netstat_read(); 349 out->netns_ao_good = netstat_get(ns, "TCPAOGood", &c1); 350 out->netns_ao_bad = netstat_get(ns, "TCPAOBad", &c2); 351 out->netns_ao_key_not_found = netstat_get(ns, "TCPAOKeyNotFound", &c3); 352 out->netns_ao_required = netstat_get(ns, "TCPAORequired", &c4); 353 out->netns_ao_dropped_icmp = netstat_get(ns, "TCPAODroppedIcmps", &c5); 354 netstat_free(ns);
|
/linux-master/fs/ |
H A D | mnt_idmapping.c | 37 * @ns: idmapping to check 44 static inline bool initial_idmapping(const struct user_namespace *ns) argument 46 return ns == &init_user_ns;
|
H A D | pnode.h | 55 int count_mounts(struct mnt_namespace *ns, struct mount *mnt);
|
/linux-master/drivers/pcmcia/ |
H A D | i82365.c | 93 /* External clock time, in nanoseconds. 120 ns = 8.33 MHz */ 448 static u_int __init set_bridge_opts(u_short s, u_short ns) argument 454 for (i = s; i < s+ns; i++) { 565 static int to_cycles(int ns) argument 567 return ns/cycle_time; 673 static void __init add_pcic(int ns, int type) argument 677 struct i82365_socket *t = &socket[sockets-ns]; 679 base = sockets-ns; 684 printk(", %d socket%s\n", ns, ((ns > 755 int i, j, sock, k, ns, id; local [all...] |
/linux-master/net/x25/ |
H A D | x25_subr.c | 260 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, argument 270 *ns = *nr = *q = *d = *m = 0; 319 *ns = (frame[2] >> 1) & 0x7F; 328 *ns = (frame[2] >> 1) & 0x07;
|
/linux-master/drivers/ssb/ |
H A D | driver_mipscore.c | 297 unsigned long hz, ns; local 309 ns = 1000000000 / hz; 312 ssb_extif_timing_init(&bus->extif, ns); 314 ssb_chipco_timing_init(&bus->chipco, ns);
|
/linux-master/drivers/comedi/drivers/ |
H A D | adv_pci1760.c | 176 static int pci1760_pwm_ns_to_div(unsigned int flags, unsigned int ns) argument 182 divisor = DIV_ROUND_CLOSEST(ns, PCI1760_PWM_TIMEBASE); 185 divisor = DIV_ROUND_UP(ns, PCI1760_PWM_TIMEBASE); 188 divisor = ns / PCI1760_PWM_TIMEBASE;
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | vmware.c | 148 unsigned long long ns; local 150 ns = mul_u64_u32_shr(rdtsc(), vmware_cyc2ns.cyc2ns_mul, 152 ns -= vmware_cyc2ns.cyc2ns_offset; 153 return ns; 166 pr_info("using clock offset of %llu ns\n", d->cyc2ns_offset); 216 * The steal clock reading in ns.
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_chains.h | 19 enum mlx5_flow_namespace_type ns; member in struct:mlx5_chains_attr
|
H A D | clock.c | 323 u64 cycles, ns; local 333 ns = timecounter_cyc2time(&timer->tc, cycles); 335 *ts = ns_to_timespec64(ns); 347 s64 ns; local 350 ns = timespec64_to_ns(&ts) + delta; 351 ts = ns_to_timespec64(ns); 546 s64 ns; local 550 ns = timespec64_to_ns(&ts); 552 if ((ns >> 1) != 500000000LL) 895 u64 ns; local 957 u64 ns; local [all...] |
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_descs.c | 88 u64 ns = 0; local 90 ns += le32_to_cpu(p->des1) * 1000000000ULL; 91 ns += le32_to_cpu(p->des0); 93 *ts = ns;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.h | 53 #define ns_to_attr_sz(ns) (((ns) == MLX5_FLOW_NAMESPACE_FDB) ?\ 262 enum mlx5_flow_namespace_type ns, 283 enum mlx5_flow_namespace_type ns,
|