Home
last modified time | relevance | path

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

12345678910>>...17

/linux/fs/smb/server/mgmt/
A Dshare_config.c49 if (share->path) in kill_share()
53 kfree(share); in kill_share()
74 return share; in __get_share_config()
154 if (!share) in share_config_request()
171 share->path_sz = strlen(share->path); in share_config_request()
173 share->path[share->path_sz - 1] == '/') in share_config_request()
174 share->path[--share->path_sz] = '\0'; in share_config_request()
192 ret = kern_path(share->path, 0, &share->vfs_path); in share_config_request()
233 if (share) in ksmbd_share_config_get()
234 share = __get_share_config(share); in ksmbd_share_config_get()
[all …]
A 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
54 return mode | share->force_directory_mode; in share_config_directory_mode()
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);
68 if (!atomic_dec_and_test(&share->refcount)) in ksmbd_share_config_put()
70 __ksmbd_share_config_put(share); in ksmbd_share_config_put()
[all …]
/linux/fs/lockd/
A Dsvcshare.c31 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()
43 share = kmalloc(sizeof(*share) + oh->len, in nlmsvc_share_file()
45 if (share == NULL) in nlmsvc_share_file()
52 share->s_file = file; in nlmsvc_share_file()
77 if (share->s_host == host && nlm_cmp_owner(share, oh)) { in nlmsvc_unshare_file()
78 *shpp = share->s_next; in nlmsvc_unshare_file()
79 kfree(share); in nlmsvc_unshare_file()
102 kfree(share); in nlmsvc_traverse_shares()
[all …]
/linux/arch/arm64/kvm/hyp/nvhe/
A Dmem_protect.c913 ret = check_share(share); in do_share()
917 return WARN_ON(__do_share(share)); in do_share()
997 ret = check_unshare(share); in do_unshare()
1097 struct pkvm_mem_share share = { in __pkvm_host_share_hyp() local
1117 ret = do_share(&share); in __pkvm_host_share_hyp()
1130 struct pkvm_mem_share share = { in __pkvm_host_unshare_hyp() local
1150 ret = do_unshare(&share); in __pkvm_host_unshare_hyp()
1270 struct pkvm_mem_share share = { in __pkvm_host_share_ffa() local
1284 ret = do_share(&share); in __pkvm_host_share_ffa()
1293 struct pkvm_mem_share share = { in __pkvm_host_unshare_ffa() local
[all …]
/linux/tools/perf/tests/
A Dbp_account.c82 static int bp_accounting(int wp_cnt, int share) in bp_accounting() argument
103 if (!share) { in bp_accounting()
208 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting() local
216 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting()
221 return bp_accounting(wp_cnt, share); in test__bp_accounting()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
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/fs/smb/server/
A 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()
287 char *convert_to_unix_name(struct ksmbd_share_config *share, const char *name) in convert_to_unix_name() argument
295 path_len = share->path_sz; in convert_to_unix_name()
301 memcpy(new_name, share->path, path_len); in convert_to_unix_name()
A 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);
/linux/Documentation/misc-devices/
A 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/net/ipv6/
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()
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()
847 fl->share, in ip6fl_seq_show()
[all …]
/linux/Documentation/filesystems/smb/
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::
/linux/fs/smb/client/
A Ddfs.c367 static int target_share_matches_server(struct TCP_Server_Info *server, char *share, in target_share_matches_server() argument
375 extract_unc_hostname(share, &dfs_host, &dfs_host_len); in target_share_matches_server()
447 char *share = NULL, *prefix = NULL; in __tree_connect_dfs_target() local
462 kfree(share); in __tree_connect_dfs_target()
464 share = prefix = NULL; in __tree_connect_dfs_target()
467 rc = dfs_cache_get_tgt_share(server->leaf_fullpath + 1, tit, &share, &prefix); in __tree_connect_dfs_target()
473 rc = target_share_matches_server(server, share, &target_match); in __tree_connect_dfs_target()
484 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share); in __tree_connect_dfs_target()
518 kfree(share); in __tree_connect_dfs_target()
/linux/tools/power/x86/x86_energy_perf_policy/
A DMakefile27 install -d $(DESTDIR)$(PREFIX)/share/man/man8
28 install -m 644 x86_energy_perf_policy.8 $(DESTDIR)$(PREFIX)/share/man/man8
/linux/tools/verification/dot2/
A DMakefile5 mandir ?= $(prefix)/share/man
6 miscdir ?= $(prefix)/share/dot2
/linux/sound/isa/gus/
A 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/tools/power/cpupower/
A DMakefile72 localedir ?= /usr/share/locale
73 docdir ?= /usr/share/doc/packages/cpupower
75 bash_completion_dir ?= /usr/share/bash-completion/completions
/linux/Documentation/arch/mips/
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/net/fjes/
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()
275 param.share_start = __pa(hw->hw_info.share->ep_status); in fjes_hw_setup()
611 struct fjes_device_shared_info *share = hw->hw_info.share; in fjes_hw_unregister_buff_addr() local
619 if (!req_buf || !res_buf || !share) in fjes_hw_unregister_buff_addr()
745 if (dest_epid < share->epnum) in fjes_hw_epid_is_shared()
746 value = share->ep_status[dest_epid]; in fjes_hw_epid_is_shared()
[all …]
/linux/drivers/power/sequencing/
A DKconfig8 This subsystem is designed to control power to devices that share
25 former two share the power-up sequence which is executed by the PMU,
/linux/tools/lib/perf/Documentation/
A DMakefile29 mandir ?= $(prefix)/share/man
33 docdir ?= $(prefix)/share/doc/libperf
/linux/tools/power/x86/turbostat/
A DMakefile33 install -d $(DESTDIR)$(PREFIX)/share/man/man8
34 install -m 644 turbostat.8 $(DESTDIR)$(PREFIX)/share/man/man8
/linux/tools/perf/Documentation/
A 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/Documentation/devicetree/bindings/sound/
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/Documentation/admin-guide/hw-vuln/
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/tools/testing/selftests/net/
A Dipv6_flowlabel_mgr.c48 static int flowlabel_get(int fd, uint32_t label, uint8_t share, uint16_t flags) in flowlabel_get() argument
54 .flr_share = share, in flowlabel_get()

Completed in 825 milliseconds

12345678910>>...17