/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 3723 bfa_fcs_lport_ns_sm_offline(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_offline() 3744 bfa_fcs_lport_ns_sm_plogi_sending(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_sending() 3767 bfa_fcs_lport_ns_sm_plogi(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi() 3802 bfa_fcs_lport_ns_sm_plogi_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_retry() 3828 bfa_fcs_lport_ns_sm_sending_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rnn_id() 3850 bfa_fcs_lport_ns_sm_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id() 3890 bfa_fcs_lport_ns_sm_rnn_id_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id_retry() 3913 bfa_fcs_lport_ns_sm_sending_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rsnn_nn() 3936 bfa_fcs_lport_ns_sm_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rsnn_nn() 3975 bfa_fcs_lport_ns_sm_rsnn_nn_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rsnn_nn_retry() [all …]
|
/openbmc/linux/ipc/ |
H A D | mq_sysctl.c | 83 struct ipc_namespace *ns = in mq_set_ownership() local 118 bool setup_mq_sysctls(struct ipc_namespace *ns) in setup_mq_sysctls() 160 void retire_mq_sysctls(struct ipc_namespace *ns) in retire_mq_sysctls()
|
H A D | msg.c | 100 #define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS]) argument 102 static inline struct msg_queue *msq_obtain_object(struct ipc_namespace *ns, int id) in msq_obtain_object() 112 static inline struct msg_queue *msq_obtain_object_check(struct ipc_namespace *ns, in msq_obtain_object_check() 123 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) in msg_rmid() 144 static int newque(struct ipc_namespace *ns, struct ipc_params *params) in newque() 273 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeque() 300 struct ipc_namespace *ns; in ksys_msgget() local 401 static int msgctl_down(struct ipc_namespace *ns, int msqid, int cmd, in msgctl_down() 477 static int msgctl_info(struct ipc_namespace *ns, int msqid, in msgctl_info() 518 static int msgctl_stat(struct ipc_namespace *ns, int msqid, in msgctl_stat() [all …]
|
H A D | sem.c | 169 #define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS]) argument 249 void sem_init_ns(struct ipc_namespace *ns) in sem_init_ns() 260 void sem_exit_ns(struct ipc_namespace *ns) in sem_exit_ns() 478 static inline struct sem_array *sem_obtain_object(struct ipc_namespace *ns, int id) in sem_obtain_object() 488 static inline struct sem_array *sem_obtain_object_check(struct ipc_namespace *ns, in sem_obtain_object_check() 505 static inline void sem_rmid(struct ipc_namespace *ns, struct sem_array *s) in sem_rmid() 531 static int newary(struct ipc_namespace *ns, struct ipc_params *params) in newary() 604 struct ipc_namespace *ns; in ksys_semget() local 1143 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary() 1234 static int semctl_stat(struct ipc_namespace *ns, int semid, in semctl_stat() [all …]
|
H A D | util.c | 339 static int ipcget_new(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget_new() 365 static int ipc_check_perms(struct ipc_namespace *ns, in ipc_check_perms() 397 static int ipcget_public(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget_public() 553 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) in ipcperms() 673 int ipcget(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget() 722 struct kern_ipc_perm *ipcctl_obtain_check(struct ipc_namespace *ns, in ipcctl_obtain_check() 774 struct ipc_namespace *ns; member
|
/openbmc/linux/include/linux/ |
H A D | export-internal.h | 40 #define __KSYMTAB(name, sym, sec, ns) \ argument 64 #define KSYMTAB_FUNC(name, sec, ns) __KSYMTAB(name, KSYM_FUNC(name), sec, ns) argument 65 #define KSYMTAB_DATA(name, sec, ns) __KSYMTAB(name, name, sec, ns) argument
|
H A D | pm.h | 377 #define _EXPORT_PM_OPS(name, license, ns) \ argument 382 #define _DISCARD_PM_OPS(name, license, ns) \ argument 386 #define _EXPORT_DEV_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) argument 388 #define EXPORT_PM_FN_NS_GPL(name, ns) EXPORT_SYMBOL_NS_GPL(name, ns) argument 390 #define _EXPORT_DEV_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns) argument 392 #define EXPORT_PM_FN_NS_GPL(name, ns) argument 396 #define _EXPORT_DEV_SLEEP_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) argument 398 #define _EXPORT_DEV_SLEEP_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns) argument 403 #define EXPORT_NS_DEV_PM_OPS(name, ns) _EXPORT_DEV_PM_OPS(name, "", #ns) argument 404 #define EXPORT_NS_GPL_DEV_PM_OPS(name, ns) _EXPORT_DEV_PM_OPS(name, "GPL", #ns) argument [all …]
|
H A D | uidgid.h | 131 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() 136 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping() 179 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() 184 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
|
/openbmc/linux/fs/kernfs/ |
H A D | dir.c | 312 static unsigned int kernfs_name_hash(const char *name, const void *ns) in kernfs_name_hash() 329 const void *ns, const struct kernfs_node *kn) in kernfs_name_compare() 839 const void *ns) in kernfs_find_ns() 872 const void *ns) in kernfs_walk_ns() 913 const char *name, const void *ns) in kernfs_find_and_get_ns() 939 const char *path, const void *ns) in kernfs_walk_and_get_ns() 1055 void *priv, const void *ns) in kernfs_create_dir_ns() 1197 const void *ns = NULL; in kernfs_iop_lookup() local 1677 const void *ns) in kernfs_remove_by_name_ns() 1792 static struct kernfs_node *kernfs_dir_pos(const void *ns, in kernfs_dir_pos() [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | label.c | 373 struct aa_ns *ns = labels_ns(label); in aa_label_kref() local 1444 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp) in aa_update_label_name() 1476 static inline bool use_label_hname(struct aa_ns *ns, struct aa_label *label, in use_label_hname() 1553 static const char *label_modename(struct aa_ns *ns, struct aa_label *label, in label_modename() 1586 static inline bool display_mode(struct aa_ns *ns, struct aa_label *label, in display_mode() 1623 int aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, in aa_label_snxprint() 1687 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, in aa_label_asxprint() 1716 int aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns, in aa_label_acntsxprint() 1735 void aa_label_xaudit(struct audit_buffer *ab, struct aa_ns *ns, in aa_label_xaudit() 1765 void aa_label_seq_xprint(struct seq_file *f, struct aa_ns *ns, in aa_label_seq_xprint() [all …]
|
H A D | apparmorfs.c | 415 loff_t *pos, struct aa_ns *ns) in policy_update() 446 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_load() local 463 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_replace() local 483 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_remove() local 518 struct aa_ns *ns; member 597 void __aa_bump_ns_revision(struct aa_ns *ns) in __aa_bump_ns_revision() 1442 int __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata) in __aa_fs_create_rawdata() 1807 struct aa_ns *ns, *parent; in ns_mkdir_op() local 1857 struct aa_ns *ns, *parent; in ns_rmdir_op() local 1904 static void __aa_fs_list_remove_rawdata(struct aa_ns *ns) in __aa_fs_list_remove_rawdata() [all …]
|
/openbmc/linux/net/ax25/ |
H A D | ax25_std_in.c | 141 static int ax25_std_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int n… in ax25_std_state3_machine() 266 static int ax25_std_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int n… in ax25_std_state4_machine() 421 int queued = 0, frametype, ns, nr, pf; in ax25_std_frame_in() local
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_qoriq.c | 30 u64 ns; in tmr_cnt_read() local 41 static void tmr_cnt_write(struct ptp_qoriq *ptp_qoriq, u64 ns) in tmr_cnt_write() 55 u64 ns; in tmr_offset_read() local 78 u64 ns; in set_alarm() local 263 u64 ns; in ptp_qoriq_gettime() local 282 u64 ns; in ptp_qoriq_settime() local
|
/openbmc/linux/drivers/of/ |
H A D | fdt_address.c | 22 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ argument 71 int na, int ns, int pna) in fdt_bus_default_map() 112 int na, int ns, int pna, const char *rprop) in fdt_translate_one() 169 int na, ns, pna, pns; in fdt_translate_address() local
|
H A D | address.c | 24 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument 67 int na, int ns, int pna) in of_bus_default_map() 105 int ns, int pna) in of_bus_default_flags_map() 195 static u64 of_bus_pci_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_pci_map() 322 static u64 of_bus_isa_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_isa_map() 445 int na, int ns, int pna, const char *rprop) in of_translate_one() 531 int na, ns, pna, pns; in __of_translate_address() local 693 int na, ns; in of_translate_dma_region() local 727 int onesize, i, na, ns; in __of_get_address() local 829 int ns = parser->ns; in of_pci_range_parser_one() local
|
/openbmc/linux/kernel/ |
H A D | nsproxy.c | 190 void free_nsproxy(struct nsproxy *ns) in free_nsproxy() 241 struct nsproxy *ns; in switch_task_namespaces() local 363 static inline int validate_ns(struct nsset *nsset, struct ns_common *ns) in validate_ns() 549 struct ns_common *ns = NULL; in SYSCALL_DEFINE2() local
|
/openbmc/linux/drivers/net/ethernet/xscale/ |
H A D | ptp_ixp46x.c | 43 u64 ns; in ixp_systime_read() local 56 static void ixp_systime_write(struct ixp46x_ts_regs *regs, u64 ns) in ixp_systime_write() 156 u64 ns; in ptp_ixp_gettime() local 174 u64 ns; in ptp_ixp_settime() local
|
/openbmc/qemu/include/hw/ |
H A D | clock.h | 53 #define CLOCK_PERIOD_FROM_NS(ns) ((ns) * (CLOCK_PERIOD_1SEC / 1000000000llu)) argument 195 static inline bool clock_set_ns(Clock *clk, unsigned ns) in clock_set_ns() 233 static inline void clock_update_ns(Clock *clk, unsigned ns) in clock_update_ns() 313 static inline uint64_t clock_ns_to_ticks(const Clock *clk, uint64_t ns) in clock_ns_to_ticks()
|
/openbmc/linux/arch/sparc/vdso/ |
H A D | vclock_gettime.c | 150 u64 ns; in do_realtime() local 170 u64 ns; in do_realtime_stick() local 190 u64 ns; in do_monotonic() local 210 u64 ns; in do_monotonic_stick() local
|
/openbmc/u-boot/drivers/core/ |
H A D | of_addr.c | 19 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument 58 int na, int ns, int pna) in of_bus_default_map() 131 int onesize, i, na, ns; in of_get_address() local 170 __be32 *addr, int na, int ns, int pna, in of_translate_one() 246 int na, ns, pna, pns; in __of_translate_address() local
|
/openbmc/linux/fs/ |
H A D | namespace.c | 731 static inline void lock_ns_list(struct mnt_namespace *ns) in lock_ns_list() 736 static inline void unlock_ns_list(struct mnt_namespace *ns) in unlock_ns_list() 763 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint() local 878 static void touch_mnt_namespace(struct mnt_namespace *ns) in touch_mnt_namespace() 889 static void __touch_mnt_namespace(struct mnt_namespace *ns) in __touch_mnt_namespace() 1415 static struct mount *mnt_list_next(struct mnt_namespace *ns, in mnt_list_next() 1490 void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor) in mnt_cursor_del() 1652 struct mnt_namespace *ns; in umount_tree() local 1944 static struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns() 2054 struct mnt_namespace *ns; in dissolve_on_fput() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.c | 473 static struct fs_prio *find_prio(struct mlx5_flow_namespace *ns, in find_prio() 520 struct mlx5_flow_namespace *ns; in find_root() local 1229 static struct mlx5_flow_table *__mlx5_create_flow_table(struct mlx5_flow_namespace *ns, in __mlx5_create_flow_table() 1314 struct mlx5_flow_table *mlx5_create_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_flow_table() 1328 mlx5_create_vport_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_vport_flow_table() 1335 mlx5_create_lag_demux_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_lag_demux_flow_table() 1350 mlx5_create_auto_grouped_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_auto_grouped_flow_table() 2451 struct mlx5_flow_namespace *ns; in mlx5_get_flow_namespace() local 2572 static struct fs_prio *_fs_create_prio(struct mlx5_flow_namespace *ns, in _fs_create_prio() 2593 static struct fs_prio *fs_create_prio_chained(struct mlx5_flow_namespace *ns, in fs_create_prio_chained() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | vporttbl.c | 25 esw_vport_tbl_init(struct mlx5_eswitch *esw, struct esw_vport_tbl_namespace *ns) in esw_vport_tbl_init() 33 esw_vport_tbl_create(struct mlx5_eswitch *esw, struct mlx5_flow_namespace *ns, in esw_vport_tbl_create() 84 struct mlx5_flow_namespace *ns; in mlx5_esw_vporttbl_get() local
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_ptp.h | 16 static inline s64 ns_to_sja1105_ticks(s64 ns) in ns_to_sja1105_ticks() 56 static inline s64 ns_to_sja1105_delta(s64 ns) in ns_to_sja1105_delta() 161 static inline int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, in __sja1105_ptp_gettimex() 167 static inline int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, in __sja1105_ptp_settime()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 64 u64 ns = timespec64_to_ns(ts); in bnxt_ptp_settime() local 77 u64 *ns) in bnxt_refclk_read() 145 u64 ns, cycles; in bnxt_ptp_gettimex() local 247 u64 ns, pps_ts; in bnxt_ptp_pps_event() local 673 u64 ns = 0; in bnxt_cc_read() local 683 u64 ts = 0, ns = 0; in bnxt_stamp_tx_skb() local 879 void bnxt_ptp_rtc_timecounter_init(struct bnxt_ptp_cfg *ptp, u64 ns) in bnxt_ptp_rtc_timecounter_init() 889 u64 ns; in bnxt_ptp_init_rtc() local
|