Home
last modified time | relevance | path

Searched defs:ns (Results 51 – 75 of 582) sorted by relevance

12345678910>>...24

/openbmc/linux/ipc/
H A Dmq_sysctl.c83 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 Dmsg.c100 #define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS]) argument
144 static int newque(struct ipc_namespace *ns, struct ipc_params *params) in newque()
300 struct ipc_namespace *ns; in ksys_msgget() local
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()
599 struct ipc_namespace *ns; in ksys_msgctl() local
734 struct ipc_namespace *ns; in compat_ksys_msgctl() local
854 struct ipc_namespace *ns; in do_msgsnd() local
1103 struct ipc_namespace *ns; in do_msgrcv() local
1306 int msg_init_ns(struct ipc_namespace *ns) in msg_init_ns()
[all …]
H A Dutil.c339 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
H A Dsem.c169 #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()
604 struct ipc_namespace *ns; in ksys_semget() local
1234 static int semctl_stat(struct ipc_namespace *ns, int semid, in semctl_stat()
1308 static int semctl_info(struct ipc_namespace *ns, int semid, in semctl_info()
1601 static int semctl_down(struct ipc_namespace *ns, int semid, in semctl_down()
1653 struct ipc_namespace *ns; in ksys_semctl() local
1777 struct ipc_namespace *ns; in compat_ksys_semctl() local
1985 struct ipc_namespace *ns) in __do_semtimedop()
[all …]
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_fcs_lport.c3767 bfa_fcs_lport_ns_sm_plogi(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi()
3850 bfa_fcs_lport_ns_sm_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id()
4104 bfa_fcs_lport_ns_sm_rft_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rft_id()
4386 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_plogi() local
4483 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rnn_id() local
4560 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rsnn_nn() local
4639 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rspn_id() local
4737 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rft_id() local
4810 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rff_id() local
4895 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_gid_ft() local
[all …]
/openbmc/linux/include/linux/
H A Dexport-internal.h40 #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 Dpm.h377 #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
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
429 #define EXPORT_NS_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn, ns) \ argument
[all …]
H A Duidgid.h131 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 Ddir.c329 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()
1826 static struct kernfs_node *kernfs_dir_next_pos(const void *ns, in kernfs_dir_next_pos()
[all …]
/openbmc/linux/net/ax25/
H A Dax25_std_in.c141 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/security/apparmor/
H A Dlabel.c373 struct aa_ns *ns = labels_ns(label); in aa_label_kref() local
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()
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()
1814 struct aa_ns *ns = aa_get_current_ns(); in aa_label_audit() local
1822 struct aa_ns *ns = aa_get_current_ns(); in aa_label_seq_print() local
1830 struct aa_ns *ns = aa_get_current_ns(); in aa_label_printk() local
2122 static void __labelset_update(struct aa_ns *ns) in __labelset_update()
[all …]
H A Dapparmorfs.c415 loff_t *pos, struct aa_ns *ns) in policy_update()
518 struct aa_ns *ns; member
597 void __aa_bump_ns_revision(struct aa_ns *ns) in __aa_bump_ns_revision()
1807 struct aa_ns *ns, *parent; in ns_mkdir_op() local
1857 struct aa_ns *ns, *parent; in ns_rmdir_op() local
1918 void __aafs_ns_rmdir(struct aa_ns *ns) in __aafs_ns_rmdir()
2132 struct aa_ns *ns) in __first_profile()
2157 struct aa_ns *ns = p->ns; in __next_profile() local
2244 struct aa_ns *ns = f->private; in p_next() local
2260 struct aa_ns *root = f->private, *ns; in p_stop() local
[all …]
/openbmc/linux/drivers/ptp/
H A Dptp_qoriq.c30 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 Dfdt_address.c22 #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 Daddress.c24 #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()
326 static u64 of_bus_isa_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_isa_map()
454 int na, int ns, int pna, const char *rprop) in of_translate_one()
539 int na, ns, pna, pns; in __of_translate_address() local
701 int na, ns; in of_translate_dma_region() local
735 int onesize, i, na, ns; in __of_get_address() local
837 int ns = parser->ns; in of_pci_range_parser_one() local
/openbmc/linux/kernel/
H A Dnsproxy.c190 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/arch/sparc/vdso/
H A Dvclock_gettime.c150 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/linux/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c43 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 Dclock.h53 #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/u-boot/drivers/core/
H A Dof_addr.c19 #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 Dnamespace.c1652 struct mnt_namespace *ns; in umount_tree() local
2054 struct mnt_namespace *ns; in dissolve_on_fput() local
2306 struct mnt_namespace *ns = top_mnt->mnt_ns; in attach_recursive_mnt() local
3120 struct mnt_namespace *ns; in do_move_mount() local
3846 struct mnt_namespace *ns; in mount_subtree() local
3951 struct mnt_namespace *ns; in SYSCALL_DEFINE3() local
4517 struct ns_common *ns; in build_mount_idmapped() local
4705 struct mnt_namespace *ns; in init_mount_tree() local
4766 void put_mnt_ns(struct mnt_namespace *ns) in put_mnt_ns()
4948 struct ns_common *ns = NULL; in mntns_get() local
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dvporttbl.c25 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/ethernet/mellanox/mlx5/core/
H A Dfs_core.c520 struct mlx5_flow_namespace *ns; in find_root() local
2451 struct mlx5_flow_namespace *ns; in mlx5_get_flow_namespace() local
2616 struct mlx5_flow_namespace *ns; in fs_create_namespace() local
2732 struct mlx5_flow_namespace *ns; in del_sw_root_ns() local
2746 struct mlx5_flow_namespace *ns; in create_root_ns() local
2784 struct mlx5_flow_namespace *ns; in set_prio_attrs_in_prio() local
2981 struct mlx5_flow_namespace *ns) in store_fdb_sub_ns_prio_chain()
2994 struct mlx5_flow_namespace *ns; in create_fdb_sub_ns_prio_chain() local
3061 struct mlx5_flow_namespace *ns; in create_fdb_bypass() local
3272 struct mlx5_flow_namespace *ns; in mlx5_fs_get_capabilities() local
[all …]
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.h16 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 Dbnxt_ptp.c64 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

12345678910>>...24