/linux-master/drivers/ptp/ |
H A D | ptp_dte.c | 30 /* Full wrap around is 44bits in ns (~4.887 hrs) */ 52 static void dte_write_nco(void __iomem *regs, s64 ns) argument 56 sum2 = (u32)((ns >> DTE_NCO_SUM2_SHIFT) & DTE_NCO_SUM2_MASK); 62 sum3 = (u32)(((ns >> DTE_NCO_SUM3_SHIFT) & DTE_NCO_SUM3_MASK) << 73 s64 ns; local 76 * ignoring sum1 (4 bits) gives a 16ns resolution, which 81 ns = ((s64)sum3 << DTE_NCO_SUM3_SHIFT) | 84 return ns; 89 s64 ns; local 91 ns 118 s64 ns = 0; local [all...] |
H A D | ptp_vmw.c | 25 static int ptp_vmw_pclk_read(u64 *ns) argument 37 *ns = ((u64)nsec_hi << 32) | nsec_lo; 57 u64 ns; local 59 if (ptp_vmw_pclk_read(&ns) != 0) 61 *ts = ns_to_timespec64(ns);
|
H A D | ptp_vclock.c | 76 u64 ns; local 80 ns = timecounter_read(&vclock->tc); 82 *ts = ns_to_timespec64(ns); 95 u64 ns; local 103 ns = timecounter_cyc2time(&vclock->tc, timespec64_to_ns(&pts)); 106 *ts = ns_to_timespec64(ns); 115 u64 ns = timespec64_to_ns(ts); local 119 timecounter_init(&vclock->tc, &vclock->cc, ns); 131 u64 ns; local 139 ns 272 u64 ns; local [all...] |
/linux-master/include/linux/ |
H A D | mnt_namespace.h | 13 extern void put_mnt_ns(struct mnt_namespace *ns);
|
H A D | pm.h | 377 #define _EXPORT_PM_OPS(name, license, ns) \ 379 __EXPORT_SYMBOL(name, license, ns); \ 382 #define _DISCARD_PM_OPS(name, license, ns) \ 386 #define _EXPORT_DEV_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) 388 #define EXPORT_PM_FN_NS_GPL(name, ns) EXPORT_SYMBOL_NS_GPL(name, ns) 390 #define _EXPORT_DEV_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns) 392 #define EXPORT_PM_FN_NS_GPL(name, ns) [all...] |
/linux-master/tools/perf/scripts/python/ |
H A D | futex-contention.py | 29 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, 37 thread_blocktime[tid] = nsecs(s, ns) 40 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, 43 elapsed = nsecs(s, ns) - thread_blocktime[tid] 56 print("%s[%d] lock %x contended %d times, %d avg ns [max: %d ns, min %d ns]" %
|
/linux-master/tools/testing/selftests/net/ |
H A D | test_ingress_egress_chaining.sh | 20 ns="ns$((RANDOM%899+100))" 37 ip netns del $ns &> /dev/null 47 ip netns add $ns 48 ip link set dev $peer2 netns $ns 49 ip netns exec $ns ip addr add $ip_peer2/24 dev $peer2 50 ip netns exec $ns ip link set $peer2 up 72 ip netns exec $ns timeout -k 2 10 ./udpgso_bench_tx -t -l 2 -4 -D $ip_peer1 || fail "traffic failed"
|
H A D | traceroute.sh | 37 local ns 42 ns="$1" 50 out=$(eval ip netns exec ${ns} ${cmd} 2>&1) 66 local ns=$1 74 ip netns exec ${ns} ip addr add dev lo ${addr} 77 ip netns exec ${ns} ip -6 addr add dev lo ${addr6} 80 ip netns exec ${ns} ip ro add unreachable default metric 8192 81 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192 83 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1 84 ip netns exec ${ns} sysct [all...] |
/linux-master/kernel/ |
H A D | acct.c | 109 struct pid_namespace *ns; member in struct:bsd_acct_struct 162 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) argument 168 res = to_acct(READ_ONCE(ns->bacct)); 180 if (res != to_acct(READ_ONCE(ns->bacct))) { 195 cmpxchg(&acct->ns->bacct, pin, NULL); 215 struct pid_namespace *ns = task_active_pid_ns(current); local 262 acct->ns = ns; 270 old = xchg(&ns->bacct, &acct->pin); 315 void acct_exit_ns(struct pid_namespace *ns) argument 523 struct pid_namespace *ns = acct->ns; local 592 slow_acct_process(struct pid_namespace *ns) argument 609 struct pid_namespace *ns; local [all...] |
/linux-master/ipc/ |
H A D | msg.c | 100 #define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS]) 102 static inline struct msg_queue *msq_obtain_object(struct ipc_namespace *ns, int id) argument 104 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&msg_ids(ns), id); 112 static inline struct msg_queue *msq_obtain_object_check(struct ipc_namespace *ns, argument 115 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&msg_ids(ns), id); 123 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) argument 125 ipc_rmid(&msg_ids(ns), &s->q_perm); 139 * @ns: namespace 144 static int newque(struct ipc_namespace *ns, struc argument 300 struct ipc_namespace *ns; local 401 msgctl_down(struct ipc_namespace *ns, int msqid, int cmd, struct ipc64_perm *perm, int msg_qbytes) argument 477 msgctl_info(struct ipc_namespace *ns, int msqid, int cmd, struct msginfo *msginfo) argument 518 msgctl_stat(struct ipc_namespace *ns, int msqid, int cmd, struct msqid64_ds *p) argument 599 struct ipc_namespace *ns; local 734 struct ipc_namespace *ns; local 854 struct ipc_namespace *ns; local 1103 struct ipc_namespace *ns; local 1306 msg_init_ns(struct ipc_namespace *ns) argument 1330 msg_exit_ns(struct ipc_namespace *ns) argument [all...] |
/linux-master/net/ipv6/ |
H A D | ioam6.c | 23 static void ioam6_ns_release(struct ioam6_namespace *ns) argument 25 kfree_rcu(ns, rcu); 35 struct ioam6_namespace *ns = (struct ioam6_namespace *)ptr; local 37 if (ns) 38 ioam6_ns_release(ns); 51 const struct ioam6_namespace *ns = obj; local 53 return (ns->id != *(__be16 *)arg->key); 110 struct ioam6_namespace *ns; local 124 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); 125 if (ns) { 164 struct ioam6_namespace *ns; local 201 __ioam6_genl_dumpns_element(struct ioam6_namespace *ns, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) argument 277 struct ioam6_namespace *ns; local 363 struct ioam6_namespace *ns; local 403 struct ioam6_namespace *ns; local 500 struct ioam6_namespace *ns, *ns_ref; local 697 __ioam6_fill_trace_data(struct sk_buff *skb, struct ioam6_namespace *ns, struct ioam6_trace_hdr *trace, struct ioam6_schema *sc, u8 sclen, bool is_input) argument 925 ioam6_fill_trace_data(struct sk_buff *skb, struct ioam6_namespace *ns, struct ioam6_trace_hdr *trace, bool is_input) argument [all...] |
/linux-master/security/apparmor/ |
H A D | apparmorfs.c | 415 loff_t *pos, struct aa_ns *ns) 426 error = aa_may_manage_policy(current_cred(), label, ns, mask); 433 error = aa_replace_profiles(ns, label, mask, data); 446 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); local 447 int error = policy_update(AA_MAY_LOAD_POLICY, buf, size, pos, ns); 449 aa_put_ns(ns); 463 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); local 465 buf, size, pos, ns); 466 aa_put_ns(ns); 483 struct aa_ns *ns local 414 policy_update(u32 mask, const char __user *buf, size_t size, loff_t *pos, struct aa_ns *ns) argument 518 struct aa_ns *ns; member in struct:aa_revision 597 __aa_bump_ns_revision(struct aa_ns *ns) argument 1440 __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata) argument 1797 struct aa_ns *ns, *parent; local 1847 struct aa_ns *ns, *parent; local 1894 __aa_fs_list_remove_rawdata(struct aa_ns *ns) argument 1908 __aafs_ns_rmdir(struct aa_ns *ns) argument 1957 __aafs_ns_mkdir_entries(struct aa_ns *ns, struct dentry *dir) argument 2016 __aafs_ns_mkdir(struct aa_ns *ns, struct dentry *parent, const char *name, struct dentry *dent) argument 2082 __next_ns(struct aa_ns *root, struct aa_ns *ns) argument 2121 __first_profile(struct aa_ns *root, struct aa_ns *ns) argument 2147 struct aa_ns *ns = p->ns; local 2234 struct aa_ns *ns = f->private; local 2250 struct aa_ns *root = f->private, *ns; local 2585 struct aa_ns *ns; local [all...] |
/linux-master/tools/testing/selftests/nsfs/ |
H A D | owner.c | 28 int pfd[2], ns, uns, init_uns; local 55 snprintf(path, sizeof(path), "/proc/%d/ns/uts", pid); 56 ns = open(path, O_RDONLY); 57 if (ns < 0) 60 uns = ioctl(ns, NS_GET_USERNS); 67 snprintf(path, sizeof(path), "/proc/%d/ns/user", pid); 84 if (ioctl(ns, NS_GET_USERNS) >= 0 || errno != EPERM)
|
/linux-master/drivers/net/ethernet/xscale/ |
H A D | ptp_ixp46x.c | 43 u64 ns; local 49 ns = ((u64) hi) << 32; 50 ns |= lo; 51 ns <<= TICKS_NS_SHIFT; 53 return ns; 56 static void ixp_systime_write(struct ixp46x_ts_regs *regs, u64 ns) argument 60 ns >>= TICKS_NS_SHIFT; 61 hi = ns >> 32; 62 lo = ns & 0xffffffff; 156 u64 ns; local 174 u64 ns; local [all...] |
/linux-master/drivers/platform/x86/intel/pmt/ |
H A D | class.c | 247 struct intel_pmt_namespace *ns, 255 ret = xa_alloc(ns->xa, &entry->devid, entry, PMT_XA_LIMIT, GFP_KERNEL); 260 "%s%d", ns->name, entry->devid); 264 ns->name, entry->devid); 271 if (ns->attr_grp) { 272 ret = sysfs_create_group(entry->kobj, ns->attr_grp); 292 entry->pmt_bin_attr.attr.name = ns->name; 302 if (ns->pmt_add_endpoint) { 303 ret = ns->pmt_add_endpoint(entry, ivdev->pcidev); 313 if (ns 246 intel_pmt_dev_register(struct intel_pmt_entry *entry, struct intel_pmt_namespace *ns, struct device *parent) argument 323 intel_pmt_dev_create(struct intel_pmt_entry *entry, struct intel_pmt_namespace *ns, struct intel_vsec_device *intel_vsec_dev, int idx) argument 348 intel_pmt_dev_destroy(struct intel_pmt_entry *entry, struct intel_pmt_namespace *ns) argument [all...] |
/linux-master/drivers/net/netdevsim/ |
H A D | netdevsim.h | 144 void nsim_destroy(struct netdevsim *ns); 147 void nsim_ethtool_init(struct netdevsim *ns); 157 int nsim_bpf_init(struct netdevsim *ns); 158 void nsim_bpf_uninit(struct netdevsim *ns); 160 int nsim_bpf_disable_tc(struct netdevsim *ns); 173 static inline int nsim_bpf_init(struct netdevsim *ns) argument 178 static inline void nsim_bpf_uninit(struct netdevsim *ns) argument 187 static inline int nsim_bpf_disable_tc(struct netdevsim *ns) argument 275 struct netdevsim *ns; member in struct:nsim_dev_port 387 void nsim_ipsec_init(struct netdevsim *ns); 391 nsim_ipsec_init(struct netdevsim *ns) argument 395 nsim_ipsec_teardown(struct netdevsim *ns) argument 399 nsim_ipsec_tx(struct netdevsim *ns, struct sk_buff *skb) argument 409 nsim_macsec_init(struct netdevsim *ns) argument 413 nsim_macsec_teardown(struct netdevsim *ns) argument [all...] |
/linux-master/drivers/nvme/target/ |
H A D | core.c | 442 req->ns = xa_load(&subsys->namespaces, nsid); 443 if (unlikely(!req->ns)) { 450 percpu_ref_get(&req->ns->ref); 456 struct nvmet_ns *ns = container_of(ref, struct nvmet_ns, ref); local 458 complete(&ns->disable_done); 461 void nvmet_put_namespace(struct nvmet_ns *ns) argument 463 percpu_ref_put(&ns->ref); 466 static void nvmet_ns_dev_disable(struct nvmet_ns *ns) argument 468 nvmet_bdev_ns_disable(ns); 469 nvmet_file_ns_disable(ns); 472 nvmet_p2pmem_ns_enable(struct nvmet_ns *ns) argument 519 nvmet_p2pmem_ns_add_p2p(struct nvmet_ctrl *ctrl, struct nvmet_ns *ns) argument 555 nvmet_ns_revalidate(struct nvmet_ns *ns) argument 567 nvmet_ns_enable(struct nvmet_ns *ns) argument 633 nvmet_ns_disable(struct nvmet_ns *ns) argument 674 nvmet_ns_free(struct nvmet_ns *ns) argument 688 struct nvmet_ns *ns; local 755 struct nvmet_ns *ns = req->ns; local 860 nvmet_check_ana_state(struct nvmet_port *port, struct nvmet_ns *ns) argument 1339 struct nvmet_ns *ns; local [all...] |
H A D | admin-cmd.c | 84 /* we don't have the right data for file backed ns */ 85 if (!req->ns->bdev) 88 host_reads = part_stat_read(req->ns->bdev, ios[READ]); 90 DIV_ROUND_UP(part_stat_read(req->ns->bdev, sectors[READ]), 1000); 91 host_writes = part_stat_read(req->ns->bdev, ios[WRITE]); 93 DIV_ROUND_UP(part_stat_read(req->ns->bdev, sectors[WRITE]), 1000); 108 struct nvmet_ns *ns; local 113 xa_for_each(&ctrl->subsys->namespaces, idx, ns) { 114 /* we don't have the right data for file backed ns */ 115 if (!ns 257 struct nvmet_ns *ns; local 583 struct nvmet_ns *ns; local [all...] |
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_lib.sh | 287 # $1: ns, $2: MIB counter 289 local ns="${1}" 293 count=$(ip netns exec "${ns}" nstat -asz "${counter}" | 336 # $1: ns, $2: port 441 local ns="${1}" 448 ip netns exec "${ns}" ./pm_nl_ctl events >> "${evts}" 2>&1 & 549 local ns=${1} 553 ip -n "${ns}" mptcp endpoint show id "${id}" 555 ip netns exec "${ns}" ./pm_nl_ctl get "${id}" 560 local ns [all...] |
/linux-master/drivers/of/ |
H A D | fdt_address.c | 22 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ 23 (ns) > 0) 43 int na, int ns, int pna); 71 int na, int ns, int pna) 76 s = of_read_number(range + na + pna, ns); 112 int na, int ns, int pna, const char *rprop) 133 rone = na + pna + ns; 135 offset = bus->map(addr, ranges, na, ns, pna); 169 int na, ns, pna, pns; local 189 bus->count_cells(blob, parent, &na, &ns); 70 fdt_bus_default_map(__be32 *addr, const __be32 *range, int na, int ns, int pna) argument 109 fdt_translate_one(const void *blob, int parent, const struct of_bus *bus, const struct of_bus *pbus, __be32 *addr, int na, int ns, int pna, const char *rprop) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | fs_dr.c | 20 static int mlx5_cmd_dr_update_root_ft(struct mlx5_flow_root_namespace *ns, argument 25 return mlx5_fs_cmd_get_fw_cmds()->update_root_ft(ns, ft, underlay_qpn, 29 static int set_miss_action(struct mlx5_flow_root_namespace *ns, argument 49 mlx5_core_err(ns->dev, 57 mlx5_core_err(ns->dev, "Failed to destroy action (%d)\n", 64 static int mlx5_cmd_dr_create_flow_table(struct mlx5_flow_root_namespace *ns, argument 74 return mlx5_fs_cmd_get_fw_cmds()->create_flow_table(ns, ft, 79 if (!MLX5_CAP_FLOWTABLE(ns->dev, sw_owner_reformat_supported)) 83 tbl = mlx5dr_table_create(ns->fs_dr_domain.dr_domain, ft->level, flags, 86 mlx5_core_err(ns 107 mlx5_cmd_dr_destroy_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft) argument 134 mlx5_cmd_dr_modify_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) argument 144 mlx5_cmd_dr_create_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 *in, struct mlx5_flow_group *fg) argument 178 mlx5_cmd_dr_destroy_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) argument 260 mlx5_cmd_dr_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) argument 635 mlx5_cmd_dr_packet_reformat_alloc(struct mlx5_flow_root_namespace *ns, struct mlx5_pkt_reformat_params *params, enum mlx5_flow_namespace_type namespace, struct mlx5_pkt_reformat *pkt_reformat) argument 685 mlx5_cmd_dr_packet_reformat_dealloc(struct mlx5_flow_root_namespace *ns, struct mlx5_pkt_reformat *pkt_reformat) argument 691 mlx5_cmd_dr_modify_header_alloc(struct mlx5_flow_root_namespace *ns, u8 namespace, u8 num_actions, void *modify_actions, struct mlx5_modify_hdr *modify_hdr) argument 716 mlx5_cmd_dr_modify_header_dealloc(struct mlx5_flow_root_namespace *ns, struct mlx5_modify_hdr *modify_hdr) argument 723 mlx5_cmd_dr_destroy_match_definer(struct mlx5_flow_root_namespace *ns, int definer_id) argument 729 mlx5_cmd_dr_create_match_definer(struct mlx5_flow_root_namespace *ns, u16 format_id, u32 *match_mask) argument 735 mlx5_cmd_dr_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) argument 759 mlx5_cmd_dr_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, int modify_mask, struct fs_fte *fte) argument 789 mlx5_cmd_dr_set_peer(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_root_namespace *peer_ns, u16 peer_vhca_id) argument 802 mlx5_cmd_dr_create_ns(struct mlx5_flow_root_namespace *ns) argument 814 mlx5_cmd_dr_destroy_ns(struct mlx5_flow_root_namespace *ns) argument 819 mlx5_cmd_dr_get_capabilities(struct mlx5_flow_root_namespace *ns, enum fs_flow_table_type ft_type) argument [all...] |
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 3607 static void bfa_fcs_lport_ns_sm_offline(struct bfa_fcs_lport_ns_s *ns, 3609 static void bfa_fcs_lport_ns_sm_plogi_sending(struct bfa_fcs_lport_ns_s *ns, 3611 static void bfa_fcs_lport_ns_sm_plogi(struct bfa_fcs_lport_ns_s *ns, 3613 static void bfa_fcs_lport_ns_sm_plogi_retry(struct bfa_fcs_lport_ns_s *ns, 3616 struct bfa_fcs_lport_ns_s *ns, 3618 static void bfa_fcs_lport_ns_sm_rspn_id(struct bfa_fcs_lport_ns_s *ns, 3620 static void bfa_fcs_lport_ns_sm_rspn_id_retry(struct bfa_fcs_lport_ns_s *ns, 3623 struct bfa_fcs_lport_ns_s *ns, 3625 static void bfa_fcs_lport_ns_sm_rft_id_retry(struct bfa_fcs_lport_ns_s *ns, 3627 static void bfa_fcs_lport_ns_sm_rft_id(struct bfa_fcs_lport_ns_s *ns, 3664 bfa_fcs_lport_ns_sm_offline(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3685 bfa_fcs_lport_ns_sm_plogi_sending(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3708 bfa_fcs_lport_ns_sm_plogi(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3722 &ns->timer, bfa_fcs_lport_ns_timeout, ns, local 3743 bfa_fcs_lport_ns_sm_plogi_retry(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3769 bfa_fcs_lport_ns_sm_sending_rnn_id(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3791 bfa_fcs_lport_ns_sm_rnn_id(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3811 &ns->timer, bfa_fcs_lport_ns_timeout, ns, local 3831 bfa_fcs_lport_ns_sm_rnn_id_retry(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3854 bfa_fcs_lport_ns_sm_sending_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3877 bfa_fcs_lport_ns_sm_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3897 ns, BFA_FCS_RETRY_TIMEOUT); local 3916 bfa_fcs_lport_ns_sm_rsnn_nn_retry(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3939 bfa_fcs_lport_ns_sm_sending_rspn_id(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3962 bfa_fcs_lport_ns_sm_rspn_id(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 3976 &ns->timer, bfa_fcs_lport_ns_timeout, ns, local 3996 bfa_fcs_lport_ns_sm_rspn_id_retry(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4022 bfa_fcs_lport_ns_sm_sending_rft_id(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4045 bfa_fcs_lport_ns_sm_rft_id(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4065 &ns->timer, bfa_fcs_lport_ns_timeout, ns, local 4080 bfa_fcs_lport_ns_sm_rft_id_retry(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4103 bfa_fcs_lport_ns_sm_sending_rff_id(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4126 bfa_fcs_lport_ns_sm_rff_id(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4168 &ns->timer, bfa_fcs_lport_ns_timeout, ns, local 4183 bfa_fcs_lport_ns_sm_rff_id_retry(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4205 bfa_fcs_lport_ns_sm_sending_gid_ft(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4228 bfa_fcs_lport_ns_sm_gid_ft(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4249 &ns->timer, bfa_fcs_lport_ns_timeout, ns, local 4267 bfa_fcs_lport_ns_sm_gid_ft_retry(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4290 bfa_fcs_lport_ns_sm_online(struct bfa_fcs_lport_ns_s *ns, enum vport_ns_event event) argument 4327 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; local 4366 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; local 4424 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; local 4464 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; local 4501 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; local 4543 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; local 4580 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; local 4641 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; local 4678 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; local 4714 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; local 4751 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; local 4792 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; local 4836 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; local 4876 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; local 4963 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) arg; local 5050 struct bfa_fcs_lport_ns_s *ns = BFA_FCS_GET_NS_FROM_PORT(port); local 5059 struct bfa_fcs_lport_ns_s *ns = BFA_FCS_GET_NS_FROM_PORT(port); local 5068 struct bfa_fcs_lport_ns_s *ns = BFA_FCS_GET_NS_FROM_PORT(port); local 5077 struct bfa_fcs_lport_ns_s *ns = BFA_FCS_GET_NS_FROM_PORT(port); local 5104 struct bfa_fcs_lport_ns_s *ns = cbarg; local [all...] |
/linux-master/tools/testing/selftests/timers/ |
H A D | nanosleep.c | 91 struct timespec timespec_add(struct timespec ts, unsigned long long ns) argument 93 ts.tv_nsec += ns; 101 int nanosleep_test(int clockid, long long ns) argument 108 target = timespec_add(now, ns); 121 rel = timespec_add(rel, ns); 122 target = timespec_add(now, ns);
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_ptp.h | 11 /* Timestamps are in units of 8 ns clock ticks (equivalent to 16 static inline s64 ns_to_sja1105_ticks(s64 ns) argument 18 return ns / SJA1105_TICK_NS; 53 /* This is not a preprocessor macro because the "ns" argument may or may not be 56 static inline s64 ns_to_sja1105_delta(s64 ns) argument 58 return div_s64(ns, 200); 119 int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, 122 int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, 161 static inline int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, argument 167 static inline int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, argument [all...] |
/linux-master/arch/mips/lib/ |
H A D | delay.c | 60 void __ndelay(unsigned long ns) argument 64 __delay((ns * 0x00000005ull * HZ * lpj) >> 32);
|