Home
last modified time | relevance | path

Searched refs:__u16 (Results 1 – 25 of 60) sorted by relevance

123

/fs/cifs/
Dcifspdu.h382 #define GETU16(var) (*((__u16 *)var)) /* BB check for endian issues */
410 __u16 Tid;
412 __u16 Uid;
413 __u16 Mid;
417 #define BCC(smb_var) (*(__u16 *)((char *)smb_var + sizeof(struct smb_hdr) + (2 * smb_var->WordCount…
491 __u16 ByteCount;
513 __u16 ByteCount;
604 __u16 ByteCount;
637 __u16 ByteCount;
705 __u16 ByteCount;
[all …]
Dcifsproto.h62 extern int checkSMB(struct smb_hdr *smb, __u16 mid, unsigned int length);
85 extern __u16 GetNextMid(struct TCP_Server_Info *server);
92 extern __le64 cnvrtDosCifsTm(__u16 date, __u16 time);
93 extern struct timespec cnvrtDosUnixTm(__u16 date, __u16 time);
101 struct super_block *sb, int xid, const __u16 *pfid);
106 const __u16 *pfid);
126 __u16 *searchHandle, struct cifs_search_info *psrch_inf,
130 __u16 searchHandle, struct cifs_search_info *psrch_inf);
133 const __u16 search_handle);
184 const FILE_BASIC_INFO *data, __u16 fid,
[all …]
Dcifsglob.h177 __u16 CurrentMid; /* multiplex id - rotating counter */
214 __u16 ipc_tid; /* special tid for connection to IPC share */
215 __u16 flags;
216 __u16 vcnum;
250 __u16 tid; /* The 2 byte tree id */
251 __u16 Flags; /* optional support bits */
321 __u16 entries_in_buffer;
322 __u16 info_level;
340 __u16 netfid; /* file id from remote */
425 __u16 mid; /* multiplex id */
[all …]
Dmisc.c236 __u16 GetNextMid(struct TCP_Server_Info *server) in GetNextMid()
238 __u16 mid = 0; in GetNextMid()
239 __u16 last_mid; in GetNextMid()
310 buffer->Pid = cpu_to_le16((__u16)current->tgid); in header_assemble()
311 buffer->PidHigh = cpu_to_le16((__u16)(current->tgid >> 16)); in header_assemble()
385 checkSMBhdr(struct smb_hdr *smb, __u16 mid) in checkSMBhdr()
413 checkSMB(struct smb_hdr *smb, __u16 mid, unsigned int length) in checkSMB()
641 #define UNI_ASTERIK (__u16) ('*' + 0xF000)
642 #define UNI_QUESTION (__u16) ('?' + 0xF000)
643 #define UNI_COLON (__u16) (':' + 0xF000)
[all …]
Dsmbencrypt.c48 #define SSVAL(buf,pos,val) SSVALX((buf),(pos),((__u16)(val)))
84 _my_wcslen(__u16 *str) in _my_wcslen()
100 _my_mbstowcs(__u16 *dst, const unsigned char *src, int len) in _my_mbstowcs()
103 __u16 val; in _my_mbstowcs()
124 __u16 wpwd[129]; in E_md4hash()
139 len = _my_wcslen(wpwd) * sizeof(__u16); in E_md4hash()
Dcifssmb.c826 __u16 type, const struct nls_table *nls_codepage, int remap) in CIFSPOSIXDelFile()
834 __u16 params, param_offset, offset, byte_count; in CIFSPOSIXDelFile()
1032 __u64 mode, __u16 *netfid, FILE_UNIX_BASIC_INFO *pRetData, in CIFSPOSIXCreate()
1041 __u16 params, param_offset, offset, byte_count, count; in CIFSPOSIXCreate()
1149 static __u16 convert_disposition(int disposition) in convert_disposition()
1151 __u16 ofun = 0; in convert_disposition()
1196 const int access_flags, const int create_options, __u16 *netfid, in SMBLegacyOpen()
1205 __u16 count; in SMBLegacyOpen()
1303 const int access_flags, const int create_options, __u16 *netfid, in CIFSSMBOpen()
1312 __u16 count; in CIFSSMBOpen()
[all …]
Drfc1002pdu.h40 __u16 length;
52 __u16 port;
Dxattr.c86 (__u16)0, cifs_sb->local_nls, in cifs_removexattr()
147 (__u16)value_size, cifs_sb->local_nls, in cifs_setxattr()
155 (__u16)value_size, cifs_sb->local_nls, in cifs_setxattr()
266 __u16 fid; in cifs_getxattr()
Dcifsacl.c263 static __u16 fill_ace_for_sid(struct cifs_ace *pntace, in fill_ace_for_sid()
267 __u16 size = 0; in fill_ace_for_sid()
558 const char *path, const __u16 *pfid) in get_cifs_acl()
564 __u16 fid; in get_cifs_acl()
624 __u16 fid; in set_cifs_acl()
671 void acl_to_uid_mode(struct inode *inode, const char *path, const __u16 *pfid) in acl_to_uid_mode()
Dsess.c66 __u16 vcnum = 0; in get_next_vcnum()
69 __u16 max_vcs = ses->server->max_vcs; in get_next_vcnum()
70 __u16 i; in get_next_vcnum()
430 __u16 action; in CIFS_SessSetup()
693 __u16 blob_len; in CIFS_SessSetup()
Dnetmisc.c42 __u16 smb_err;
161 __u16 dos_code;
740 ntstatus_to_dos(__u32 ntstatus, __u8 *eclass, __u16 *ecode) in ntstatus_to_dos()
765 __u16 smberrcode; in map_smb_to_linux_error()
885 __le64 cnvrtDosCifsTm(__u16 date, __u16 time) in cnvrtDosCifsTm()
890 struct timespec cnvrtDosUnixTm(__u16 date, __u16 time) in cnvrtDosUnixTm()
/fs/udf/
Dudf_sb.h58 __u16 s_align_unit_size;
66 __u16 s_packet_len;
72 __u16 s_start_offset;
78 __u16 s_nr_groups;
93 __u16 s_partition_type;
94 __u16 s_partition_num;
100 __u32 (*s_partition_func)(struct super_block *, __u32, __u16, __u32);
101 __u16 s_volumeseqnum;
102 __u16 s_partition_flags;
112 __u16 s_partitions;
[all …]
/fs/ext4/
Dmballoc.h185 __u16 ac_groups_scanned;
186 __u16 ac_found;
187 __u16 ac_tail;
188 __u16 ac_buddy;
189 __u16 ac_flags; /* allocation hints */
217 __u16 found; /* how many extents have been found */
218 __u16 groups; /* how many groups have been scanned */
219 __u16 tail; /* what tail broke some buddy */
220 __u16 buddy; /* buddy the tail ^^^ broke */
221 __u16 flags;
[all …]
Dext4_extents.h89 __u16 ei_unused;
112 __u16 p_depth;
/fs/xfs/
Dxfs_fs.h135 __u16 fsd_padding;
136 __u16 fsd_dmstate; /* corresponds to di_dmstate */
276 __u16 bs_mode; /* type and mode */
277 __u16 bs_nlink; /* number of links */
291 __u16 bs_projid; /* project id */
294 __u16 bs_dmstate; /* DMIG state info */
295 __u16 bs_aextents; /* attribute number of extents */
389 __u16 fid_len; /* length of remainder */
390 __u16 fid_pad;
Dxfs_arch.h44 #define cpu_to_be16(val) ((__force __be16)(__u16)(val))
47 #define be16_to_cpu(val) ((__force __u16)(__be16)(val))
51 #define cpu_to_be16(val) ((__force __be16)__swab16((__u16)(val)))
54 #define be16_to_cpu(val) (__swab16((__force __u16)(__be16)(val)))
87 #define INT_SWAP16(type,var) ((typeof(type))(__swab16((__u16)(var))))
103 ((__u16)((((__u8*)(pointer))[0] << 8) | (((__u8*)(pointer))[1])))
/fs/smbfs/
Dproto.h16 extern __u8 *smb_setup_header(struct smb_request *req, __u8 command, __u16 wct, __u16 bcc);
19 extern int smb_close_fileid(struct dentry *dentry, __u16 fileid);
20 extern int smb_proc_create(struct dentry *dentry, __u16 attr, time_t ctime, __u16 *fileid);
25 extern int smb_proc_flush(struct smb_sb_info *server, __u16 fileid);
Dproc.c469 date_dos2unix(struct smb_sb_info *server, __u16 date, __u16 time) in date_dos2unix()
490 int unix_date, __u16 *date, __u16 *time) in date_unix2dos()
594 static __u16
597 int pos = SMB_HEADER_LEN + SMB_WCT(packet) * sizeof(__u16); in smb_bcc()
664 int overhead = SMB_HEADER_LEN + 12 * sizeof(__u16) + 2 + 1 + 2; in smb_get_rsize()
679 int overhead = SMB_HEADER_LEN + 14 * sizeof(__u16) + 2 + 1 + 2; in smb_get_wsize()
1004 smb_setup_header(struct smb_request *req, __u8 command, __u16 wct, __u16 bcc) in smb_setup_header()
1006 __u32 xmit_len = SMB_HEADER_LEN + wct * sizeof(__u16) + bcc + 2; in smb_setup_header()
1062 smb_proc_seek(struct smb_sb_info *server, __u16 fileid, in smb_proc_seek()
1063 __u16 mode, off_t offset) in smb_proc_seek()
[all …]
/fs/xfs/linux-2.6/
Dxfs_ioctl32.h53 __u16 bs_mode; /* type and mode */
54 __u16 bs_nlink; /* number of links */
68 __u16 bs_projid; /* project id */
71 __u16 bs_dmstate; /* DMIG state info */
72 __u16 bs_aextents; /* attribute number of extents */
/fs/ocfs2/
Docfs1_fs_compat.h99 /*70*/ __u16 label_len;
101 /*82*/ __u16 vol_id_len;
103 /*A4*/ __u16 cluster_name_len;
/fs/isofs/
Dexport.c119 __u16 *fh16 = (__u16*)fh32; in isofs_export_encode_fh()
133 fh16[2] = (__u16)ei->i_iget5_offset; /* fh16 [sic] */ in isofs_export_encode_fh()
142 fh16[3] = (__u16)eparent->i_iget5_offset; /* fh16 [sic] */ in isofs_export_encode_fh()
/fs/ncpfs/
Dncplib_kernel.h57 int ncp_read_bounce(struct ncp_server *, const char *, __u32, __u16,
59 int ncp_read_kernel(struct ncp_server *, const char *, __u32, __u16,
61 int ncp_write_kernel(struct ncp_server *, const char *, __u32, __u16,
102 __u32 offset, __u32 length, __u16 timeout);
Dncpsign_kernel.c26 static inline __u16
37 WSET_LH(__u8 * buf, int pos, __u16 val) in WSET_LH()
/fs/sysv/
Dsysv.h6 typedef __u16 __bitwise __fs16;
226 static inline __u16 fs16_to_cpu(struct sysv_sb_info *sbi, __fs16 n) in fs16_to_cpu()
234 static inline __fs16 cpu_to_fs16(struct sysv_sb_info *sbi, __u16 n) in cpu_to_fs16()
/fs/yaffs2/
Dyaffs_guts.h305 __u16 sum__NoLongerUsed; /* checksum of name. No longer used */
429 __u16 sum; /* sum of the name to speed searching */
616 __u16 chunkGroupBits; /* 0 for devices <= 32MB. else log2(nchunks) - 16 */
617 __u16 chunkGroupSize; /* == 2^^chunkGroupBits */

123