/linux/fs/smb/server/mgmt/ |
H A D | share_config.c | 36 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 …]
|
H A D | share_config.h | 40 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 …]
|
/linux/fs/lockd/ |
H A D | svcshare.c | 18 #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 …]
|
/linux/fs/smb/server/ |
H A D | misc.c | 155 * 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() 264 * ksmbd_extract_sharename() - get share name from tree connect request 266 * @treename: buffer containing tree name and share name 268 * Return: share name on success, otherwise error 283 * @share: ksmbd_share_config pointer 284 * @name: file name that is relative to share [all …]
|
H A D | ksmbd_netlink.h | 16 * and share configuration info from userspace. 36 * This event is to get net share configuration info. 162 * IPC request to fetch net share config. 166 __s8 share_name[KSMBD_REQ_MAX_SHARE_NAME]; /* share name */ 171 * IPC response to the net share config request. 213 __s8 share[KSMBD_REQ_MAX_SHARE_NAME]; member 358 * Share config flags.
|
/linux/tools/perf/tests/ |
H A D | bp_account.c | 82 static int bp_accounting(int wp_cnt, int share) in bp_accounting() argument 103 if (!share) { in bp_accounting() 195 * - detects if watchpoints and breakpoints share 199 * - in case wp and bp do not share slots, 208 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting() local 215 pr_debug("watchpoints count %d, breakpoints count %d, has_ioctl %d, share %d\n", in test__bp_accounting() 216 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting() 221 return bp_accounting(wp_cnt, share); in test__bp_accounting()
|
/linux/Documentation/misc-devices/ |
H A D | uacce.rst | 9 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/arch/arm64/kvm/hyp/nvhe/ |
H A D | mem_protect.c | 830 static int check_share(struct pkvm_mem_share *share) in check_share() argument 832 const struct pkvm_mem_transition *tx = &share->tx; in check_share() 849 ret = hyp_ack_share(completer_addr, tx, share->completer_prot); in check_share() 865 static int __do_share(struct pkvm_mem_share *share) in __do_share() argument 867 const struct pkvm_mem_transition *tx = &share->tx; in __do_share() 884 ret = hyp_complete_share(completer_addr, tx, share->completer_prot); in __do_share() 909 static int do_share(struct pkvm_mem_share *share) in do_share() argument 913 ret = check_share(share); in do_share() 917 return WARN_ON(__do_share(share)); in do_share() 920 static int check_unshare(struct pkvm_mem_share *share) in check_unshare() argument [all …]
|
/linux/fs/smb/client/ |
H A D | dfs.c | 324 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 …]
|
/linux/include/linux/sched/ |
H A D | sd_flags.h | 16 * 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 cluster (LLC tags or L2 cache) 120 * Domain members share CPU Last Level Caches 122 * SHARED_CHILD: Set from the base domain up until spanned CPUs no longer share
|
/linux/Documentation/filesystems/smb/ |
H A D | cifsroot.rst | 57 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 D | ksmbd.rst | 57 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)
|
/linux/net/ipv6/ |
H A D | ip6_flowlabel.c | 99 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 …]
|
/linux/include/linux/lockd/ |
H A D | share.h | 3 * linux/include/linux/lockd/share.h 5 * DOS share management for lockd. 14 * DOS share for a specific file
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | core-scheduling.rst | 7 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 D | gus_mem.c | 72 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() 192 pr_err("%s - share: sizes differ\n", __func__); in snd_gf1_mem_alloc() 195 nblock->share++; in snd_gf1_mem_alloc() 300 if (block->share || in snd_gf1_mem_info_read() 303 snd_iprintf(buffer, " Share : %i [id0 0x%x] [id1 0x%x] [id2 0x%x] [id3 0x%x]\n", in snd_gf1_mem_info_read() 304 block->share, in snd_gf1_mem_info_read()
|
/linux/Documentation/arch/mips/ |
H A D | ingenic-tcu.rst | 41 - 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 D | i2c.c | 97 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 D | CC-BY-4.0 | 32 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 D | fjes_hw.c | 98 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() 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() 740 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 D | bfq-iosched.rst | 5 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/Documentation/admin-guide/cifs/ |
H A D | usage.rst | 97 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):: 392 mount the network share read-write (note that the 393 server may still consider the share read-only) 395 mount network share read-only 470 single share (since inode numbers on the servers might not 494 reloaded (or the user remounts the share). [all …]
|
/linux/scripts/ |
H A D | sphinx-pre-install | 360 check_missing_file(["/usr/share/texlive/texmf-dist/tex/latex/ctex/ctexhook.sty"], 363 check_missing_file(["/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"], 366 check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc", 367 "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc", 368 "/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc"], 440 check_missing_file(["/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc", 441 "/usr/share/fonts/google-noto-sans-cjk-fonts/NotoSansCJK-Regular.ttc"], 543 check_missing_file(["/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc", 544 "/usr/share/fonts/TTF/NotoSans-Regular.ttf"], 576 check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc"], [all …]
|
/linux/drivers/parisc/ |
H A D | pdc_stable.c | 512 * @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 …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | mediatek,mt8188-afe.yaml | 100 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
|