Home
last modified time | relevance | path

Searched full:share (Results 1 – 25 of 2544) sorted by relevance

12345678910>>...102

/kernel/linux/linux-6.6/fs/smb/server/mgmt/
Dshare_config.c36 static void kill_share(struct ksmbd_share_config *share) in kill_share() argument
38 while (!list_empty(&share->veto_list)) { in kill_share()
41 p = list_entry(share->veto_list.next, in kill_share()
49 if (share->path) in kill_share()
50 path_put(&share->vfs_path); in kill_share()
51 kfree(share->name); in kill_share()
52 kfree(share->path); in kill_share()
53 kfree(share); in kill_share()
56 void ksmbd_share_config_del(struct ksmbd_share_config *share) in ksmbd_share_config_del() argument
59 hash_del(&share->hlist); in ksmbd_share_config_del()
[all …]
Dshare_config.h40 share_config_create_mode(struct ksmbd_share_config *share, in share_config_create_mode() argument
43 umode_t mode = (posix_mode ?: (umode_t)-1) & share->create_mask; in share_config_create_mode()
45 return mode | share->force_create_mode; in share_config_create_mode()
49 share_config_directory_mode(struct ksmbd_share_config *share, in share_config_directory_mode() argument
52 umode_t mode = (posix_mode ?: (umode_t)-1) & share->directory_mask; in share_config_directory_mode()
54 return mode | share->force_directory_mode; in share_config_directory_mode()
57 static inline int test_share_config_flag(struct ksmbd_share_config *share, in test_share_config_flag() argument
60 return share->flags & flag; in test_share_config_flag()
63 void ksmbd_share_config_del(struct ksmbd_share_config *share);
64 void __ksmbd_share_config_put(struct ksmbd_share_config *share);
[all …]
/kernel/linux/linux-6.6/fs/lockd/
Dsvcshare.c18 #include <linux/lockd/share.h>
21 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()
[all …]
/kernel/linux/linux-5.10/fs/lockd/
Dsvcshare.c18 #include <linux/lockd/share.h>
21 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()
[all …]
/kernel/linux/linux-6.6/fs/smb/server/
Dmisc.c155 * whose share directory prefix was removed from file path
156 * @share: ksmbd_share_config pointer
162 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()
263 * ksmbd_extract_sharename() - get share name from tree connect request
265 * @treename: buffer containing tree name and share name
267 * Return: share name on success, otherwise error
282 * @share: ksmbd_share_config pointer
283 * @name: file name that is relative to share
[all …]
/kernel/linux/linux-6.6/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()
193 * - detects if watchpoints and breakpoints share
197 * - in case wp and bp do not share slots,
206 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting() local
213 pr_debug("watchpoints count %d, breakpoints count %d, has_ioctl %d, share %d\n", in test__bp_accounting()
214 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting()
219 return bp_accounting(wp_cnt, share); in test__bp_accounting()
/kernel/linux/linux-5.10/tools/perf/tests/
Dbp_account.c68 static int bp_accounting(int wp_cnt, int share) in bp_accounting() argument
88 if (!share) { in bp_accounting()
168 * - detects if watchpoints and breakpoints share
172 * - in case wp and bp do not share slots,
181 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting() local
183 pr_debug("watchpoints count %d, breakpoints count %d, has_ioctl %d, share %d\n", in test__bp_accounting()
184 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting()
189 return bp_accounting(wp_cnt, share); in test__bp_accounting()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/fs/smb/client/
Ddfs.c324 static int target_share_matches_server(struct TCP_Server_Info *server, char *share, in target_share_matches_server() argument
332 extract_unc_hostname(share, &dfs_host, &dfs_host_len); in target_share_matches_server()
357 char *share = NULL, *prefix = NULL; in tree_connect_dfs_target() local
364 kfree(share); in tree_connect_dfs_target()
366 share = prefix = NULL; in tree_connect_dfs_target()
368 /* Check if share matches with tcp ses */ in tree_connect_dfs_target()
369 rc = dfs_cache_get_tgt_share(server->leaf_fullpath + 1, tit, &share, &prefix); in tree_connect_dfs_target()
371 cifs_dbg(VFS, "%s: failed to parse target share: %d\n", __func__, rc); in tree_connect_dfs_target()
375 rc = target_share_matches_server(server, share, &target_match); in tree_connect_dfs_target()
384 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share); in tree_connect_dfs_target()
[all …]
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/
Dmem_protect.c824 static int check_share(struct pkvm_mem_share *share) in check_share() argument
826 const struct pkvm_mem_transition *tx = &share->tx; in check_share()
843 ret = hyp_ack_share(completer_addr, tx, share->completer_prot); in check_share()
859 static int __do_share(struct pkvm_mem_share *share) in __do_share() argument
861 const struct pkvm_mem_transition *tx = &share->tx; in __do_share()
878 ret = hyp_complete_share(completer_addr, tx, share->completer_prot); in __do_share()
903 static int do_share(struct pkvm_mem_share *share) in do_share() argument
907 ret = check_share(share); in do_share()
911 return WARN_ON(__do_share(share)); in do_share()
914 static int check_unshare(struct pkvm_mem_share *share) in check_unshare() argument
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/Documentation/filesystems/smb/
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::
/kernel/linux/linux-5.10/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::
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/include/linux/lockd/
Dshare.h3 * linux/include/linux/lockd/share.h
5 * DOS share management for lockd.
14 * DOS share for a specific file
/kernel/linux/linux-5.10/include/linux/lockd/
Dshare.h3 * linux/include/linux/lockd/share.h
5 * DOS share management for lockd.
14 * DOS share for a specific file
/kernel/linux/linux-5.10/include/linux/sched/
Dsd_flags.h16 * domain share the same resource), or because they are tied to a scheduling
94 * Domain members share CPU capacity (i.e. SMT)
96 * SHARED_CHILD: Set from the base domain up until spanned CPUs no longer share
103 * Domain members share CPU package resources (i.e. caches)
105 * SHARED_CHILD: Set from the base domain up until spanned CPUs no longer share
/kernel/linux/linux-6.6/include/linux/sched/
Dsd_flags.h16 * domain share the same resource), or because they are tied to a scheduling
104 * Domain members share CPU capacity (i.e. SMT)
106 * SHARED_CHILD: Set from the base domain up until spanned CPUs no longer share
113 * Domain members share CPU package resources (i.e. caches)
115 * SHARED_CHILD: Set from the base domain up until spanned CPUs no longer share
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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()
433 fl->share = freq->flr_share; in fl_create()
442 switch (fl->share) { in fl_create()
528 freq->flr_share = sfl->fl->share; in ipv6_flowlabel_opt_get()
670 if (fl1->share == IPV6_FL_S_EXCL || in ipv6_flowlabel_get()
671 fl1->share != fl->share || in ipv6_flowlabel_get()
[all …]
/kernel/linux/linux-6.6/scripts/package/
Dbuilddeb32 mkdir -p "$pdir/usr/share/doc/$pname"
33 cp debian/copyright "$pdir/usr/share/doc/$pname/"
34 cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian"
35 gzip -n -9 "$pdir/usr/share/doc/$pname/changelog.Debian"
72 mkdir -p "${pdir}/usr/bin" "${pdir}/usr/share/doc/${pname}"
74 cp ${KCONFIG_CONFIG} "${pdir}/usr/share/doc/${pname}/config"
75 gzip "${pdir}/usr/share/doc/${pname}/config"
/kernel/linux/linux-5.10/scripts/package/
Dbuilddeb32 mkdir -p "$pdir/usr/share/doc/$pname"
33 cp debian/copyright "$pdir/usr/share/doc/$pname/"
34 cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian"
35 gzip -n -9 "$pdir/usr/share/doc/$pname/changelog.Debian"
142 …mkdir -p "$tmpdir/usr/lib/uml/modules/$version" "$tmpdir/usr/bin" "$tmpdir/usr/share/doc/$packagen…
144 cp $KCONFIG_CONFIG "$tmpdir/usr/share/doc/$packagename/config"
145 gzip "$tmpdir/usr/share/doc/$packagename/config"
/kernel/linux/linux-6.6/Documentation/arch/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;
/kernel/linux/linux-5.10/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;

12345678910>>...102