Home
last modified time | relevance | path

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

12345678910>>...50

/linux/fs/smb/server/mgmt/
H A Dshare_config.c56 struct ksmbd_share_config *share; in proc_show_shares() local
60 hash_for_each(shares_table, i, share, hlist) { in proc_show_shares()
61 seq_printf(m, "name:\t%s\n", share->name); in proc_show_shares()
63 test_share_config_flag(share, KSMBD_SHARE_FLAG_PIPE) ? in proc_show_shares()
66 atomic_read(&share->tree_connections)); in proc_show_shares()
67 seq_printf(m, "file_mask:\t0%07o\n", share->create_mask); in proc_show_shares()
68 seq_printf(m, "directory_mask:\t0%07o\n", share->directory_mask); in proc_show_shares()
72 share->flags); in proc_show_shares()
94 static void kill_share(struct ksmbd_share_config *share) in kill_share() argument
96 while (!list_empty(&share->veto_list)) { in kill_share()
[all …]
/linux/fs/lockd/
H A Dsvcshare.c19 #include "share.h"
22 nlm_cmp_owner(struct lockd_share *share, struct xdr_netobj *oh) in nlm_cmp_owner() argument
24 return share->s_owner.len == oh->len in nlm_cmp_owner()
25 && !memcmp(share->s_owner.data, oh->data, oh->len); in nlm_cmp_owner()
32 static void nlm_recompute_share(struct lockd_share *share) in nlm_recompute_share() argument
38 if (share->s_access_deny_bmap & BIT(i)) { in nlm_recompute_share()
43 share->s_access = new_access; in nlm_recompute_share()
44 share->s_mode = new_mode; in nlm_recompute_share()
48 * nlmsvc_share_file - create a share
51 * @oh: Share owner handle
[all …]
H A Dshare.h3 * DOS share management for lockd.
13 /* Synthetic svid for lockowner lookup during share operations */
20 * DOS share for a specific file
H A Dsvcproc.c24 #include "share.h"
988 * nlmsvc_proc_share - SHARE: Open a file using DOS file-sharing modes
999 * %LCK_GRANTED: The requested share lock was granted.
1017 .fh = argp->xdrgen.share.fh, in nlmsvc_proc_share()
1018 .oh = argp->xdrgen.share.oh, in nlmsvc_proc_share()
1029 host = nlm3svc_lookup_host(rqstp, argp->xdrgen.share.caller_name, false); in nlmsvc_proc_share()
1039 argp->xdrgen.share.access, in nlmsvc_proc_share()
1040 argp->xdrgen.share.mode); in nlmsvc_proc_share()
1053 * nlmsvc_proc_unshare - UNSHARE: Release a share reservation
1064 * %LCK_GRANTED: The share reservation was released.
[all …]
H A Dsvc4proc.c25 #include "share.h"
959 * nlm4svc_proc_share - SHARE: Open a file using DOS file-sharing modes
970 * %NLM4_GRANTED: The requested share lock was granted.
993 .fh = argp->xdrgen.share.fh, in nlm4svc_proc_share()
994 .oh = argp->xdrgen.share.oh, in nlm4svc_proc_share()
1005 host = nlm4svc_lookup_host(rqstp, argp->xdrgen.share.caller_name, true); in nlm4svc_proc_share()
1015 argp->xdrgen.share.access, in nlm4svc_proc_share()
1016 argp->xdrgen.share.mode); in nlm4svc_proc_share()
1029 * nlm4svc_proc_unshare - UNSHARE: Release a share reservation
1040 * %NLM4_GRANTED: The share reservation was released.
[all …]
/linux/tools/perf/tests/
H A Dbp_account.c82 static int bp_accounting(int wp_cnt, int share) in bp_accounting() argument
103 if (!share) { in bp_accounting()
196 * - detects if watchpoints and breakpoints share
200 * - in case wp and bp do not share slots,
209 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting() local
216 pr_debug("watchpoints count %d, breakpoints count %d, has_ioctl %d, share %d\n", in test__bp_accounting()
217 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting()
222 return bp_accounting(wp_cnt, share); in test__bp_accounting()
/linux/Documentation/misc-devices/
H A Duacce.rst12 This differs from the data sharing between cpu and io device, which share
15 share the same virtual address in the communication.
17 IOMMU share the same CPU page tables and as a result the same translation
100 hardware by ioctl (as control path) or share memory (as data path).
112 * @UACCE_QFRT_DUS: device user share region
126 The device user share region is used for share data buffer between user process
/linux/fs/smb/client/
H A Ddfs.c312 static int target_share_matches_server(struct TCP_Server_Info *server, char *share, in target_share_matches_server() argument
320 extract_unc_hostname(share, &dfs_host, &dfs_host_len); in target_share_matches_server()
345 char *share = NULL, *prefix = NULL; in tree_connect_dfs_target() local
352 kfree(share); in tree_connect_dfs_target()
354 share = prefix = NULL; in tree_connect_dfs_target()
356 /* Check if share matches with tcp ses */ in tree_connect_dfs_target()
357 rc = dfs_cache_get_tgt_share(server->leaf_fullpath + 1, tit, &share, &prefix); in tree_connect_dfs_target()
359 cifs_dbg(VFS, "%s: failed to parse target share: %d\n", __func__, rc); in tree_connect_dfs_target()
363 rc = target_share_matches_server(server, share, &target_match); in tree_connect_dfs_target()
372 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share); in tree_connect_dfs_target()
[all …]
H A Dcifs_swn.c153 * in the process of reconnecting to it after a share has been moved or we have been in cifs_swn_send_register_message()
302 const char *host, *share, *delim; in cifs_swn_tcon_matches() local
325 share = unc + 2; in cifs_swn_tcon_matches()
326 delim = strchr(share, '\\'); in cifs_swn_tcon_matches()
329 share = delim + 1; in cifs_swn_tcon_matches()
330 share_len = strlen(share); in cifs_swn_tcon_matches()
333 !strncasecmp(share, share_name, share_len); in cifs_swn_tcon_matches()
337 * One SWN registration id represents one net/share name pair. Multiple
338 * mounted tcons can therefore share the id. Pick a live representative at
373 * Try to find a matching registration for the tcon's server name and share name.
[all …]
/linux/Documentation/filesystems/smb/
H A 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::
H A Dksmbd.rst57 requests (dcerpc and share/user info). It handles RPC calls (at a minimum few
113 support are Leases, Notify, ACLs and Share modes.
134 2. Create /usr/local/etc/ksmbd/ksmbd.conf file, add SMB share in ksmbd.conf file.
141 3. Create user/password for SMB share.
146 $ sudo ksmbd.adduser -a <Enter USERNAME for SMB share access>
161 6. Access share from Windows or Linux using SMB3 client (cifs.ko or smbclient of samba)
H A Dsmbdirect.rst83 - On the client, mount the share with `rdma` mount option to use SMB Direct
90 mount -t cifs //server/share /mnt/point -o vers=3.1.1,rdma
99 Or, verify `rdma` mount option for the share in `/proc/mounts`:
/linux/fs/smb/server/
H A Dmisc.c163 * whose share directory prefix was removed from file path
164 * @share: ksmbd_share_config pointer
170 char *convert_to_nt_pathname(struct ksmbd_share_config *share, in convert_to_nt_pathname() argument
174 int share_path_len = share->path_sz; in convert_to_nt_pathname()
188 if (strncmp(ab_pathname, share->path, share_path_len)) { in convert_to_nt_pathname()
277 * ksmbd_extract_sharename() - get share name from tree connect request
279 * @treename: buffer containing tree name and share name
281 * Return: share name on success, otherwise error
/linux/net/ipv6/
H A 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()
426 fl->share = freq->flr_share; in fl_create()
435 switch (fl->share) { in fl_create()
546 freq->flr_share = sfl->fl->share; in ipv6_flowlabel_opt_get()
686 if (fl1->share == IPV6_FL_S_EXCL || in ipv6_flowlabel_get()
687 fl1->share != fl->share || in ipv6_flowlabel_get()
688 ((fl1->share == IPV6_FL_S_PROCESS) && in ipv6_flowlabel_get()
[all …]
/linux/Documentation/admin-guide/hw-vuln/
H A 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.
/linux/sound/isa/gus/
H A Dgus_mem.c62 if (block->share) { /* ok.. shared block */ in snd_gf1_mem_xfree()
63 block->share--; in snd_gf1_mem_xfree()
131 block->share = 0; in snd_gf1_mem_find()
181 pr_err("%s - share: sizes differ\n", __func__); in snd_gf1_mem_alloc()
184 nblock->share++; in snd_gf1_mem_alloc()
280 if (block->share || in snd_gf1_mem_info_read()
283 snd_iprintf(buffer, " Share : %i [id0 0x%x] [id1 0x%x] [id2 0x%x] [id3 0x%x]\n", in snd_gf1_mem_info_read()
284 block->share, in snd_gf1_mem_info_read()
/linux/Documentation/arch/mips/
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A 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/LICENSES/dual/
H A DCC-BY-4.032 conditions that creators and other rights holders may use to share
129 i. Share means to provide material to the public by any means or
156 a. reproduce and Share the Licensed Material, in whole or
159 b. produce, reproduce, and Share Adapted Material.
231 1. If You Share the Licensed Material (including in modified
262 which You Share the Licensed Material. For example, it may be
271 4. If You Share Adapted Material You produce, the Adapter's
282 to extract, reuse, reproduce, and Share all or a substantial
290 c. You must comply with the conditions in Section 3(a) if You Share
/linux/drivers/net/fjes/
H A 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()
194 /* Share status address */ in fjes_hw_init_command_registers()
274 param.share_start = __pa(hw->hw_info.share->ep_status); in fjes_hw_setup()
616 struct fjes_device_shared_info *share = hw->hw_info.share; in fjes_hw_unregister_buff_addr() local
624 if (!req_buf || !res_buf || !share) in fjes_hw_unregister_buff_addr()
745 int fjes_hw_epid_is_shared(struct fjes_device_shared_info *share, in fjes_hw_epid_is_shared() argument
[all …]
/linux/Documentation/block/
H A Dbfq-iosched.rst5 BFQ is a proportional-share I/O scheduler, with some extra
158 BFQ is a proportional-share I/O scheduler, whose general structure,
214 applications more than their fair share of the device
254 - First, with any proportional-share scheduler, the maximum
400 receives its allotted share of the bandwidth. The first condition is
452 increases the bandwidth share of privileged applications, as the main
500 share. To activate cgroups support, set BFQ_GROUP_IOSCHED.
505 With BFQ, proportional share means true proportional share of the
512 group, the children of the group share the whole bandwidth of the
515 same share of the whole group bandwidth, unless the ioprio of the
[all …]
/linux/scripts/package/
H A Dbuilddeb10 # /usr/share/kernel. A different list of search directories can be given
45 mkdir -p "${pdir}/usr/bin" "${pdir}/usr/share/doc/${pname}"
47 cp ${KCONFIG_CONFIG} "${pdir}/usr/share/doc/${pname}/config"
48 gzip "${pdir}/usr/share/doc/${pname}/config"
79 debhookdir=${KDEB_HOOKDIR:-/etc/kernel /usr/share/kernel}
/linux/Documentation/admin-guide/cifs/
H A Dusage.rst97 2) an entry for the share in /etc/fstab indicating that a user may
132 to the file /etc/fstab for each //server/share you wish to mount, but
188 outside of the share, so in Samba versions prior to 3.0.6, most symlinks to
195 files that are outside of the share) to a samba specific format on the server
232 syntax) instead of the more widely used UNC format (i.e. \\server\share)::
394 mount the network share read-write (note that the
395 server may still consider the share read-only)
397 mount network share read-only
472 single share (since inode numbers on the servers might not
496 reloaded (or the user remounts the share).
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dmediatek,mt8188-afe.yaml100 etdm modules can share the same external clock pin. Specify
110 etdm modules can share the same external clock pin. Specify
120 etdm modules can share the same external clock pin. Specify
130 etdm modules can share the same external clock pin. Specify
/linux/drivers/parisc/
H A Dpdc_stable.c512 * @kobj: The kobject used to share data with userspace.
533 * @kobj: The kobject used to share data with userspace.
561 * @kobj: The kobject used to share data with userspace.
573 * @kobj: The kobject used to share data with userspace.
585 * @kobj: The kobject used to share data with userspace.
614 * @kobj: The kobject used to share data with userspace.
634 * @kobj: The kobject used to share data with userspace.
662 * @kobj: The kobject used to share data with userspace.
688 * @kobj: The kobject used to share data with userspace.
718 * @kobj: The kobject used to share data with userspace.
[all …]

12345678910>>...50