Home
last modified time | relevance | path

Searched defs:ns (Results 26 – 50 of 582) sorted by relevance

12345678910>>...24

/openbmc/qemu/hw/nvme/
H A Ddif.c19 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()
97 static void nvme_dif_pract_generate_dif_crc64(NvmeNamespace *ns, uint8_t *buf, in nvme_dif_pract_generate_dif_crc64()
137 void nvme_dif_pract_generate_dif(NvmeNamespace *ns, uint8_t *buf, size_t len, in nvme_dif_pract_generate_dif()
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()
349 uint16_t nvme_dif_mangle_mdata(NvmeNamespace *ns, uint8_t *mbuf, size_t mlen, in nvme_dif_mangle_mdata()
407 NvmeNamespace *ns = req->ns; in nvme_dif_rw_cb() local
[all …]
H A Dctrl.c326 static inline uint16_t nvme_make_pid(NvmeNamespace *ns, uint16_t rg, in nvme_make_pid()
338 static inline bool nvme_ph_valid(NvmeNamespace *ns, uint16_t ph) in nvme_ph_valid()
348 static inline uint16_t nvme_pid2ph(NvmeNamespace *ns, uint16_t pid) in nvme_pid2ph()
359 static inline uint16_t nvme_pid2rg(NvmeNamespace *ns, uint16_t pid) in nvme_pid2rg()
370 static inline bool nvme_parse_pid(NvmeNamespace *ns, uint16_t pid, in nvme_parse_pid()
379 static void nvme_assign_zone_state(NvmeNamespace *ns, NvmeZone *zone, in nvme_assign_zone_state()
421 static uint16_t nvme_zns_check_resources(NvmeNamespace *ns, uint32_t act, in nvme_zns_check_resources()
447 static uint16_t nvme_aor_check(NvmeNamespace *ns, uint32_t act, uint32_t opn) in nvme_aor_check()
478 static bool nvme_update_ruh(NvmeCtrl *n, NvmeNamespace *ns, uint16_t pid) in nvme_update_ruh()
747 static void nvme_sg_split(NvmeSg *sg, NvmeNamespace *ns, NvmeSg *data, in nvme_sg_split()
[all …]
/openbmc/linux/net/ipv6/
H A Dioam6.c23 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
201 static int __ioam6_genl_dumpns_element(struct ioam6_namespace *ns, in __ioam6_genl_dumpns_element()
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
[all …]
/openbmc/linux/include/linux/
H A Dutsname.h28 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 Duser_namespace.h76 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 Dcapability.h158 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 Dipc_sysctl.c23 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 Dutil.h60 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 Dshm.c76 struct ipc_namespace *ns; member
85 struct ipc_namespace *ns; member
95 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) argument
108 void shm_init_ns(struct ipc_namespace *ns) in shm_init_ns()
122 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid()
139 void shm_exit_ns(struct ipc_namespace *ns) in shm_exit_ns()
166 static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id) in shm_obtain_object()
176 static inline struct shmid_kernel *shm_obtain_object_check(struct ipc_namespace *ns, int id) in shm_obtain_object_check()
190 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) in shm_lock()
328 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_destroy()
[all …]
/openbmc/linux/drivers/net/netdevsim/
H A Dudp_tunnels.c15 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 Dioctl.c17 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
272 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io()
335 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid()
348 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd()
396 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64()
566 static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_uring_cmd_io()
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
[all …]
H A Dcore.c311 struct nvme_ns *ns = req->q->queuedata; in nvme_log_error() local
627 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns() local
635 nvme_get_ns(struct nvme_ns * ns) nvme_get_ns() argument
640 nvme_put_ns(struct nvme_ns * ns) nvme_put_ns() argument
739 nvme_setup_flush(struct nvme_ns * ns,struct nvme_command * cmnd) nvme_setup_flush() argument
747 nvme_setup_discard(struct nvme_ns * ns,struct request * req,struct nvme_command * cmnd) nvme_setup_discard() argument
816 nvme_set_ref_tag(struct nvme_ns * ns,struct nvme_command * cmnd,struct request * req) nvme_set_ref_tag() argument
840 nvme_setup_write_zeroes(struct nvme_ns * ns,struct request * req,struct nvme_command * cmnd) nvme_setup_write_zeroes() argument
872 nvme_setup_rw(struct nvme_ns * ns,struct request * req,struct nvme_command * cmnd,enum nvme_opcode op) nvme_setup_rw() argument
946 nvme_setup_cmd(struct nvme_ns * ns,struct request * req) nvme_setup_cmd() argument
1064 nvme_command_effects(struct nvme_ctrl * ctrl,struct nvme_ns * ns,u8 opcode) nvme_command_effects() argument
1089 nvme_passthru_start(struct nvme_ctrl * ctrl,struct nvme_ns * ns,u8 opcode) nvme_passthru_start() argument
1109 nvme_passthru_end(struct nvme_ctrl * ctrl,struct nvme_ns * ns,u32 effects,struct nvme_command * cmd,int status) nvme_passthru_end() argument
1600 nvme_ns_open(struct nvme_ns * ns) nvme_ns_open() argument
1619 nvme_ns_release(struct nvme_ns * ns) nvme_ns_release() argument
1646 nvme_init_integrity(struct gendisk * disk,struct nvme_ns * ns,u32 max_integrity_segments) nvme_init_integrity() argument
1697 nvme_init_integrity(struct gendisk * disk,struct nvme_ns * ns,u32 max_integrity_segments) nvme_init_integrity() argument
1703 nvme_config_discard(struct gendisk * disk,struct nvme_ns * ns) nvme_config_discard() argument
1741 nvme_init_ms(struct nvme_ns * ns,struct nvme_id_ns * id) nvme_init_ms() argument
1801 nvme_configure_metadata(struct nvme_ns * ns,struct nvme_id_ns * id) nvme_configure_metadata() argument
1870 nvme_update_disk_info(struct gendisk * disk,struct nvme_ns * ns,struct nvme_id_ns * id) nvme_update_disk_info() argument
1940 nvme_ns_is_readonly(struct nvme_ns * ns,struct nvme_ns_info * info) nvme_ns_is_readonly() argument
1951 nvme_set_chunk_sectors(struct nvme_ns * ns,struct nvme_id_ns * id) nvme_set_chunk_sectors() argument
1982 nvme_update_ns_info_generic(struct nvme_ns * ns,struct nvme_ns_info * info) nvme_update_ns_info_generic() argument
2007 nvme_update_ns_info_block(struct nvme_ns * ns,struct nvme_ns_info * info) nvme_update_ns_info_block() argument
2092 nvme_update_ns_info(struct nvme_ns * ns,struct nvme_ns_info * info) nvme_update_ns_info() argument
3350 nvme_add_ns_cdev(struct nvme_ns * ns) nvme_add_ns_cdev() argument
3446 nvme_init_ns_head(struct nvme_ns * ns,struct nvme_ns_info * info) nvme_init_ns_head() argument
3543 struct nvme_ns *ns, *ret = NULL; nvme_find_get_ns() local
3566 nvme_ns_add_to_ctrl_list(struct nvme_ns * ns) nvme_ns_add_to_ctrl_list() argument
3581 struct nvme_ns *ns; nvme_alloc_ns() local
3682 nvme_ns_remove(struct nvme_ns * ns) nvme_ns_remove() argument
3730 struct nvme_ns *ns = nvme_find_get_ns(ctrl, nsid); nvme_ns_remove_by_nsid() local
3738 nvme_validate_ns(struct nvme_ns * ns,struct nvme_ns_info * info) nvme_validate_ns() argument
3763 struct nvme_ns *ns; nvme_scan_ns() local
3808 struct nvme_ns *ns, *next; nvme_remove_invalid_namespaces() local
3961 struct nvme_ns *ns, *next; nvme_remove_namespaces() local
4555 struct nvme_ns *ns; nvme_mark_namespaces_dead() local
4568 struct nvme_ns *ns; nvme_unfreeze() local
4582 struct nvme_ns *ns; nvme_wait_freeze_timeout() local
4599 struct nvme_ns *ns; nvme_wait_freeze() local
4612 struct nvme_ns *ns; nvme_start_freeze() local
4662 struct nvme_ns *ns; nvme_sync_io_queues() local
[all...]
/openbmc/linux/security/keys/
H A Dpersistent.c20 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 Dpolicy.c406 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()
527 struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname, in aa_lookupn_profile()
546 struct aa_profile *aa_lookup_profile(struct aa_ns *ns, const char *hname) in aa_lookup_profile()
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()
[all …]
/openbmc/linux/drivers/clk/qcom/
H A Dclk-rcg.c18 static u32 ns_to_src(struct src_sel *s, u32 ns) in ns_to_src()
25 static u32 src_to_ns(struct src_sel *s, u8 src, u32 ns) in src_to_ns()
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
113 static u32 ns_to_pre_div(struct pre_div *p, u32 ns) in ns_to_pre_div()
120 static u32 pre_div_to_ns(struct pre_div *p, u8 pre_div, u32 ns) in pre_div_to_ns()
149 static u32 ns_m_to_n(struct mn *mn, u32 ns, u32 m) in ns_m_to_n()
163 static u32 mn_to_ns(struct mn *mn, u32 m, u32 n, u32 ns) in mn_to_ns()
200 u32 ns, md, reg; in configure_bank() local
[all …]
/openbmc/linux/security/selinux/
H A Dnetif.c52 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 Dpid.c110 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 Dacct.c110 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 Ducount.c21 #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 Dnmi.c38 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 Dptp_vclock.c76 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 Ddrbd_state.c26 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
715 static void print_st(struct drbd_device *device, const char *name, union drbd_state ns) in print_st()
734 union drbd_state ns, enum drbd_state_rv err) in print_st_err()
743 static long print_state_change(char *pb, union drbd_state os, union drbd_state ns, in print_state_change()
774 …tic void drbd_pr_state_change(struct drbd_device *device, union drbd_state os, union drbd_state ns, in drbd_pr_state_change()
[all …]
/openbmc/linux/drivers/nvme/target/
H A Dio-cmd-bdev.c51 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 Dcore.c444 struct nvmet_ns *ns = container_of(ref, struct nvmet_ns, ref); in nvmet_destroy_namespace() local
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()
460 static int nvmet_p2pmem_ns_enable(struct nvmet_ns *ns) in nvmet_p2pmem_ns_enable()
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
[all …]
/openbmc/u-boot/arch/m68k/include/asm/
H A Dio.h46 #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 …]

12345678910>>...24