Home
last modified time | relevance | path

Searched refs:share (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/Linux-v6.1/fs/ksmbd/mgmt/
Dshare_config.c35 static void kill_share(struct ksmbd_share_config *share) in kill_share() argument
37 while (!list_empty(&share->veto_list)) { in kill_share()
40 p = list_entry(share->veto_list.next, in kill_share()
48 if (share->path) in kill_share()
49 path_put(&share->vfs_path); in kill_share()
50 kfree(share->name); in kill_share()
51 kfree(share->path); in kill_share()
52 kfree(share); in kill_share()
55 void ksmbd_share_config_del(struct ksmbd_share_config *share) in ksmbd_share_config_del() argument
58 hash_del(&share->hlist); in ksmbd_share_config_del()
[all …]
Dshare_config.h37 static inline int share_config_create_mode(struct ksmbd_share_config *share, in share_config_create_mode() argument
40 if (!share->force_create_mode) { in share_config_create_mode()
42 return share->create_mask; in share_config_create_mode()
44 return posix_mode & share->create_mask; in share_config_create_mode()
46 return share->force_create_mode & share->create_mask; in share_config_create_mode()
49 static inline int share_config_directory_mode(struct ksmbd_share_config *share, in share_config_directory_mode() argument
52 if (!share->force_directory_mode) { in share_config_directory_mode()
54 return share->directory_mask; in share_config_directory_mode()
56 return posix_mode & share->directory_mask; in share_config_directory_mode()
59 return share->force_directory_mode & share->directory_mask; in share_config_directory_mode()
[all …]
/Linux-v6.1/fs/lockd/
Dsvcshare.c21 nlm_cmp_owner(struct nlm_share *share, struct xdr_netobj *oh) in nlm_cmp_owner() argument
23 return share->s_owner.len == oh->len in nlm_cmp_owner()
24 && !memcmp(share->s_owner.data, oh->data, oh->len); in nlm_cmp_owner()
31 struct nlm_share *share; in nlmsvc_share_file() local
35 for (share = file->f_shares; share; share = share->s_next) { in nlmsvc_share_file()
36 if (share->s_host == host && nlm_cmp_owner(share, oh)) in nlmsvc_share_file()
38 if ((argp->fsm_access & share->s_mode) in nlmsvc_share_file()
39 || (argp->fsm_mode & share->s_access )) in nlmsvc_share_file()
43 share = kmalloc(sizeof(*share) + oh->len, in nlmsvc_share_file()
45 if (share == NULL) in nlmsvc_share_file()
[all …]
/Linux-v6.1/arch/arm64/kvm/hyp/nvhe/
Dmem_protect.c583 static int check_share(struct pkvm_mem_share *share) in check_share() argument
585 const struct pkvm_mem_transition *tx = &share->tx; in check_share()
602 ret = hyp_ack_share(completer_addr, tx, share->completer_prot); in check_share()
611 static int __do_share(struct pkvm_mem_share *share) in __do_share() argument
613 const struct pkvm_mem_transition *tx = &share->tx; in __do_share()
630 ret = hyp_complete_share(completer_addr, tx, share->completer_prot); in __do_share()
648 static int do_share(struct pkvm_mem_share *share) in do_share() argument
652 ret = check_share(share); in do_share()
656 return WARN_ON(__do_share(share)); in do_share()
659 static int check_unshare(struct pkvm_mem_share *share) in check_unshare() argument
[all …]
/Linux-v6.1/tools/perf/tests/
Dbp_account.c81 static int bp_accounting(int wp_cnt, int share) in bp_accounting() argument
101 if (!share) { in bp_accounting()
206 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting() local
214 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting()
219 return bp_accounting(wp_cnt, share); in test__bp_accounting()
/Linux-v6.1/tools/power/pm-graph/
DMakefile29 install -d $(DESTDIR)$(PREFIX)/share/man/man8
30 install bootgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8
31 install sleepgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8
34 rm -f $(DESTDIR)$(PREFIX)/share/man/man8/bootgraph.8
35 rm -f $(DESTDIR)$(PREFIX)/share/man/man8/sleepgraph.8
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Di2c.c97 info->share = DCB_I2C_UNUSED; in dcb_i2c_parse()
111 info->share = nvbios_rd08(bios, ent + 1) >> 1; in dcb_i2c_parse()
116 info->share = info->auxch; in dcb_i2c_parse()
125 info->share = info->auxch; in dcb_i2c_parse()
159 info->share = DCB_I2C_UNUSED; in dcb_i2c_parse()
/Linux-v6.1/net/ipv6/
Dip6_flowlabel.c99 return fl->share == IPV6_FL_S_EXCL || in fl_shared_exclusive()
100 fl->share == IPV6_FL_S_PROCESS || in fl_shared_exclusive()
101 fl->share == IPV6_FL_S_USER; in fl_shared_exclusive()
108 if (fl->share == IPV6_FL_S_PROCESS) in fl_free_rcu()
136 if (fl->opt && fl->share == IPV6_FL_S_EXCL) { in fl_release()
430 fl->share = freq->flr_share; in fl_create()
439 switch (fl->share) { in fl_create()
525 freq->flr_share = sfl->fl->share; in ipv6_flowlabel_opt_get()
667 if (fl1->share == IPV6_FL_S_EXCL || in ipv6_flowlabel_get()
668 fl1->share != fl->share || in ipv6_flowlabel_get()
[all …]
/Linux-v6.1/fs/ksmbd/
Dmisc.c162 char *convert_to_nt_pathname(struct ksmbd_share_config *share, in convert_to_nt_pathname() argument
166 int share_path_len = share->path_sz; in convert_to_nt_pathname()
178 if (strncmp(ab_pathname, share->path, share_path_len)) { in convert_to_nt_pathname()
286 char *convert_to_unix_name(struct ksmbd_share_config *share, const char *name) in convert_to_unix_name() argument
294 path_len = share->path_sz; in convert_to_unix_name()
300 memcpy(new_name, share->path, path_len); in convert_to_unix_name()
Dmisc.h17 char *convert_to_nt_pathname(struct ksmbd_share_config *share,
25 char *convert_to_unix_name(struct ksmbd_share_config *share, const char *name);
Dsmb_common.c613 struct ksmbd_share_config *share = work->tcon->share_conf; in ksmbd_override_fsids() local
621 if (share->force_uid != KSMBD_SHARE_INVALID_UID) in ksmbd_override_fsids()
622 uid = share->force_uid; in ksmbd_override_fsids()
623 if (share->force_gid != KSMBD_SHARE_INVALID_GID) in ksmbd_override_fsids()
624 gid = share->force_gid; in ksmbd_override_fsids()
/Linux-v6.1/Documentation/misc-devices/
Duacce.rst9 This differs from the data sharing between cpu and io device, which share
12 share the same virtual address in the communication.
14 IOMMU share the same CPU page tables and as a result the same translation
97 hardware by ioctl (as control path) or share memory (as data path).
109 * @UACCE_QFRT_DUS: device user share region
123 The device user share region is used for share data buffer between user process
/Linux-v6.1/Documentation/filesystems/cifs/
Dcifsroot.rst57 cifsroot=//<server-ip>/<share>[,options]
60 located in the <server-ip> and <share> specified in this option.
67 share
68 Path to SMB share (rootfs).
76 Export root file system as a Samba share in smb.conf file::
Dksmbd.rst57 requests (dcerpc and share/user info). It handles RPC calls (at a minimum few
131 2. Create /usr/local/etc/ksmbd/ksmbd.conf file, add SMB share in ksmbd.conf file.
138 3. Create user/password for SMB share.
143 $ sudo ksmbd.adduser -a <Enter USERNAME for SMB share access>
158 6. Access share from Windows or Linux using SMB3 client (cifs.ko or smbclient of samba)
/Linux-v6.1/tools/lib/traceevent/Documentation/
DMakefile25 htmldir?=$(prefix)/share/doc/libtraceevent-doc
26 pdfdir?=$(prefix)/share/doc/libtraceevent-doc
27 mandir?=$(prefix)/share/man
/Linux-v6.1/tools/power/x86/x86_energy_perf_policy/
DMakefile27 install -d $(DESTDIR)$(PREFIX)/share/man/man8
28 install -m 644 x86_energy_perf_policy.8 $(DESTDIR)$(PREFIX)/share/man/man8
/Linux-v6.1/tools/verification/dot2/
DMakefile5 mandir ?= $(prefix)/share/man
6 miscdir ?= $(prefix)/share/dot2
/Linux-v6.1/sound/isa/gus/
Dgus_mem.c72 if (block->share) { /* ok.. shared block */ in snd_gf1_mem_xfree()
73 block->share--; in snd_gf1_mem_xfree()
142 block->share = 0; in snd_gf1_mem_find()
195 nblock->share++; in snd_gf1_mem_alloc()
300 if (block->share || in snd_gf1_mem_info_read()
304 block->share, in snd_gf1_mem_info_read()
/Linux-v6.1/tools/power/x86/turbostat/
DMakefile29 install -d $(DESTDIR)$(PREFIX)/share/man/man8
30 install -m 644 turbostat.8 $(DESTDIR)$(PREFIX)/share/man/man8
/Linux-v6.1/tools/power/cpupower/
DMakefile71 localedir ?= /usr/share/locale
72 docdir ?= /usr/share/doc/packages/cpupower
74 bash_completion_dir ?= /usr/share/bash-completion/completions
/Linux-v6.1/Documentation/mips/
Dingenic-tcu.rst41 - Each channel can generate an interrupt. Some channels share an interrupt
45 own interrupt line; channels 2-7 share the last interrupt line.
46 - On JZ4725B, channel 0 has its own interrupt; channels 1-5 share one
49 channels 0-4 and (if eight channels) 6-7 all share one interrupt line;
/Linux-v6.1/drivers/net/fjes/
Dfjes_hw.c98 hw->hw_info.share = kzalloc(size, GFP_KERNEL); in fjes_hw_alloc_shared_status_region()
99 if (!hw->hw_info.share) in fjes_hw_alloc_shared_status_region()
102 hw->hw_info.share->epnum = hw->max_epid; in fjes_hw_alloc_shared_status_region()
109 kfree(hw->hw_info.share); in fjes_hw_free_shared_status_region()
110 hw->hw_info.share = NULL; in fjes_hw_free_shared_status_region()
271 param.share_start = __pa(hw->hw_info.share->ep_status); in fjes_hw_setup()
588 struct fjes_device_shared_info *share = hw->hw_info.share; in fjes_hw_unregister_buff_addr() local
596 if (!req_buf || !res_buf || !share) in fjes_hw_unregister_buff_addr()
717 int fjes_hw_epid_is_shared(struct fjes_device_shared_info *share, in fjes_hw_epid_is_shared() argument
722 if (dest_epid < share->epnum) in fjes_hw_epid_is_shared()
[all …]
/Linux-v6.1/tools/lib/perf/Documentation/
DMakefile29 mandir ?= $(prefix)/share/man
33 docdir ?= $(prefix)/share/doc/libperf
/Linux-v6.1/tools/perf/Documentation/
DMakefile40 htmldir?=$(prefix)/share/doc/perf-doc
41 pdfdir?=$(prefix)/share/doc/perf-doc
42 mandir?=$(prefix)/share/man
65 infodir?=$(prefix)/share/info
/Linux-v6.1/Documentation/admin-guide/hw-vuln/
Dcore-scheduling.rst7 share a core. These groups can be specified either for security usecases (one
11 do share hardware resource needs). This document only describes the security
21 user-designated trusted group can share a core. This increase in core sharing
79 The simplest way to build hierarchies of threads/processes which share a
89 specified task or a share a cookie with a task. In combination this allows a
91 scheduling group and share it with already running tasks.
97 each other and share a core.
207 allowing system processes (trusted tasks) to share a core.

12345678910>>...13