Home
last modified time | relevance | path

Searched refs:params (Results 1 – 5 of 5) sorted by relevance

/fs/afs/
Dsuper.c143 static int afs_parse_options(struct afs_mount_params *params, in afs_parse_options() argument
167 afs_put_cell(params->cell); in afs_parse_options()
168 params->cell = cell; in afs_parse_options()
172 params->rwpath = 1; in afs_parse_options()
180 params->autocell = 1; in afs_parse_options()
206 static int afs_parse_device_name(struct afs_mount_params *params, in afs_parse_device_name() argument
226 params->type = AFSVL_ROVOL; in afs_parse_device_name()
227 params->force = false; in afs_parse_device_name()
228 if (params->rwpath || name[0] == '%') { in afs_parse_device_name()
229 params->type = AFSVL_RWVOL; in afs_parse_device_name()
[all …]
Dvolume.c45 struct afs_volume *afs_volume_lookup(struct afs_mount_params *params) in afs_volume_lookup() argument
54 params->volnamesz, params->volnamesz, params->volname, params->rwpath); in afs_volume_lookup()
57 vlocation = afs_vlocation_lookup(params->cell, params->key, in afs_volume_lookup()
58 params->volname, params->volnamesz); in afs_volume_lookup()
67 if (params->force && !(vlocation->vldb.vidmask & (1 << params->type))) in afs_volume_lookup()
74 if (params->force) { in afs_volume_lookup()
75 if (!(srvtmask & (1 << params->type))) in afs_volume_lookup()
78 params->type = AFSVL_ROVOL; in afs_volume_lookup()
80 params->type = AFSVL_RWVOL; in afs_volume_lookup()
85 down_write(&params->cell->vl_sem); in afs_volume_lookup()
[all …]
/fs/dlm/
Duser.c237 struct dlm_lock_params *params) in device_user_lock() argument
247 if (!params->castaddr || !params->lksb) { in device_user_lock()
256 ua->user_lksb = params->lksb; in device_user_lock()
257 ua->castparam = params->castparam; in device_user_lock()
258 ua->castaddr = params->castaddr; in device_user_lock()
259 ua->bastparam = params->bastparam; in device_user_lock()
260 ua->bastaddr = params->bastaddr; in device_user_lock()
261 ua->xid = params->xid; in device_user_lock()
263 if (params->flags & DLM_LKF_CONVERT) in device_user_lock()
265 params->mode, params->flags, in device_user_lock()
[all …]
/fs/
Dbinfmt_elf_fdpic.c123 static int elf_fdpic_fetch_phdrs(struct elf_fdpic_params *params, in elf_fdpic_fetch_phdrs() argument
130 if (params->hdr.e_phentsize != sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs()
132 if (params->hdr.e_phnum > 65536U / sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs()
135 size = params->hdr.e_phnum * sizeof(struct elf_phdr); in elf_fdpic_fetch_phdrs()
136 params->phdrs = kmalloc(size, GFP_KERNEL); in elf_fdpic_fetch_phdrs()
137 if (!params->phdrs) in elf_fdpic_fetch_phdrs()
140 retval = kernel_read(file, params->hdr.e_phoff, in elf_fdpic_fetch_phdrs()
141 (char *) params->phdrs, size); in elf_fdpic_fetch_phdrs()
146 phdr = params->phdrs; in elf_fdpic_fetch_phdrs()
147 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_fetch_phdrs()
[all …]
/fs/cifs/
Dcifssmb.c810 __u16 params, param_offset, offset, byte_count; in CIFSPOSIXDelFile() local
831 params = 6 + name_len; in CIFSPOSIXDelFile()
841 offset = param_offset + params; in CIFSPOSIXDelFile()
851 byte_count = 3 /* pad */ + params + sizeof(struct unlink_psx_rq); in CIFSPOSIXDelFile()
855 pSMB->ParameterCount = cpu_to_le16(params); in CIFSPOSIXDelFile()
1023 __u16 params, param_offset, offset, byte_count, count; in CIFSPOSIXCreate() local
1046 params = 6 + name_len; in CIFSPOSIXCreate()
1057 offset = param_offset + params; in CIFSPOSIXCreate()
1068 byte_count = 3 /* pad */ + params + count; in CIFSPOSIXCreate()
1071 pSMB->ParameterCount = cpu_to_le16(params); in CIFSPOSIXCreate()
[all …]