search for: num_read

Displaying 12 results from an estimated 12 matches for "num_read".

2007 May 01
1
contstant bittrate mode - block size - packet size
...p;vi,OV_ECTL_RATEMANAGE_HARD,&rma); ret = ret||vorbis_encode_setup_init(&vi); if(ret)exit(1); /* set up the analysis state and auxiliary encoding storage */ vorbis_analysis_init(&vd,&vi); vorbis_block_init(&vd,&vb); //encode loop total_samples_consumed = 0; num_reads=0; while(!feof(fp_infile)){ // num_mseconds = 0; long i; long bytes=fread(readbuffer,1,READ*4,fp_infile); /* stereo hardwired here */ /* expose the buffer to submit data */ float **buffer=vorbis_analysis_buffer(&vd,READ); /* uninterleave samples */ for(i...
2013 Oct 25
1
[PATCH] Btrfs: stop using vfs_read in send
...; + } +out: + iput(inode); + return ret; +} + /* * Read some bytes from the current inode/file and send a write command to * user space. @@ -3638,35 +3632,20 @@ static int send_write(struct send_ctx *sctx, u64 offset, u32 len) { int ret = 0; struct fs_path *p; - loff_t pos = offset; - int num_read = 0; - mm_segment_t old_fs; + ssize_t num_read = 0; p = fs_path_alloc(); if (!p) return -ENOMEM; - /* - * vfs normally only accepts user space buffers for security reasons. - * we only read from the file and also only provide the read_buf buffer - * to vfs. As this buffer does not com...
2002 Oct 08
9
Please assist with Winbind issues!
...bindd -d5 -i' spits out when I start it from the root prompt: tdb(unknown): tdb_brlock failed (fd=10) at offset 4 rw_type=1 lck_type=13 <--------Not sure if this points to a problem??? The following is what 'winbindd -d5 -i' spits out when the client trys to connect: rpc_read: num_read = 4, read offset: 0, to read: 4 000018 samr_io_r_close_hnd 0018 data1: 00000000 001c data2: 00000000 0020 data3: 0000 0022 data4: 0000 0024 data5: 00 00 00 00 00 00 00 00 002c status: NT_STATUS_OK [23826]: sid to gid S-1-5-21-178404139-331375567-166049157...
2001 Dec 13
0
smpassswd unable to join domain.
..._bcc=51 [000] 03 00 00 00 00 00 00 03 00 00 00 43 00 43 00 48 ........ ...C.C.H [010] 00 48 60 04 00 00 00 01 04 00 00 00 00 00 05 15 .H`..... ........ [020] 00 00 00 5A 2A 9D 32 63 73 BB 67 CF 79 EA 4D 00 ...Z*.2c s.g.y.M. [030] 00 00 00 ... rpc_read: num_read = 50, read offset: 0, to read: 50 rpc_api_pipe: fragment first and last both set 000018 lsa_io_r_query 0018 undoc_buffer: 00169050 001c info_class: 0005 000020 lsa_io_dom_query 0020 uni_dom_max_len: 0006 0022 uni_dom_str_len: 0008 0024 buffer_dom_name: 00174178...
2003 Aug 31
1
Samba joining Samba-based NT-Domain w/ 2.2
Hi, I'm having terrible difficulties getting Samba to cooperate. I have the following scenario: Samba 2.2.3 set up as a PDC on a linux machine (turing, with the domain set to DEFAULTDOMAIN), working fine with a win2k client. Now I wish to join a Samba 2.2 linux machine was a domain member server (moog), and I can't seem to convince samba to do what I want it to. moog$ is set up on the PDC
2002 Oct 23
3
cupsaddsmb rpcclient error
...d : 00 rpc_api_pipe: len left: 4 smbtrans read: 44 rpc_read: data_to_read: 4 rdata offset: 44 extra_data_size: 4 rpc_read: grew buffer by 4 bytes to 48 write_socket(3,59) write_socket(3,59) wrote 59 got smb length of 63 [snip] [000] 00 00 00 00 .... rpc_read: num_read = 4, read offset: 0, to read: 4 rpc_api_pipe: fragment first and last both set 000018 spoolss_io_r_closeprinter 000018 smb_io_pol_hnd printer handle 0018 data1: 00000000 001c data2: 00000000 0020 data3: 0000 0022 data4: 0000 0024 data5: 00 00 00 00 00 00...
1999 Sep 23
1
rpcclient problem
i can use the smbclient -L just fine to get a list of shares off my NT4 (Alpha processor) server. My problem lies with rpcclient. It lets me login but then samtest gives the following error: smb: \> samtest samtest SAM Encryption Test SAMR_R_UNKNOWN_38: Unknown NT error smb: \> all i need to be able to do is change the nt password, but the ntpass command gives the same error. any ideas
2002 Dec 02
1
HELP: tree connect failed
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: winbindd.zip Type: application/x-zip-compressed Size: 52252 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20021202/ee1c44bf/winbindd.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: smbd.zip Type:
2019 Jul 24
20
[PATCH 00/12] block/bio, fs: convert put_page() to put_user_page*()
From: John Hubbard <jhubbard at nvidia.com> Hi, This is mostly Jerome's work, converting the block/bio and related areas to call put_user_page*() instead of put_page(). Because I've changed Jerome's patches, in some cases significantly, I'd like to get his feedback before we actually leave him listed as the author (he might want to disown some or all of these). I added a
2019 Jul 24
20
[PATCH 00/12] block/bio, fs: convert put_page() to put_user_page*()
From: John Hubbard <jhubbard at nvidia.com> Hi, This is mostly Jerome's work, converting the block/bio and related areas to call put_user_page*() instead of put_page(). Because I've changed Jerome's patches, in some cases significantly, I'd like to get his feedback before we actually leave him listed as the author (he might want to disown some or all of these). I added a
2002 Nov 19
0
winbindd+ win24
...bcc=51 [000] 03 00 00 00 00 00 00 04 00 00 00 4E 00 54 00 31 ........ ...N.T.1 [010] 00 34 00 04 00 00 00 01 04 00 00 00 00 00 05 15 .4...... ........ [020] 00 00 00 2F 98 D8 AE B2 0A D2 3D 63 AF 41 29 00 .../.... ..=c.A). [030] 00 00 00 ... rpc_read: num_read = 50, read offset: 0, to read: 50 rpc_api_pipe: fragment first and last both set 000018 lsa_io_r_query 0018 undoc_buffer: 001559a8 001c info_class: 0005 000020 lsa_io_dom_query 0020 uni_dom_max_len: 0008 0022 uni_dom_str_len: 000a 0024 buffer_dom_name: 0014b878...
2003 Jul 31
4
winbind on Solaris 2.5.1 not working.
Ok folks, Here is the deal. I have posted to the news groups several times and gotten not a single thing. I have been trying since march to get 2.2.8a working on sol2.5.1 with winbind to do the authentication but it has failed miserably. Winbindd starts but fails to create the /tmp/.winbindd/pipe file and bombs like a daisycutter. But if I run winbindd like this " truss -aefo /tmp/file