Lines Matching refs:param
1652 char *param = server->temp_buf; in smb_proc_trunc64() local
1664 WSET(param, 0, inode->u.smbfs_i.fileid); in smb_proc_trunc64()
1665 WSET(param, 2, SMB_SET_FILE_END_OF_FILE_INFO); in smb_proc_trunc64()
1666 WSET(param, 4, 0); in smb_proc_trunc64()
1669 8, data, 6, param, in smb_proc_trunc64()
2150 char *mask, *param = server->temp_buf; in smb_proc_readdir_long() local
2183 mask = param + 12; in smb_proc_readdir_long()
2209 WSET(param, 0, aSYSTEM | aHIDDEN | aDIR); in smb_proc_readdir_long()
2210 WSET(param, 2, max_matches); /* max count */ in smb_proc_readdir_long()
2211 WSET(param, 4, SMB_CLOSE_IF_END); in smb_proc_readdir_long()
2212 WSET(param, 6, info_level); in smb_proc_readdir_long()
2213 DSET(param, 8, 0); in smb_proc_readdir_long()
2220 WSET(param, 0, ff_dir_handle); /* search handle */ in smb_proc_readdir_long()
2221 WSET(param, 2, max_matches); /* max count */ in smb_proc_readdir_long()
2222 WSET(param, 4, info_level); in smb_proc_readdir_long()
2223 DSET(param, 6, 0); in smb_proc_readdir_long()
2224 WSET(param, 10, SMB_CONTINUE_BIT|SMB_CLOSE_IF_END); in smb_proc_readdir_long()
2228 0, NULL, 12 + mask_len + 1, param, in smb_proc_readdir_long()
2377 char *param = server->temp_buf, *mask = param + 12; in smb_proc_getattr_ff() local
2392 WSET(param, 0, aSYSTEM | aHIDDEN | aDIR); in smb_proc_getattr_ff()
2393 WSET(param, 2, 1); /* max count */ in smb_proc_getattr_ff()
2394 WSET(param, 4, 1); /* close after this call */ in smb_proc_getattr_ff()
2395 WSET(param, 6, 1); /* info_level */ in smb_proc_getattr_ff()
2396 DSET(param, 8, 0); in smb_proc_getattr_ff()
2399 0, NULL, 12 + mask_len, param, in smb_proc_getattr_ff()
2497 char *p, *param = server->temp_buf; in smb_proc_getattr_trans2_all() local
2505 WSET(param, 0, SMB_QUERY_FILE_ALL_INFO); in smb_proc_getattr_trans2_all()
2506 DSET(param, 2, 0); in smb_proc_getattr_trans2_all()
2507 result = smb_encode_path(server, param+6, SMB_MAXPATHLEN+1, dir, NULL); in smb_proc_getattr_trans2_all()
2510 p = param + 6 + result; in smb_proc_getattr_trans2_all()
2513 0, NULL, p - param, param, in smb_proc_getattr_trans2_all()
2523 ¶m[6], result, server->rcls, server->err); in smb_proc_getattr_trans2_all()
2531 ¶m[6], resp_data_len); in smb_proc_getattr_trans2_all()
2559 char *p, *param = server->temp_buf; in smb_proc_getattr_trans2_std() local
2569 WSET(param, 0, SMB_INFO_STANDARD); in smb_proc_getattr_trans2_std()
2570 DSET(param, 2, 0); in smb_proc_getattr_trans2_std()
2571 result = smb_encode_path(server, param+6, SMB_MAXPATHLEN+1, dir, NULL); in smb_proc_getattr_trans2_std()
2574 p = param + 6 + result; in smb_proc_getattr_trans2_std()
2577 0, NULL, p - param, param, in smb_proc_getattr_trans2_std()
2589 ¶m[6], result, server->rcls, server->err); in smb_proc_getattr_trans2_std()
2598 ¶m[6], resp_data_len); in smb_proc_getattr_trans2_std()
2677 char *p, *param = server->temp_buf; in smb_proc_getattr_unix() local
2685 WSET(param, 0, SMB_QUERY_FILE_UNIX_BASIC); in smb_proc_getattr_unix()
2686 DSET(param, 2, 0); in smb_proc_getattr_unix()
2687 result = smb_encode_path(server, param+6, SMB_MAXPATHLEN+1, dir, NULL); in smb_proc_getattr_unix()
2690 p = param + 6 + result; in smb_proc_getattr_unix()
2693 0, NULL, p - param, param, in smb_proc_getattr_unix()
2703 ¶m[6], result, server->rcls, server->err); in smb_proc_getattr_unix()
2857 char *p, *param = server->temp_buf; in smb_proc_setattr_trans2() local
2866 WSET(param, 0, 1); /* Info level SMB_INFO_STANDARD */ in smb_proc_setattr_trans2()
2867 DSET(param, 2, 0); in smb_proc_setattr_trans2()
2868 result = smb_encode_path(server, param+6, SMB_MAXPATHLEN+1, dir, NULL); in smb_proc_setattr_trans2()
2871 p = param + 6 + result; in smb_proc_setattr_trans2()
2891 26, data, p - param, param, in smb_proc_setattr_trans2()
2929 char *p, *param; in smb_proc_setattr_unix() local
2938 param = server->temp_buf; in smb_proc_setattr_unix()
2943 WSET(param, 0, SMB_SET_FILE_UNIX_BASIC); in smb_proc_setattr_unix()
2944 DSET(param, 2, 0); in smb_proc_setattr_unix()
2945 result = smb_encode_path(server, param + 6, SMB_MAXPATHLEN+1, dentry, NULL); in smb_proc_setattr_unix()
2948 p = param + 6 + result; in smb_proc_setattr_unix()
3010 sizeof(data), data, p - param, param, in smb_proc_setattr_unix()
3119 char *p, *param = server->temp_buf; in smb_proc_read_link() local
3130 WSET(param, 0, SMB_QUERY_FILE_UNIX_LINK); in smb_proc_read_link()
3131 DSET(param, 2, 0); in smb_proc_read_link()
3132 result = smb_encode_path(server, param + 6, SMB_MAXPATHLEN+1, dentry, NULL); in smb_proc_read_link()
3135 p = param + 6 + result; in smb_proc_read_link()
3138 0, NULL, p - param, param, in smb_proc_read_link()
3142 ¶m[6], result, server->rcls, server->err); in smb_proc_read_link()
3150 ¶m[6], result, server->rcls, server->err); in smb_proc_read_link()
3175 char *p, *param = server->temp_buf; in smb_proc_symlink() local
3184 WSET(param, 0, SMB_SET_FILE_UNIX_LINK); in smb_proc_symlink()
3185 DSET(param, 2, 0); in smb_proc_symlink()
3186 result = smb_encode_path(server, param + 6, SMB_MAXPATHLEN+1, dentry, NULL); in smb_proc_symlink()
3189 p = param + 6 + result; in smb_proc_symlink()
3193 (char *)oldpath, p - param, param, in smb_proc_symlink()
3197 ¶m[6], result, server->rcls, server->err); in smb_proc_symlink()
3205 ¶m[6], result, server->rcls, server->err); in smb_proc_symlink()
3224 char *p, *param = server->temp_buf; in smb_proc_link() local
3239 WSET(param, 0, SMB_SET_FILE_UNIX_HLINK); in smb_proc_link()
3240 DSET(param, 2, 0); in smb_proc_link()
3241 result = smb_encode_path(server, param + 6, SMB_MAXPATHLEN+1, new_dentry, NULL); in smb_proc_link()
3244 p = param + 6 + result; in smb_proc_link()
3245 DEBUG1("pathlen = %d oldpath=\"%s\"\n", result, param + 6); in smb_proc_link()
3250 (char *)newpath, p - param, param, in smb_proc_link()
3254 ¶m[6], result, server->rcls, server->err); in smb_proc_link()
3262 ¶m[6], result, server->rcls, server->err); in smb_proc_link()
3280 char *param = server->temp_buf; in smb_proc_query_cifsunix() local
3290 WSET(param, 0, SMB_QUERY_CIFS_UNIX_INFO); in smb_proc_query_cifsunix()
3292 0, NULL, 2, param, in smb_proc_query_cifsunix()