/openbmc/qemu/hw/nvme/ |
H A D | dif.c | 19 uint16_t nvme_check_prinfo(NvmeNamespace *ns, uint8_t prinfo, uint64_t slba, in nvme_check_prinfo() 63 static void nvme_dif_pract_generate_dif_crc16(NvmeNamespace *ns, uint8_t *buf, in nvme_dif_pract_generate_dif_crc16() 153 static uint16_t nvme_dif_prchk_crc16(NvmeNamespace *ns, NvmeDifTuple *dif, in nvme_dif_prchk_crc16() 212 static uint16_t nvme_dif_prchk_crc64(NvmeNamespace *ns, NvmeDifTuple *dif, in nvme_dif_prchk_crc64() 279 static uint16_t nvme_dif_prchk(NvmeNamespace *ns, NvmeDifTuple *dif, in nvme_dif_prchk() 296 uint16_t nvme_dif_check(NvmeNamespace *ns, uint8_t *buf, size_t len, in nvme_dif_check() 407 NvmeNamespace *ns = req->ns; in nvme_dif_rw_cb() local 427 NvmeNamespace *ns = req->ns; in nvme_dif_rw_check_cb() local 487 NvmeNamespace *ns = req->ns; in nvme_dif_rw_mdata_in_cb() local 518 NvmeNamespace *ns = req->ns; in nvme_dif_rw_mdata_out_cb() local [all …]
|
H A D | ctrl.c | 3486 NvmeNamespace *ns; member 4610 NvmeNamespace *ns; in nvme_io_cmd() local 4927 NvmeNamespace *ns; in nvme_smart_info() local 5602 NvmeNamespace *ns; in nvme_identify_ns() local 5639 NvmeNamespace *ns; in nvme_identify_ctrl_list() local 5711 NvmeNamespace *ns; in nvme_identify_ns_ind() local 5739 NvmeNamespace *ns; in nvme_identify_ns_csi() local 5775 NvmeNamespace *ns; in nvme_identify_nslist() local 5822 NvmeNamespace *ns; in nvme_identify_nslist_csi() local 5889 NvmeNamespace *ns; in nvme_identify_ns_descr_list() local [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | ioam6.c | 23 static void ioam6_ns_release(struct ioam6_namespace *ns) in ioam6_ns_release() 35 struct ioam6_namespace *ns = (struct ioam6_namespace *)ptr; in ioam6_free_ns() local 51 const struct ioam6_namespace *ns = obj; in ioam6_ns_cmpfn() local 110 struct ioam6_namespace *ns; in ioam6_genl_addns() local 164 struct ioam6_namespace *ns; in ioam6_genl_delns() local 277 struct ioam6_namespace *ns; in ioam6_genl_dumpns() local 363 struct ioam6_namespace *ns; in ioam6_genl_delsc() local 403 struct ioam6_namespace *ns; in __ioam6_genl_dumpsc_element() local 500 struct ioam6_namespace *ns, *ns_ref; in ioam6_genl_ns_set_schema() local 634 struct ioam6_namespace *ns, in __ioam6_fill_trace_data() [all …]
|
/openbmc/linux/include/linux/ |
H A D | utsname.h | 28 struct ns_common ns; member 33 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns() 42 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns() 50 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns() 54 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns()
|
H A D | user_namespace.h | 76 struct ns_common ns; member 109 struct user_namespace *ns; member 139 static inline long get_userns_rlimit_max(struct user_namespace *ns, enum rlimit_type type) in get_userns_rlimit_max() 144 static inline void set_userns_rlimit_max(struct user_namespace *ns, in set_userns_rlimit_max() 152 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 163 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns() 185 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 203 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns() 207 static inline bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups() 223 static inline struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner()
|
H A D | capability.h | 158 struct user_namespace *ns, int cap) in has_ns_capability() 167 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 175 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 179 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 183 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() 205 static inline bool checkpoint_restore_ns_capable(struct user_namespace *ns) in checkpoint_restore_ns_capable()
|
/openbmc/linux/ipc/ |
H A D | ipc_sysctl.c | 23 struct ipc_namespace *ns = in proc_ipc_dointvec_minmax_orphans() local 54 struct ipc_namespace *ns = in proc_ipc_sem_dointvec() local 197 struct ipc_namespace *ns = in ipc_set_ownership() local 212 struct ipc_namespace *ns = in ipc_permissions() local 246 bool setup_ipc_sysctls(struct ipc_namespace *ns) in setup_ipc_sysctls() 307 void retire_ipc_sysctls(struct ipc_namespace *ns) in retire_ipc_sysctls()
|
H A D | util.h | 60 static inline void mq_clear_sbinfo(struct ipc_namespace *ns) { } in mq_clear_sbinfo() 72 static inline void sem_init_ns(struct ipc_namespace *ns) { } in sem_init_ns() 73 static inline int msg_init_ns(struct ipc_namespace *ns) { return 0; } in msg_init_ns() 74 static inline void shm_init_ns(struct ipc_namespace *ns) { } in shm_init_ns() 76 static inline void sem_exit_ns(struct ipc_namespace *ns) { } in sem_exit_ns() 77 static inline void msg_exit_ns(struct ipc_namespace *ns) { } in msg_exit_ns() 78 static inline void shm_exit_ns(struct ipc_namespace *ns) { } in shm_exit_ns() 247 static inline int sem_check_semmni(struct ipc_namespace *ns) { in sem_check_semmni()
|
H A D | shm.c | 76 struct ipc_namespace *ns; member 85 struct ipc_namespace *ns; member 108 void shm_init_ns(struct ipc_namespace *ns) in shm_init_ns() 139 void shm_exit_ns(struct ipc_namespace *ns) in shm_exit_ns() 371 struct ipc_namespace *ns = sfd->ns; in __shm_close() local 410 struct ipc_namespace *ns = data; in shm_try_destroy_orphaned() local 443 struct ipc_namespace *ns; in exit_shm() local 833 struct ipc_namespace *ns; in ksys_shmget() local 1248 struct ipc_namespace *ns; in ksys_shmctl() local 1442 struct ipc_namespace *ns; in compat_ksys_shmctl() local [all …]
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | udp_tunnels.c | 15 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_set_port() local 44 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_unset_port() local 73 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_sync_table() local 113 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnels_info_reset_write() local 133 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnels_info_create() local
|
/openbmc/linux/drivers/nvme/host/ |
H A D | ioctl.c | 17 static bool nvme_cmd_allowed(struct nvme_ns *ns, struct nvme_command *c, in nvme_cmd_allowed() 173 struct nvme_ns *ns = q->queuedata; in nvme_map_user_request() local 232 struct nvme_ns *ns = q->queuedata; in nvme_submit_user_cmd() local 335 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid() 690 static int nvme_ns_ioctl(struct nvme_ns *ns, unsigned int cmd, in nvme_ns_ioctl() 723 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl() local 738 struct nvme_ns *ns = in nvme_ns_chr_ioctl() local 830 struct nvme_ns *ns; in nvme_ns_head_ioctl() local 865 struct nvme_ns *ns; in nvme_ns_head_chr_ioctl() local 889 struct nvme_ns *ns = nvme_find_path(head); in nvme_ns_head_chr_uring_cmd() local [all …]
|
H A D | core.c | 3543 struct nvme_ns *ns, *ret = NULL; in nvme_find_get_ns() local 3581 struct nvme_ns *ns; in nvme_alloc_ns() local 3763 struct nvme_ns *ns; in nvme_scan_ns() local 3808 struct nvme_ns *ns, *next; in nvme_remove_invalid_namespaces() local 3961 struct nvme_ns *ns, *next; in nvme_remove_namespaces() local 4555 struct nvme_ns *ns; in nvme_mark_namespaces_dead() local 4568 struct nvme_ns *ns; in nvme_unfreeze() local 4582 struct nvme_ns *ns; in nvme_wait_freeze_timeout() local 4599 struct nvme_ns *ns; in nvme_wait_freeze() local 4612 struct nvme_ns *ns; in nvme_start_freeze() local [all …]
|
/openbmc/linux/security/keys/ |
H A D | persistent.c | 20 static int key_create_persistent_register(struct user_namespace *ns) in key_create_persistent_register() 40 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent() 73 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent() 131 struct user_namespace *ns = current_user_ns(); in keyctl_get_persistent() local
|
/openbmc/linux/security/apparmor/ |
H A D | policy.c | 406 static struct aa_policy *__lookup_parent(struct aa_ns *ns, in __lookup_parent() 440 static struct aa_policy *__create_missing_ancestors(struct aa_ns *ns, in __create_missing_ancestors() 555 struct aa_ns *ns; in aa_fqlookupn_profile() local 791 struct aa_label *label, struct aa_ns *ns) in aa_policy_view_capable() 811 struct aa_label *label, struct aa_ns *ns) in aa_policy_admin_capable() 824 bool aa_current_policy_view_capable(struct aa_ns *ns) in aa_current_policy_view_capable() 836 bool aa_current_policy_admin_capable(struct aa_ns *ns) in aa_current_policy_admin_capable() 858 struct aa_ns *ns, u32 mask) in aa_may_manage_policy() 973 static int __lookup_replace(struct aa_ns *ns, const char *hname, in __lookup_replace() 1037 struct aa_ns *ns = NULL; in aa_replace_profiles() local [all …]
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | clk-rcg.c | 18 static u32 ns_to_src(struct src_sel *s, u32 ns) in ns_to_src() 41 u32 ns; in clk_rcg_get_parent() local 68 u32 ns, reg; in clk_dyn_rcg_get_parent() local 97 u32 ns; in clk_rcg_set_parent() local 200 u32 ns, md, reg; in configure_bank() local 294 u32 ns, md, reg; in clk_dyn_rcg_set_parent() local 370 u32 m, n, pre_div, ns, md, mode, reg; in clk_dyn_rcg_recalc_rate() local 476 u32 ns, md, ctl; in __clk_rcg_set_rate() local 567 u32 ns, src; in clk_rcg_bypass2_set_rate() local 638 u32 ns, src; in clk_rcg_pixel_set_rate() local [all …]
|
/openbmc/linux/security/selinux/ |
H A D | netif.c | 52 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) in sel_netif_hashfn() 67 static inline struct sel_netif *sel_netif_find(const struct net *ns, in sel_netif_find() 132 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow() 191 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid() 217 static void sel_netif_kill(const struct net *ns, int ifindex) in sel_netif_kill()
|
/openbmc/linux/kernel/ |
H A D | pid.c | 110 struct pid_namespace *ns; in put_pid() local 138 struct pid_namespace *ns = upid->ns; in free_pid() local 162 struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, in alloc_pid() 305 void disable_pid_allocation(struct pid_namespace *ns) in disable_pid_allocation() 312 struct pid *find_pid_ns(int nr, struct pid_namespace *ns) in find_pid_ns() 416 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns() 475 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() 496 struct pid_namespace *ns) in __task_pid_nr_ns() 521 struct pid *find_ge_pid(int nr, struct pid_namespace *ns) in find_ge_pid()
|
H A D | acct.c | 110 struct pid_namespace *ns; member 163 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) in acct_get() 216 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() local 316 void acct_exit_ns(struct pid_namespace *ns) in acct_exit_ns() 524 struct pid_namespace *ns = acct->ns; in do_acct_process() local 593 static void slow_acct_process(struct pid_namespace *ns) in slow_acct_process() 610 struct pid_namespace *ns; in acct_process() local
|
H A D | ucount.c | 21 #define ucounts_hashfn(ns, uid) \ argument 24 #define ucounts_hashentry(ns, uid) \ argument 94 bool setup_userns_sysctls(struct user_namespace *ns) in setup_userns_sysctls() 119 void retire_userns_sysctls(struct user_namespace *ns) in retire_userns_sysctls() 131 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashe… in find_ucounts() 165 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid) in alloc_ucounts() 230 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, in inc_ucount()
|
/openbmc/qemu/hw/core/ |
H A D | nmi.c | 38 struct do_nmi_s *ns = opaque; in do_nmi() local 55 static void nmi_children(Object *o, struct do_nmi_s *ns) in nmi_children() 62 struct do_nmi_s ns = { in nmi_monitor_handle() local
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_vclock.c | 76 u64 ns; in ptp_vclock_gettime() local 95 u64 ns; in ptp_vclock_gettimex() local 115 u64 ns = timespec64_to_ns(ts); in ptp_vclock_settime() local 131 u64 ns; in ptp_vclock_getcrosststamp() local 272 u64 ns; in ptp_convert_timestamp() local
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_state.c | 26 union drbd_state ns; member 468 union drbd_state os, union drbd_state ns) in cl_wide_st_chg() 483 union drbd_state ns; in apply_mask_val() local 493 union drbd_state ns; in drbd_change_state() local 520 union drbd_state os, ns; in _req_st_cond() local 568 union drbd_state os, ns; in drbd_req_state() local 734 union drbd_state ns, enum drbd_state_rv err) in print_st_err() 1014 is_valid_transition(union drbd_state os, union drbd_state ns) in is_valid_transition() 1705 union drbd_state ns, enum chg_state_flags flags, in after_state_ch() 2160 union drbd_state ns, os; in conn_is_valid_transition() local [all …]
|
/openbmc/linux/drivers/nvme/target/ |
H A D | io-cmd-bdev.c | 51 void nvmet_bdev_ns_disable(struct nvmet_ns *ns) in nvmet_bdev_ns_disable() 59 static void nvmet_bdev_ns_enable_integrity(struct nvmet_ns *ns) in nvmet_bdev_ns_enable_integrity() 75 int nvmet_bdev_ns_enable(struct nvmet_ns *ns) in nvmet_bdev_ns_enable() 117 void nvmet_bdev_ns_revalidate(struct nvmet_ns *ns) in nvmet_bdev_ns_revalidate() 364 struct nvmet_ns *ns = req->ns; in nvmet_bdev_discard_range() local
|
H A D | core.c | 449 void nvmet_put_namespace(struct nvmet_ns *ns) in nvmet_put_namespace() 454 static void nvmet_ns_dev_disable(struct nvmet_ns *ns) in nvmet_ns_dev_disable() 508 struct nvmet_ns *ns) in nvmet_p2pmem_ns_add_p2p() 543 bool nvmet_ns_revalidate(struct nvmet_ns *ns) in nvmet_ns_revalidate() 555 int nvmet_ns_enable(struct nvmet_ns *ns) in nvmet_ns_enable() 621 void nvmet_ns_disable(struct nvmet_ns *ns) in nvmet_ns_disable() 662 void nvmet_ns_free(struct nvmet_ns *ns) in nvmet_ns_free() 676 struct nvmet_ns *ns; in nvmet_ns_alloc() local 743 struct nvmet_ns *ns = req->ns; in __nvmet_req_complete() local 858 struct nvmet_ns *ns) in nvmet_check_ana_state() [all …]
|
/openbmc/u-boot/arch/m68k/include/asm/ |
H A D | io.h | 46 #define insb(port, buf, ns) _insb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 47 #define outsb(port, buf, ns) _outsb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 48 #define insw(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument 49 #define outsw(port, buf, ns) _outsw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument 69 static inline void _insb(volatile u8 * port, void *buf, int ns) in _insb() 76 static inline void _outsb(volatile u8 * port, const void *buf, int ns) in _outsb() 83 static inline void _insw(volatile u16 * port, void *buf, int ns) in _insw() 90 static inline void _outsw(volatile u16 * port, const void *buf, int ns) in _outsw() 115 static inline void _insw_ns(volatile u16 * port, void *buf, int ns) in _insw_ns() 122 static inline void _outsw_ns(volatile u16 * port, const void *buf, int ns) in _outsw_ns() [all …]
|